Re: Controlling order of plugin execution

2014-06-04 Thread jhgnwea
to bind multiple plugin executions, of DIFFERENT plugins, to a single phase and deterministically specify the execution order. -- View this message in context: http://maven.40175.n5.nabble.com/Controlling-order-of-plugin-execution-tp5794777p5794892.html Sent from the Maven - Users mailing list

Re: Controlling order of plugin execution

2014-06-04 Thread Stephen Connolly
phase and deterministically specify the execution order. -- View this message in context: http://maven.40175.n5.nabble.com/Controlling-order-of-plugin-execution-tp5794777p5794892.html Sent from the Maven - Users mailing list archive at Nabble.com

RE: Controlling order of plugin execution

2014-06-04 Thread Jim Garrison
-Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Wednesday, June 04, 2014 9:08 AM To: Maven Users List Subject: Re: Controlling order of plugin execution That's usually a sign that you have wandered off The Maven Way™ There are ways back

Re: Controlling order of plugin execution

2014-06-04 Thread Dan Tran
[mailto:stephen.alan.conno...@gmail.com] Sent: Wednesday, June 04, 2014 9:08 AM To: Maven Users List Subject: Re: Controlling order of plugin execution That's usually a sign that you have wandered off The Maven Way™ There are ways back onto the blessed path... they typically involve writing

Re: Controlling order of plugin execution

2014-06-04 Thread Jason van Zyl
On Jun 4, 2014, at 12:07 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: That's usually a sign that you have wandered off The Maven Way™ No it's not. They have valid points and the implementation is deficient in this regard. Everything that's presently here is not immutable.

Re: Controlling order of plugin execution

2014-06-04 Thread Stephen Connolly
On Wednesday, 4 June 2014, Jim Garrison jim.garri...@nwea.org wrote: -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com javascript:;] Sent: Wednesday, June 04, 2014 9:08 AM To: Maven Users List Subject: Re: Controlling order of plugin execution

Re: Controlling order of plugin execution

2014-06-04 Thread Laird Nelson
On Wed, Jun 4, 2014 at 12:08 PM, Jim Garrison jim.garri...@nwea.org wrote: Consider the phrase ...you have wandered off The Maven Way™. I can't tell if you intended this ironically or seriously. If it's the latter, it seems like you're saying is Maven is perfect. If Maven doesn't handle your

Re: Controlling order of plugin execution

2014-06-04 Thread Stephen Connolly
On Wednesday, 4 June 2014, Jason van Zyl ja...@takari.io wrote: On Jun 4, 2014, at 12:07 PM, Stephen Connolly stephen.alan.conno...@gmail.com javascript:; wrote: That's usually a sign that you have wandered off The Maven Way™ No it's not. They have valid points and the implementation is

Re: Controlling order of plugin execution

2014-06-04 Thread Ron Wheeler
We are not a cult. If we already have a we, we are half way there! Just short a charismatic leader and a Book of the Way. Ron On 04/06/2014 3:22 PM, Jason van Zyl wrote: On Jun 4, 2014, at 12:07 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: That's usually a sign that you have

Re: Controlling order of plugin execution

2014-06-04 Thread Paul Benedict
I, myself, have also found the lack of ordered plugin execution to be wanting. Stephen does have a point: complex behavior is likely be better encapsulated in a new plugin. I don't disagree, but that route can be steep and I don't want to be detoured into always writing a new plugin. Many times

Re: Controlling order of plugin execution

2014-06-04 Thread Stephen Connolly
On Wednesday, 4 June 2014, Paul Benedict pbened...@apache.org wrote: I, myself, have also found the lack of ordered plugin execution to be wanting. Stephen does have a point: complex behavior is likely be better encapsulated in a new plugin. I don't disagree, but that route can be steep and I

Re: Controlling order of plugin execution

2014-06-04 Thread Paul Benedict
I don't think this existed when I first tried with Maven (my example was from many moons ago), but this is another tool in my toolbox now. Thank you! :-) Cheers, Paul On Wed, Jun 4, 2014 at 3:19 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: On Wednesday, 4 June 2014, Paul

Re: Controlling order of plugin execution

2014-06-04 Thread Stephen Connolly
Yes they forged a new path through the wilderness... And now we have another Maven Way! (Bonus points for making it independent of maven so that you are not tied to us - if you love someone set them free... If they don't come back it was not to be... Same goes for how maven should feel towards

Controlling order of plugin execution

2014-06-03 Thread Jim Garrison
I'm trying to set up a Maven build for CI/CD, and one of the requirements for testing is to create, populate and tweak a database schema. This involves interleaving various executions of maven-dependency-plugin, sql-maven-plugin and exec-maven-plugin, and there aren't enough lifecycle phases

Re: Controlling order of plugin execution

2014-06-03 Thread Paul Benedict
Jim, I reopened the issue for you, but, please note, this was closed because the issue was created 6 years ago and no one ever submitted a patch. Hopefully, someone has the incentive to work on this or it will be closed again. If you find this feature critical to your own work, do you have time to

Re: Controlling order of plugin execution

2014-06-03 Thread Dan Tran
Agree sequencing is a pain. You may be able to get this working if you move your sql plugin delaration below exec-m-p -D On Tue, Jun 3, 2014 at 12:54 PM, Paul Benedict pbened...@apache.org wrote: Jim, I reopened the issue for you, but, please note, this was closed because the issue was

Re: Controlling order of plugin execution

2014-06-03 Thread Paul Benedict
I agree with Dan. Last I check, IIRC, the order of operations of plugins is defined by their sequential order in the POM. However, I also find this a bit problematic with inheritance -- I don't know off the top of my head what happens then. Cheers, Paul On Tue, Jun 3, 2014 at 3:01 PM, Dan Tran