[ http://jira.codehaus.org/browse/MIDEA-64?page=all ]
Stephen Connolly updated MIDEA-64: ---------------------------------- Attachment: parent.zip The attached zip file can be used to generate two test cases: 1. Where the dependency is also a project in IDEA: in parent directory mvn clean idea:clean mvn install idea:idea Load the parent.ipr in IDEA and view the module settings for the webapp module. The child module packaging method will be listed as "JAR module output and copy to". This should be "Do not Package" 2. Where the dependency is a jar from the maven local repository: in parent directory mvn clean idea:clean mvn install cd webapp mvn idea:idea Load the webapp/webapp.ipr in IDEA and view the module settings The child-1.0.jar packaging method will be listed as "Copy files to". This should be "Do not package". I have confirmed this behaviour in IDEA 4.5.4, IDEA 5.1.2 and IDEA 6.0 beta > Provided dependencies are also copied to /WEB-INF/lib > ----------------------------------------------------- > > Key: MIDEA-64 > URL: http://jira.codehaus.org/browse/MIDEA-64 > Project: Maven 2.x Idea Plugin > Issue Type: Bug > Affects Versions: 2.0 > Reporter: Geoffrey De Smet > Attachments: parent.zip, screenshot-1.jpg > > > A dependency with the scope "provided" (and probably "system" too) is also > marked as to be copied to /WEB-INF/lib for webapp modules. -- 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