So, what does goals does the 'mvn site' run compared to 'mvn site:site'?

On Monday 26 February 2007 20:47, Wendy Smoak wrote:
> On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > Hi everybody,
> >
> > I am building a plug-in that generates some APT-files. The thing is, I
> > want it to run when the 'site:site' target is called, but I have no idea
> > on how to achieve this.
> > Can anybody give me some hints as to where to add this plug-in? Or should
> > I re-write it as a reporting-plugin? If so, I'm not sure on how to do
> > this and if I should stick with the APT-output...
> >
> > Any help/thoughts?
>
> Try binding your plugin to the pre-site phase.  Then run 'mvn site'
> [1] and you should see your plugin run, along with the site plugin
> doing its work.
>
> [1] not 'mvn site:site' which only runs a single plugin goal. Very
> confusing since the plugin, goal, and lifecycle phase all have the
> same name!

-- 
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: [EMAIL PROTECTED]
Web: www.cfc.at

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

Reply via email to