Re: Simple maven question
The official stand is that there is no guarantee in which order plugins are run inside a phase. And it shouldn't matter. If one plugin is dependend on the outcome of another plugin it should be in a later phase. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Mon, Apr 20, 2009 at 9:51 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: AFAIK the order is, for each phase: 1. lifecycle added goals, in the order they are defined in the lifecycle 2. project added goals in plugin order from the pom. where it gets confusing is profiles and inherited plugins, and where they go in the sequence -Stephen 2009/4/20 Tony Giaccone tgiacc...@gmail.com: I've been using maven for a while now, but have finally had to go deeper then just the basics of a pom file. As a result I now am curious about the internal workings of maven. I understand that there are phases to a build, and that each phase is composed of goals. I also understand that plug-ins can add new goals to the list of goals to be accomplished/dispatched in a phase. My questions are all about goals. How are goals ordered in a phase? What determines the order in which a set of goals are dispatched? Can that ordering be seen? Can it be changed? When a new goal is added to a phase how is it placed in the list of goals for that phase, first, last, indeterminate? Curious minds want to know. Tony PS I've done a fair amount of reading but haven't really found anything on this topic. If you can point me to something that answers my questions, that would ROCK. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Simple maven question
You know, I had a feeling that's what the real answer was going to be, it's the only one that makes any sense. As stuff gets added in from a variety of sources, you have no idea what has happened in this phase before or after you get a chance to run. h Worth thinking about... Tony On Tue, Apr 21, 2009 at 11:04 AM, Nick Stolwijk nick.stolw...@gmail.comwrote: The official stand is that there is no guarantee in which order plugins are run inside a phase. And it shouldn't matter. If one plugin is dependend on the outcome of another plugin it should be in a later phase. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Mon, Apr 20, 2009 at 9:51 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: AFAIK the order is, for each phase: 1. lifecycle added goals, in the order they are defined in the lifecycle 2. project added goals in plugin order from the pom. where it gets confusing is profiles and inherited plugins, and where they go in the sequence -Stephen 2009/4/20 Tony Giaccone tgiacc...@gmail.com: I've been using maven for a while now, but have finally had to go deeper then just the basics of a pom file. As a result I now am curious about the internal workings of maven. I understand that there are phases to a build, and that each phase is composed of goals. I also understand that plug-ins can add new goals to the list of goals to be accomplished/dispatched in a phase. My questions are all about goals. How are goals ordered in a phase? What determines the order in which a set of goals are dispatched? Can that ordering be seen? Can it be changed? When a new goal is added to a phase how is it placed in the list of goals for that phase, first, last, indeterminate? Curious minds want to know. Tony PS I've done a fair amount of reading but haven't really found anything on this topic. If you can point me to something that answers my questions, that would ROCK. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Simple maven question
I've been using maven for a while now, but have finally had to go deeper then just the basics of a pom file. As a result I now am curious about the internal workings of maven. I understand that there are phases to a build, and that each phase is composed of goals. I also understand that plug-ins can add new goals to the list of goals to be accomplished/dispatched in a phase. My questions are all about goals. How are goals ordered in a phase? What determines the order in which a set of goals are dispatched? Can that ordering be seen? Can it be changed? When a new goal is added to a phase how is it placed in the list of goals for that phase, first, last, indeterminate? Curious minds want to know. Tony PS I've done a fair amount of reading but haven't really found anything on this topic. If you can point me to something that answers my questions, that would ROCK.
Re: Simple maven question
AFAIK the order is, for each phase: 1. lifecycle added goals, in the order they are defined in the lifecycle 2. project added goals in plugin order from the pom. where it gets confusing is profiles and inherited plugins, and where they go in the sequence -Stephen 2009/4/20 Tony Giaccone tgiacc...@gmail.com: I've been using maven for a while now, but have finally had to go deeper then just the basics of a pom file. As a result I now am curious about the internal workings of maven. I understand that there are phases to a build, and that each phase is composed of goals. I also understand that plug-ins can add new goals to the list of goals to be accomplished/dispatched in a phase. My questions are all about goals. How are goals ordered in a phase? What determines the order in which a set of goals are dispatched? Can that ordering be seen? Can it be changed? When a new goal is added to a phase how is it placed in the list of goals for that phase, first, last, indeterminate? Curious minds want to know. Tony PS I've done a fair amount of reading but haven't really found anything on this topic. If you can point me to something that answers my questions, that would ROCK. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org