Resolution: Not A Bug
Affects Version/s: 0.15.1
Fix Version/s: None
Environment:OS: windows 2003
eclipse: Helios Service Release 2
Suppose I have a "war" packaging project and it has dependencies on two artifacts which have the same name and version, when I import the project into eclipse (having m2e-wtp feature installed), it will:
#1. put those two artifacts under the root folder of target/
#2. update Maven Dependencies classpath container to point to those artifacts under target/ instead of the artifacts in local maven repository.
This is not correct and confusing.
More worse, if I run "mvn clean package" in command line, the two artifacts are erased from target/ folder, leaving the project in warning status in eclipse.
It (#1+#2) happens every time I import/reopen the project or change pom.xml.
Steps to re-produce:
1. download the attached zip and extract
2. import the sample project into eclipse
You should be able to see two jars in target/ folder.