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/
Are you sure that you are in the correct path for loading the .jar file?
maybe you need something like this?
java -jar -Dapple.awt.UIElement="true" USERS/eclipse-project/projectname/target/myproject-1.0-SNAPSHOT.jar -h