configured maven exec plugin. Now you can run to package and run application:
mvn package exec:java