Uploaded image for project: 'Maven Help Plugin'
  1. Maven Help Plugin
  2. MPH-119

The "artifact" parameter is not taken into account with Maven 3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 3.0.0
    • Component/s: evaluate
    • Labels:
      None

      Description

      With Maven 3, the artifact parameter is not taken into account when evaluating expressions. Example:

      $ mvn help:evaluate -Dartifact=log4j:log4j -Dexpression=project.name
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Maven Stub Project (No POM) 1
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] --- maven-help-plugin:2.2:evaluate (default-cli) @ standalone-pom ---
      [INFO]
      Maven Stub Project (No POM)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      

      Expected output would be "Apache Log4j", instead of the stub Maven project.

        Attachments

          Activity

            People

            • Assignee:
              gboue Guillaume Boué
              Reporter:
              gboue Guillaume Boué
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: