Re: an oveview of all the installed plugins and goals

2007-05-16 Thread Arnaud HERITIER

In maven 2.1 I would like to have a flag (--info) to display at the end of
the build all informations about the environment versions (OS, Java, Maven
core, plugins ...)

Arnaud

On 15/05/07, Wendy Smoak <[EMAIL PROTECTED]> wrote:


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]





--
..
Arnaud HERITIER
..
OCTO Technology - [EMAIL PROTECTED]
www.octo.com | blog.octo.com
..
ASF - [EMAIL PROTECTED]
www.apache.org | maven.apache.org
...


Re: an oveview of all the installed plugins and goals

2007-05-16 Thread Gert-Jan Braas

It looks like I not fully aware of all the ins and outs.

I will remove all references from my repository, and try again.

thanx,

Gert-Jan


=
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]



Re: an oveview of all the installed plugins and goals

2007-05-16 Thread Wendy Smoak

On 5/16/07, Gert-Jan Braas <[EMAIL PROTECTED]> wrote:


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

...

[INFO] The plugin 'org.apache.maven.plugins:maven-axis2-aar-plugin' does
not exist or no valid version could be found


I don't see this in the list of plugins from the Maven project, how
did it get into the org.apache.maven.plugins groupId?

The different names are most likely confusing it -- maven-aar-plugin,
maven-axis2-aar-plugin, and the actual jar filename is
axis2-aar-maven-plugin.

Try providing the full groupId and artifactId as described in the docs:

http://maven.apache.org/plugins/maven-help-plugin/describe-mojo.html

--
Wendy

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



Re: an oveview of all the installed plugins and goals

2007-05-16 Thread Martin Hoeller
Hi!

On Wednesday, 16. May 2007 14:28 Gert-Jan Braas wrote:

> 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
[...]
> The plgin is installed by hand (copied to the plugin directory)
> and I have altered maven-metadata-central.xml with
>
>  
>   Maven axis2-aar Plugin
>   aar
>   maven-axis2-aar-plugin
> 
>
> What am I missing?

You specified the wrong name. The plugin is named "axis2-aar-maven-plugin" 
but you added it in your pom.xml as "maven-axis2-aar-plugin". Fix your 
pom.xml.

hth,
- martin
-- 
Martin Höller   | [EMAIL PROTECTED]
*x Software + Systeme   | http://www.xss.co.at/
Karmarschgasse 51/2/20  | Tel: +43-1-6060114-30
A-1100 Vienna, Austria  | Fax: +43-1-6060114-71


pgpTtgxSkd4th.pgp
Description: PGP signature


Re: an oveview of all the installed plugins and goals

2007-05-16 Thread James Abley

On 16/05/07, Gert-Jan Braas <[EMAIL PROTECTED]> wrote:

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:


Quoting a previous answer:

"It lists also goals and parameters: 'mvn help:describe -Dplugin=site
-Dfull=true', but this is still for a single (known) plugin only."

Presumably, the plugin that you're using isn't included in the known
plugins that comply with this behaviour. Maybe you could request it as
a new feature from the plugin authors?



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



Re: an oveview of all the installed plugins and goals

2007-05-16 Thread Gert-Jan Braas
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

 
  Maven axis2-aar Plugin
  aar
  maven-axis2-aar-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]



RE: an oveview of all the installed plugins and goals

2007-05-15 Thread Jörg Schaible
Wendy Smoak wrote on Tuesday, May 15, 2007 4:04 PM:

> 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. 

It lists also goals and parameters: 'mvn help:describe -Dplugin=site 
-Dfull=true', but this is still for a single (known) plugin only.

> "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/

- Jörg

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



Re: an oveview of all the installed plugins and goals

2007-05-15 Thread Wendy Smoak

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]