you could have two profiles if the goals are orthogonal ie if you do mvn -Prun-v6-its verify mvn -Prun-v7-its verify
but if you want both goals part of the default lifecycle you may be out of luck abduction have to resort to other tricks - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 19 Dec 2011 12:14, "Mark Derricutt" <m...@talios.com> wrote: > Hey all, > > Is there anyway that a Maven Mojo can have different run-time dependencies > based on the goal that runs? > > Just trying to work around some class loader issues with two libraries > embedded different versions of rhino :( > > I'd rather not make a separate plugin if possible... Is there anything I > can do with Classworlds? > > > -- > "Great artists are extremely selfish and arrogant things" — Steven Wilson, > Porcupine Tree >