[ http://jira.codehaus.org/browse/MIDEA-64?page=comments#action_75996 ]
Stephen Connolly commented on MIDEA-64:
---
I can confirm this bug exists in IDEA 4.5.4, IDEA 5.1.2, and IDEA 6.0 beta.
In all cases I regenerated the IDEA project files
mvn idea:clean
mvn idea:idea
before loading in the IDE in order to eliminate contamination between IDEA
versions.
In our case the dependency in our pom.xml is:
dependency
groupIdjavax.servlet/groupId
artifactIdservlet-api/artifactId
version2.3/version
scopeprovided/scope
/dependency
I have checked all the poms for all of our dependencies and any that list
servlet-api as a dependency also have scope set to provided.
In all three versions of the IDE the WAR packaging is incorrectly set to Copy
files to.
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: 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