adding pom.xml properties to make it run as java -jar