[ http://jira.codehaus.org/browse/MWAR-61?page=comments#action_72743 ] Michael Case commented on MWAR-61: ----------------------------------
I followed these directions exactly and I still ended up with the dependencies in my WEB-INF/lib. The following is the relevant portion of my POM file. <dependencies> <dependency> <groupId>org.codehaus.xfire</groupId> <artifactId>xfire-all</artifactId> <version>1.1.1</version> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring</artifactId> <version>1.2.8</version> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.0.1</version> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> </plugin> </plugins> </build> > Document how to set manifest classpath and exclude dependency from WEB-INF/lib > ------------------------------------------------------------------------------ > > Key: MWAR-61 > URL: http://jira.codehaus.org/browse/MWAR-61 > Project: Maven 2.x War Plugin > Issue Type: Improvement > Affects Versions: 2.0.1 > Reporter: David Jencks > Assigned To: Brett Porter > Fix For: 2.0.2 > > Attachments: war-plugin-manifestcp-doc.patch > > > I had to get some help from evenisse to figure out how to generate the > manifest classpath yet not include all the dependencies in WEB-INF/lib. I > still don't know how to get a dependency into WEB-INF/lib but not the > manifest classpath when generating the manifest classpath, but this should > help anyone just trying to use a manifest cp in an ear. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira