maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From berc46 <jacques.pou...@gmail.com>
Subject Multiple versions of same local jar
Date Tue, 15 Oct 2013 13:24:19 GMT
Hi,

I'm using Maven for a Web project within Eclipse.

The project uses some libraries from the Maven repository, and 3 of my
libraries, which I've added to my local repository with the mvn
deploy:deploy-file command.

Whenever I package my .war file in Eclipse, I end up with an archive that
contains multiple versions of 2 of my personal libraries, even though my
dependencies only mention the latest library for each one.

In other words, I have a .war with the following structure :

Project.war
  - ...
  - WEB-INF
    - lib
      - ...
      - PersonalLib1-1.0.jar
      - PersonalLib1-1.1.jar
      - PersonalLib1-1.2.jar
      - ...
      - PersonalLib2-1.0.jar
      - PersonalLib2-1.1.jar
      - PersonalLib2-1.2.jar
      - PersonalLib2-1.3.jar
      - PersonalLib2-1.4.jar
      - ...

Any ideas ?



--
View this message in context: http://maven.40175.n5.nabble.com/Multiple-versions-of-same-local-jar-tp5773089.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message