I tried this approach,

/<plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                                <version>2.2</version>
                                <configuration>
                                        
<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes> //this
excludes all jars from being added to the WAR.
                                        <archive>
                                                <manifest>
                                                        
<addClasspath>true</addClasspath>
                                                        
<classpathPrefix>lib/</classpathPrefix>
                                                </manifest>
                                        </archive>
                                        
<failOnMissingWebXml>false</failOnMissingWebXml>
                                        
                                </configuration>
                        </plugin>/

--
View this message in context: 
http://maven.40175.n5.nabble.com/Ear-Plugin-skinnyWars-EJB-problem-tp5611113p5611958.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to