I write maven project and I run it in Eclipse but I want to run maven project in using command line so I write
java -jar -Dapple.awt.UIElement=\"true\" target/
Go to project :
cd c:/project
mvn clean install
java -jar -Dapple.awt.UIElement="true" target/myproject-1.0-SNAPSHOT.jar -h
Add this in pom:
org.apache.maven.plugins maven-jar-plugin com.kub.App