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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]