Open javaguru-ch opened 2 years ago
-q
:
[INFO] --- exec-maven-plugin:3.1.1-SNAPSHOT:exec (execution-no-quotes) @ runner ---
Arguments: [-p, -r]
[INFO]
[INFO] --- exec-maven-plugin:3.1.1-SNAPSHOT:exec (execution-with-quotes) @ runner ---
Arguments: ["-p", -q, -r]
When trying to use the exec goal in order to run a java application the argument
-p
is not passed to the java application as an argument. I attached a minimal maven project to reproduce the issue: ExecMavenIssueTest.zipJava application for testing:
exec-maven-plugin configuration:
Output for 3.1.0:
Output for 3.0.0: