[
https://jira.codehaus.org/browse/MWAR-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MWAR-216.
-------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> Changes in dependencies aren't reflected in target/modulename/WEB-INF/lib
> -------------------------------------------------------------------------
>
> Key: MWAR-216
> URL: https://jira.codehaus.org/browse/MWAR-216
> Project: Maven 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 was sent by Atlassian JIRA
(v6.1.6#6162)