Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2064

automatic plugin configuration from system properties

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • Plugins and Lifecycle
    • None

    Description

      it'd be nice to have an automatic way to be able to derive a property that would set plugin configuration:

      -Dplugin.<prefix>.<property>.<element>.<element>=<value>

      eg,
      -Dplugin.jar.finalName=foo
      -Dplugin.jar.archive.manifest.addClasspath=true

      Note that there are other considerations with system properties overriding config - it needs to be populated in the POM on release. We should consider this, or else allow a plugin to say which variables shouldn't be configured in this way (though I'd find that tedious and error prone)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brett Brett Porter
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: