Exception is thrown when enabling the m2eclipse nature to the project
---------------------------------------------------------------------

         Key: MNGECLIPSE-108
         URL: http://jira.codehaus.org/browse/MNGECLIPSE-108
     Project: Maven 2.x Extension for Eclipse
        Type: Bug

    Versions: 0.0.5    
 Environment: Eclipse 3.1.2, m2eclipse 0.0.5, maven 2.0.4, Windows 2000 and 
Ubuntu 5.10, JDK 1.5
    Reporter: David Rabinowitz
 Assigned to: Eugene Kuleshov 


When enabling the Maven 2 nature on the project, the log (in teh console) ends 
with the line "Can't enable nature Java Model Exception: Java Model Status 
[Build path contains duplicate entry: 'C:Documents and 
Settings/david/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar' 
for project xxx]"

Same problem happened on ubuntu, that time it was the junit 3.8.1 who triggered 
the error.

The nature is enabled, but all the dependecies can be seen directly under the 
project (and not under "Maven 2 dependecies").

My dependencies:
  <dependencies>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-webmvc</artifactId>
      <version>1.2.6</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-mock</artifactId>
      <version>1.2.6</version>
    </dependency>
    <dependency>
      <groupId>opensymphony</groupId>
      <artifactId>sitemesh</artifactId>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.3</version>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.13</version>
    </dependency>
    <dependency>
      <groupId>c3p0</groupId>
      <artifactId>c3p0</artifactId>
      <version>0.9.0.2</version>
    </dependency>
  </dependencies>


-- 
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

Reply via email to