Maven War Plugin picking multiple version of the same SNAPSHOT jars

some of my web project's dependencies are other modules from the same app, that are not a part of the build, yet (legacy, haven't had time to mavenize them yet). So we use our Nexus installation and deploy these dependencies to it. Everything seems to work fine, but when creating the WAR, duplicate versions of these jars are included in the WAR, with different names, for example:

 

586179 Thu Jun 03 10:40:34 IDT 2010 WEB-INF/lib/semantic-server-3.01-20100601.112610-1.jar
586179 Thu Jun 03 12:13:56 IDT 2010 WEB-INF/lib/semantic-server-3.01-SNAPSHOT.jar

 

obviously, this has something to do with the snapshot mechanism...

has anyone seen this behavior? how can I make sure only one jar is taken?

 

thanks!

 

attachments:

1. project pom (pom.xml)

2. parent pom (pom_0.xml)

Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com