maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: Duplicate jars/dependencies when building war module
Date Mon, 01 Oct 2007 09:04:51 GMT
Kjartan Aanestad wrote on Friday, September 28, 2007 11:50 AM:

> Hi,
> 
> We have a strange issue when building the war module. We have a
> couple of common modules that are built by continuum and used as
> dependencies in our project. Somehow these dependecies sometimes end
> up twice in the war file (WEB-INF\lib), ie:
> 
> [DEBUG] adding entry WEB-INF/lib/customer-proxy-
> beans-1.0-20070917.111111-39.jar
> [DEBUG] adding entry WEB-INF/lib/customer-proxy-beans-1.0-SNAPSHOT.jar
> 
> and
> 
> [DEBUG] adding entry
> WEB-INF/lib/ws-remoting-1.1-20070917.111111-30.jar
> [DEBUG] adding entry
> WEB-INF/lib/ws-remoting-1.1-20070917.111111-32.jar
> 
> They are defined like this:
> 
> <dependency>
>    <groupId>nn.common.proxy.beans</groupId>
>    <artifactId>customer-proxy-beans</artifactId>
>    <version>1.0-SNAPSHOT</version>
> </dependency>
> 
> <dependency>
>    <groupId>nn.common.remoting</groupId>
>    <artifactId>ws-remoting</artifactId>
>    <version>1.1-SNAPSHOT</version>
> </dependency>
> 
> Anyone have any suggestions what might be the problem?

I you use war overlays, anything from the overlayed war is blindly copied over.

- 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