I want to use the exec:java plugin to invoke the main class from command line. I can pass arguments from the command line using -Dexec.args=\"arg0 arg1 arg2\",
-Dexec.args=\"arg0 arg1 arg2\"
Try following for me it works properly
org.codehaus.mojo exec-maven-plugin ibis.structure.Structure someKey someValue