[jboss-dev-forums] [Design of JBoss Build System] - Re: Problems with 2.1-jboss-1 version of maven-jar-plugin

pgier do-not-reply at jboss.com
Thu Nov 29 10:33:52 EST 2007


It seems to be a bug in the maven plugin resolution.  It looks like it's getting the pom for maven-jar-plugin from the central repo, and then getting the jar from our repo, and then getting confused about which one it has.

If you explicitly set the version in your pom it seems to resolve the issue.  Just add
<version>2.1</version>
to the plugin declaration in the pom, and the problem goes away.  It also works fine if you set the version to 2.1-jboss-1, so I don't think it's a problem with the patched plugin by itself.  Just a problem when you don't set the version and maven doesn't seem to be able to figure out which one to use.

I created this issue to remind myself to try to fix this when I have time.
http://jira.jboss.com/jira/browse/JBBUILD-430



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108936#4108936

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108936



More information about the jboss-dev-forums mailing list