Better way of configuring command line arguments in the pom
-----------------------------------------------------------
Key: PAXCONSTRUCT-116
URL: http://issues.ops4j.org/browse/PAXCONSTRUCT-116
Project: Pax Construct
Issue Type: Improvement
Components: maven-pax-plugin
Affects Versions: 1.4
Reporter: Richard Wallace
Assignee:
To pass custom arguments to pax runner you need to do something like
{code}
<plugin>
<groupId>org.ops4j</groupId>
<artifactId>maven-pax-plugin</artifactId>
<version>1.4</version>
<configuration>
<provision>
<param>--workingDirectory=${project.build.directory}/runner</param>
<param>--clean=true</param>
<provision>mybundle</provision>
</provision>
</configuration>
</plugin>
{code}
I only found this out by random chance looking at other project poms. It would
be much clearer if the configuration could be more along the lines of
{code}
<plugin>
<groupId>org.ops4j</groupId>
<artifactId>maven-pax-plugin</artifactId>
<version>1.4</version>
<configuration>
<args>
<workingDirectory>${project.build.directory}/runner</workingDirectory>
<clean>true</clean>
</args>
<bundles>
<bundle>mybundle</bundle>
</bundles>
</configuration>
</plugin>
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general