Pax Construct

Support use of Pax-Runner argument files (-Dargs=<url-or-filename>)

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor 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

Activity

Hide
mcculls added a comment -

Fixed under commit r10547

Show
mcculls added a comment - Fixed under commit r10547
Hide
mcculls added a comment -

Fix now available in 1.0 release

Show
mcculls added a comment - Fix now available in 1.0 release

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: