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 wrote: > 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 > 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 : > >> 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.
mavenium
I'm trying to use the mavenium plugin with my pom.xml. I followed the instructions as best I could from the mavenium web site. I downloaded a jar file, which I believe is version 0.2 from source forge. I executed the following command: First I changed the name from: mavenium.0.2.jar to mavenium.jar Then from the same directory I executed : mvn install:install-file -DgroupId=com.agilepirates -DartifactId=mavenium -Dversion=0.2 -Dpackaging=maven-plugin -Dfile=./mavenium.jar That put the jar file into my local repository. I checked it's there. The pom.xml file of the project has this stanza in it: com.agilepirates mavenium 0.2 launch-selenium validate-selenium-tests When I go to run maven it can't seem to find the plugin. This is what shows up: url = https://our.local.repo/nexus/content/repositories/central Downloading: https://our.local.repo/nexus/content/repositories/central/com/agilepirates/mavenium/0.2/mavenium-0.2.pom url = https://our.local.repo/nexus/content/repositories/releases Downloading: https://our.local.repo/nexus/content/repositories/releases/com/agilepirates/mavenium/0.2/mavenium-0.2.pom url = https://our.local.repo/nexus/content/repositories/thirdparty Downloading: https://our.local.repo/nexus/content/repositories/thirdparty/com/agilepirates/mavenium/0.2/mavenium-0.2.pom Which is our local repository (name removed for security reasons). It doesn't seem to look in the local m2 repository and there is no mavenium-0.2.pom file there even if it did. I'm a little confused, can someone shed some light on this and let me know what I'm missing? Tony