|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
It's nice to have feature. Voting for it!
In my scenario I would like to pass commandlineArgs from command line:
but this value is not taken by plugin. The workaround is to set it explicitly in POM:
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <phase>install</phase> <goals> <goal>java</goal> </goals> </execution> </executions> <configuration> <mainClass>...</mainClass> <commandlineArgs>${commandlineArgs}</commandlineArgs> </configuration> </plugin>-DmainClass is also a good candidate to be configurable from CLI.