Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-397

Eclipse project set as dependency + test-jar dependency is included twice in .classpath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.6
    • None
    • maven 2.0.8, eclipse plugin version 2.5-20080218.113139-24

    Description

      My maven project depends on A-util.jar for compile and A-util-tests.jar for tests :

      <dependency>
      <groupId>...
      <artifactId>A-util</artifactId>
      <version>...
      </dependency>

      <dependency>
      <groupId>...
      <artifactId>A-util</artifactId>
      <version>...
      <type>test-jar</type>
      <scope>test</scope>
      </dependency>

      I have the "A-util" project in my eclipse workspace

      Running mvn eclipse:eclipse creates an invalid .classpath where the eclipse A project is included twice :

      <classpathentry kind="src" path="/A-util"/>
      <classpathentry kind="src" path="/A-util"/>

      .. and invalid .project with twice references :

      <project>A-util</project>
      <project>A-util</project>

      Attachments

        Activity

          People

            ndeloof nicolas de loof
            ndeloof nicolas de loof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: