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

[regression] Help plugin does not work

    XMLWordPrintableJSON

Details

    Description

      The following command:

      mvn help:describe -Dplugin=site

      Gives the error:

      [ERROR]

      Maven encountered an error while configuring one of the mojos for your build.

      Mojo:
      Group-Id: org.apache.maven.plugins
      Artifact-Id: maven-help-plugin
      Version: 2.0.2
      Mojo: describe
      brought in via: Direct invocation

      While building project:
      Group-Id: org.apache.continuum
      Artifact-Id: continuum-docs
      Version: 1.2-SNAPSHOT
      From file: /Users/brett/scm/continuum/continuum/continuum-docs/pom.xml

      Here is the configuration it attempted to apply to the mojo:<configuration>
      <artifactId>${artifactId}</artifactId>

      <full>${full}</full>

      <groupId>${groupId}</groupId>

      <localRepository>${localRepository}</localRepository>

      <medium>${medium}</medium>

      <mojo>${mojo}</mojo>

      <output>${output}</output>

      <plugin>${plugin}</plugin>

      <project>${project}</project>

      <session>${session}</session>

      <settings>${settings}</settings>

      <version>${version}</version>
      </configuration>

      Error message:org.codehaus.plexus.component.configurator.ComponentConfigurationException: Invalid parameter supplied while setting 'org.apache.maven.plugin.MojoExecution@a2f216' to org.apache.maven.plugins.help.DescribeMojo.setMojo( java.lang.Class )

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              brett Brett Porter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: