Re: Switching Lifecycles on other things than packaging

2013-07-05 Thread Hervé BOUTEMY
I think there are some little inconsistencies in vocabulary, causing wrong analysis there are 3 lifecycles: default, clean and site [1] and packaging selects default plugin bindings for default lifecycle [2] For the moment, I didn't dig sufficiently into everything to have every answers and r

Re: Switching Lifecycles on other things than packaging

2013-07-05 Thread Barrie Treloar
So what I am saying it that its only the packaging the defines which lifecycle will be used. You can't use files/paths. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven

Re: Switching Lifecycles on other things than packaging

2013-07-05 Thread Mirko Friedenhagen
Hello Barrie, I know that :-) Our parent pom defines literally dozens of plugins, configures them *and* adds a few profiles which change the configuration and the plugins called on the existence of files, the environment (running in Jenkins?) and I hoped I could split stuff a bit. Regards Mirko -

Re: Switching Lifecycles on other things than packaging

2013-07-05 Thread Barrie Treloar
On 6 July 2013 15:39, Mirko Friedenhagen wrote: > Hello there, > > is there a way to switch to a different lifecycle depending on e.g. a > path/file etc? Or is the agreed way to just have another packaging? The lifecycle for the pom comes from packaging. The plugins that pom declares then attach

Switching Lifecycles on other things than packaging

2013-07-05 Thread Mirko Friedenhagen
Hello there, is there a way to switch to a different lifecycle depending on e.g. a path/file etc? Or is the agreed way to just have another packaging? Regards Mirko -- Sent from my mobile