Hi All,

recently we started working with maven (2.0.4) for our projects.
For a couple of weeks everything went fine, but after a while when we ran 
the 'compile package' goals the WARs we were generating started to clutter 
up.

I have a couple of jars which are built by a continuum server and are 
stored (in SNAPSHOT form) in its snapshot repository.

Upon generating a WAR package of my web application I would expect my WAR 
file to have one version of the SNAPSHOT of each of my libraries.
For some reason the generated WAR file contains several different SNAPSHOT 
versions of the same library. I have no idea why this is happening.

Just to illustrate my problem a little more:

I would expect my WAR to contain the following (amongst other files):
...
commons-logging-1.1.jar
myOwnLibrary-1.0-20070221.100010-50.jar <-- This is my SNAPSHOT release
jstl-1.1.2.jar
...


The resulting WAR looks something like:
...
commons-logging-1.1.jar
myOwnLibrary-1.0-20070218.093842-540.jar
myOwnLibrary-1.0-20070218.110200-50.jar
myOwnLibrary-1.0-20070219.102111-230.jar
myOwnLibrary-1.0-20070219.120911-520.jar
myOwnLibrary-1.0-20070221.100010-50.jar         <-- I would expect only 
this one to be present in the WAR.
jstl-1.1.2.jar
...

Why is there more then one version of my library in the WAR file ? any 
ideas?


Thanks,
Met vriendelijke groet / With kind regards,

Thijs Volders


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to