Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.6.4
-
Fix Version/s: 1.0
-
Component/s: maven-pax-plugin
-
Labels:None
Description
Pax-Runner allows the user to supply a URL to a file containing additional arguments by using the "--args" option.
We should support this with pax:provision, using the -Dargs property to be consistent with the Pax-Runner option.
For convenience, if the -Dargs value does not have a valid scheme we'll assume it's local and turn it into a file URL.
Example:
mvn pax:provision -Dargs=conf/development.txt ==> pax-run --args=file:conf/development.txt

Fixed under commit r10547