Been there myself the last few weeks, trying to go from ant/manual builds to
maven.
The information is on the maven.apache.org site, select 'Documentation' or
'Getting Started' (though a bit scattered around in separate guides).
I think one of the things you're looking for is to include an executions
section within the plugin declaration to call a goal.
Something like this:
<build>
<plugins>
<plugin>
<artifactId>...</artifactId>
<groupId>...</groupId>
...
<executions>
<execution>
<id>my-execution</id>
...
<phase>compile</phase>
<goals>
<goal>some-goal</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
This sets up the plugin to be run during the 'compile' phase, calling the
'some-goal' goal.
Finding out what goals are available: look under 'Available Plug-ins'. There
is a list of maven plugins. Most have their own 'website' where goals etc.
are documenten (some better than others).
Hope this helps,
Jos
> -----Original Message-----
> From: Markus Baumgartner [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 12 mei 2006 3:07
> To: Maven Users List
> Subject: How to run and adapt a plugin
>
> Hi,
>
> I'm starting with maven 2 and was crawling through documentation and
> newsgroup in order to manage plugins. the info I found was mainly about
> maven 1. I managed to define a plugin in the dependencies and it was
> sucessfully downloaded.
>
> Now I cannot figure out, how to run the plugin. I also don't see, how I
> can find out about all the functions available in a plugin and how to
> call them.
>
> Thanks for help
>
> Markus
>
>
> ---------------------------------------------------------------------
> 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]