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

specify execution-id for direct plugin goal invocation from command line

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.1
    • Component/s: None
    • Labels:
      None

      Description

      When invoking plugin goal from command line, it is possible to configure the goal using special 'default-cli' pom.xml execution id. This has two obvious limitations. First, it is not possible to have more than one configuration for command line use. Second, it is not possible to share configuration between direct plugin invocation and execution bound to lifecycle phase.

      To address this, I propose to extend direct plugin invocation syntax to allow optional @execution-id parameter, e.g., org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process@executionId.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                igorfie igorfie
                Reporter:
                igorf Igor Fedorenko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: