[
http://jira.codehaus.org/browse/MNG-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason van Zyl updated MNG-3683:
-------------------------------
Affects Version/s: (was: 3.0-alpha-1)
Fix Version/s: (was: 3.0-alpha-1)
Remaining Estimate: 0 minutes
Original Estimate: 0 minutes
This is due to two separate issues. The first is that the plugin expression
evaluator wasn't processing command line properties first and there is a field
in the help plugin called "plugin" which interferes with the field in the
plugin descriptor configuratino called "plugin". The command line was being
processed first so this wasn't a problem anymore. The plugin plugin should
block field names/setters that are the same as elements in the default plugin
descriptor.
The second problem is that the plugin manager and lifecycle executor have been
changed so much that most of the methods the help plugin needs are no longer
there. The help:describe mojo is a chunk of core logic in a plugin. Something
like this could probably be way smaller and in the embedder which would be
useful to IDE integration pieces.
> [regression] Help plugin does not work
> --------------------------------------
>
> Key: MNG-3683
> URL: http://jira.codehaus.org/browse/MNG-3683
> Project: Maven 2
> Issue Type: Bug
> Components: Plugin Requests
> Reporter: Brett Porter
> Assignee: Shane Isbell
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> 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 '[EMAIL PROTECTED]' to
> org.apache.maven.plugins.help.DescribeMojo.setMojo( java.lang.Class )
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira