Hi Brett,

I've read it. It's very good and crystal clear. However I have a few
questions:

1/ "[...]Note that adding the plugin on its own is not enough information -
you must also specify the goals you want run as part of your build.[...]"

Is that so? In my sample test that uses my clover plugin, I haven't defined
a goal and it is still called when executing "m2 install" for example.

2/ "[...]The goals that are configured will be added to the goals already
bound to the lifecycle from the packaging selected.[...]"

Could you please explain what will be the order when several goals are bound
to the same phase? Will the ones in the POM be executed *after* the one in
the lifecycle being used and in the order they are defined in the POM?

3/ "[...]Additionally, even goals participating in the build lifecycle might
need to perform a task with different parameters to what was already
used,[...]"

As the executePhase is specified as an annotation how could you set those
different parameters *before* executePhase is called? Would you need in that
case to have a custom lifecycle.xml file and specify them there?

4/ "[...]But, it would also need to add some configuration and bind the
clover:compiler goal to the generate-sources phase.[...]"

Hmm... There's no clover:compiler goal because Clover is not providing any
compiler. I wanted to reuse the compiler:compile goal rather than to write a
clover:compiler goal.

Also, would you have thoughts on my previous mail on clover design? I'm keen
to hear what you think on the parallel build execution vs having Clover as a
profile...

Thanks a lot. That's a great document that helped me fit everything
together.

-Vincent


> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: jeudi 16 juin 2005 08:56
> To: Maven Developers List
> Subject: final lifecycle doc - users perspective. Please review.
> 
> I intend to implement this tomorrow at some point, so a prompt review
> would be appreciated :)
> 
> It will arrive here shortly: http://maven.apache.org/maven2/lifecycle.html
> 
> and is in SVN now.
> 
> This is written as instructions for users and plugin writers, so
> hopefully is more obvious about the implications about each thing.
> 
> Cheers,
> Brett
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


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

Reply via email to