maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Bzdyl <pi...@bzdyl.net>
Subject Re: [m2] war plugin and warSourceExcludes not working for dependencies
Date Wed, 01 Feb 2006 12:01:03 GMT

>
> I tried to follow instructions from:
> http://www.nabble.com/Maven-2-EAR%2C-WAR%2C-EJB-Common-Dependencies-t1013415.html 
>
> and
> http://www.nabble.com/RE%3A-Best-Practice---Maven-with-WSAD-or-RAD6-p2509735.html 
>
> and
> http://www.nabble.com/RE%3A-m2-war-dependencies-in-ear-p2222054.html
>
> using following code in my war project's pom.xml:
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-war-plugin</artifactId>
>  <configuration>
>    <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
>     <archive>
>       <manifest>
>         <addClasspath>true</addClasspath>
>         <classpathPrefix>lib/</classpathPrefix>
>       </manifest>
>     </archive>
>   </configuration>
> </plugin>
>
> but it seems that it is not working for me. What I want to get is war 
> without its dependencies in the WEB-INF/lib, because I want to have 
> them in the EAR. What am I doing wrong?
>
Is it a bug in the maven-war-plugin?

Best regards,
Piotrek

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


Mime
View raw message