OK.
So that is a way of obtaining plugin info.

Now I'm using the axis2-aar maven plugin.
As far as I can tell, it is installed.
==========================================
[EMAIL PROTECTED]:~/.m2/repository$ find . | grep aar
./org/apache/maven/plugins/maven-aar-plugin
./org/apache/maven/plugins/maven-aar-plugin/maven-metadata-central.xml
./org/apache/maven/plugins/maven-axis2-aar-plugin
./org/apache/maven/plugins/maven-axis2-aar-plugin/1.1.1
./org/apache/maven/plugins/maven-axis2-aar-plugin/1.1.1/axis2-aar-maven-plugin-1.1.1.jar
./org/apache/maven/plugins/maven-axis2-aar-plugin/maven-metadata-central.xml

==========================================

But a list of goals can not be obtained:
==========================================
[EMAIL PROTECTED]:~$ mvn help:describe -Dplugin=aar -Dfull=true
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [help:describe] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [help:describe]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-axis2-aar-plugin' does
not exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed May 16 14:23:10 CEST 2007
[INFO] Final Memory: 3M/5M
[INFO]
------------------------------------------------------------------------
[EMAIL PROTECTED]:~$ mvn help:describe -Dplugin=axis2-aar -Dfull=true
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [help:describe] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [help:describe]
[INFO] Searching repository for plugin with prefix: 'axis2-aar'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Plugin could not be found. If you believe it is correct, check your
pluginGroups setting, and run with -U to update the remote configuration
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed May 16 14:23:22 CEST 2007
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------
==========================================
The plgin is installed by hand (copied to the plugin directory)
and I have altered maven-metadata-central.xml with

     <plugin>
      <name>Maven axis2-aar Plugin</name>
      <prefix>aar</prefix>
      <artifactId>maven-axis2-aar-plugin</artifactId>
    </plugin>

What am I missing?

Regards,



> On 5/15/07, Gert-Jan Braas <[EMAIL PROTECTED]> wrote:
>
>> is there a maven command which lists all the installed plugins and/or
gorals?
>
> The closest thing I know of is the help plugin.  For example, 'mvn
help:describe -Dplugin=site' will give information about the site
plugin.  Right now it doesn't list the goals, but that would be a good
enhancement request.
>
> "Installed" is somewhat irrelevant since if you invoke a plugin that's
not in your local repository, Maven will retrieve it.
>
> The best documentation for the plugins is online, starting here:
>
>    http://maven.apache.org/plugins/
>
> --
> Wendy
>
> --------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


=========================================
Het kan zijn dat ik "Office" documenten verstuur.
Als dit in Open-Document-Formaat is, haal dan
hier: http://nl.openoffice.org/ een kopie op
van OpenOffice
-----------------------------------------
Steckelfisch
Hoornsedijk 1010
9728NG Groningen
0031(0)651521379





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

Reply via email to