Hi, I tried to run "m2 -e projecthelp:describe -Dplugin=org.apache.maven.plugins:maven-eclipse-plugin", and it worked fine with me.

what version of maven are you using? Mine is rc1.

[INFO] Plugin: 'null'
-----------------------------------------------
Group Id: org.apache.maven.plugins
Artifact Id: maven-eclipse-plugin
Version: 2.0-beta-2
Goal Prefix: eclipse
Description:

Maven plugin parent

Mojos:

Goal: 'add-maven-repo'
========================================
Description:

A Maven2 plugin to ensure that the classpath variable MAVEN_REPO exists in the Eclipse envir

Implementation: org.apache.maven.plugin.eclipse.AddMavenRepoMojo
Language: java


Goal: 'clean'
========================================
Description:

A Maven2 plugin to delete the .project, .classpath and .wtpmodules files needed for Eclipse.

Implementation: org.apache.maven.plugin.eclipse.EclipseCleanMojo
Language: java


Goal: 'eclipse'
========================================
Description:

A Maven2 plugin which integrates the use of Maven2 with Eclipse.

Implementation: org.apache.maven.plugin.eclipse.EclipsePlugin
Language: java

Before this mojo executes, it will call:

Phase: 'generate-sources'


[INFO] ----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 1 minute 24 seconds
[INFO] Finished at: Wed Oct 19 14:08:19 CST 2005
[INFO] Final Memory: 1M/4M
[INFO] ----------------------------------------------------------------------------

Brian Bonner wrote:

Well, I looked at the source, I think this does the trick:

m2 -e projecthelp:describe -Dplugin=org.apache.maven.plugins:maven-eclipse-plugin

returns:

Group Id:  org.apache.maven.plugins
Artifact Id: maven-eclipse-plugin
Version:     2.0-beta-2
Goal Prefix: eclipse

Mojos:
-----------------------------------------------

TODO!
-----------------------------------------------

TODO!
-----------------------------------------------

TODO!
-----------------------------------------------

I'm still not sure why the prior syntax doesn't work.

Brian



Brian Bonner wrote:

I was expecting to see the goals for this eclipse plugin using:

m2 projecthelp:describe -DgroupId=org.apache.maven.plugins -DartifactId=maven-eclipse-plugin

It returns:

[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] You must either specify 'groupId' and 'artifactId', or a valid 'plugin' p
arameter.
[INFO] -------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO] -------------------------------------------------------------------------

Can anyone help explain to me what I'm doing wrong?

Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to