This is where people new to Maven go wrong... With Ant, you need to
generate such a list of available/useful targets. With Maven, assuming
your project is set up by someone who knows what they're doing, the
plugins should be attached to the proper phases and you will simply
run "mvn package" or "mvn test" or "mvn deploy" and automatically the
proper plugins will be executed at the proper time etc.

Wayne

On 12/4/06, CodingPlayer <[EMAIL PROTECTED]> wrote:

hi,

What i mean is, that i would love to write something like,

e.g. mvn list-goals

and get an output like:

phase: XXX
goals: AAA, BBB, CCC

phase: YYY
goals: DDD, EEE

e.g.:
phase: compile
goals: compile, test-compile, ...

...

phase: package
goals:  package, jar:jar, jar:test-jar, source:jar, source:test-jar, ....


the plugin should not only point out the corresponding lifecycle-phase, it
should also list ALL goals for each plugin...

Since most of the plugins provide more than one goal, a COMPLETE list would
be nice.



The fact is, that when the developers team of a company switches lets say,
from ant to maven2, every single developer has to know quite a lot about
maven, to simple find out how to build and run the project.

Therefore such a simple command to list all available goals (of all plugins,
correlated to the corresponding life-cycle-phase) would help quite a lot.

thx 4 help
R.C.


ir. ing. Jan Dockx wrote:
>
> Define "ALL Maven2 plugins". Since Maven is an open system of
> plugins, the best answer is probably "Google" ;-). If you mean all
> build lifecycle phases, they are static, and can be found at <http://
> cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html>
> and at other places.
>
>
> On 4 Dec 2006, at 15:15, CodingPlayer wrote:
>
>>
>> Hi,
>>
>> i'm searching for a plugin that lists all available goals of ALL
>> Maven2
>> plugins?
>> If this feature is not implemented yet, will it be taken into
>> consideration?
>>
>> i know about the 'maven-projecthelp-plugin' and the 'maven-help-
>> plugin', but
>> they don't show available goals...
>>
>> thx 4 help
>> R.C.
>> --
>> View this message in context: http://www.nabble.com/-M2--list-of-
>> available-goals-%28for-all-plugins%29--tf2753173s177.html#a7678351
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>
>

--
View this message in context: 
http://www.nabble.com/-M2--list-of-available-goals-%28for-all-plugins%29--tf2753173s177.html#a7679539
Sent from the Maven - Users mailing list archive at Nabble.com.


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