On Sat, Mar 1, 2008 at 7:50 PM, <[EMAIL PROTECTED]> wrote: > The following POM works as expected when run by itself (it uses > org.apache.maven.plugins:maven-jar-plugin:2.1:jar) but when run as part of > a multi-module build it uses > org.apache.maven.plugins:maven-jar-plugin:2.2:jar. Does anyone have any > suggestions as to why this happens and how I can resolve it?
Try putting the maven-jar-plugin declaration in the parent pom, probably in <pluginManagement>. I could be wrong, but I don't think you can use different versions of the same plugin in the same build. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
