maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: Multiple versions of same local jar
Date Tue, 15 Oct 2013 22:49:12 GMT
berc46 wrote:

> 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 ?

You use overlays? Those content will simply be merged.

- Jörg


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


Mime
View raw message