On Jul 20, 2010, at 8:01 AM, "Lewis, Eric" <[email protected]> wrote:

> Ok, thanks for the clarification!
> 
> So, is this the right sequence in your opinion?
> 
> clean package findbugs:findbugs pmd:pmd pmd:cpd checkstyle:checkstyle 
> site-deploy
> 
Assuming that findbugs, pmd and checkstyle are configured as part of your 
reporting configuration, it shouldn't be necessary to include them explicitly 
on the command line.

> Or where can I find out more about that topic?
> http://www.sonatype.com/books/mvnref-book/reference/lifecycle.html doesn't 
> tell me about how to call individual plugin goals within a lifecycle, unless 
> I missed something.
I find it hard to believe the Maven reference doesn't talk about binding a 
plugin to a phase. In any case, it is discussed here: 
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html 
in the Plugins section

Justin

> 
> Best regards,
> Eric
> 
> -----Ursprüngliche Nachricht-----
> Von: Justin Edelson [mailto:[email protected]] 
> Gesendet: Dienstag, 20. Juli 2010 13:54
> An: Maven Users List
> Betreff: Re: Does the sequence of goals/phases matter?
> 
> 
> 
> On Jul 20, 2010, at 7:49 AM, "Lewis, Eric" <[email protected]> wrote:
> 
>> Hi
>> 
>> This is probably a trivial question, but I'll ask it nonetheless  :-)
>> 
>> Does the sequence of the goals and lifecycle phases matter when I call Maven?
> Yes
>> 
>> In other words, are these two exactly the same?
> No
>> 
>> clean package site-deploy
>> 
>> site-deploy clean package
>> 
>> 
>> Best regards,
>> Eric
>> ---------------------------------------------------------------------
>> 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]
> 
> 
> ---------------------------------------------------------------------
> 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