[ http://jira.codehaus.org/browse/MWAR-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206574#action_206574 ]
Stephane Nicoll commented on MWAR-216: -------------------------------------- Agreed. Once the metadata about libraries will be fixed, this is trivial to implement. > Changes in dependencies aren't reflected in target/modulename/WEB-INF/lib > ------------------------------------------------------------------------- > > Key: MWAR-216 > URL: http://jira.codehaus.org/browse/MWAR-216 > Project: Maven 2.x WAR Plugin > Issue Type: Bug > Affects Versions: 2.1-alpha-2 > Reporter: Kohsuke Kawaguchi > > The war plugin copies module dependencies into target/modulename/WEB-INF/lib, > but it doesn't remove files that don't belong there. > So if I change POM to remove a dependency or change a version, you still see > the old jar in WEB-INF/lib until you do a clean rebuild. > As this often results in a rather painful bug (where you get two different > versions of the same library in WEB-INF/lib, which makes the program break in > some systems but not others), it'd be highly desirable if the plugin is smart > enough to delete files that shouldn't be there. -- 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