You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jörg Schaible <Jo...@Elsag-Solutions.com> on 2007/10/01 11:04:51 UTC
RE: Duplicate jars/dependencies when building war module
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