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

eclipse:eclipse creates a .classpath containing the M2_REPO variable followed by the expanded value of the variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • MS Windows XP, + cygwin

    Description

      Using maven 2.0.8, and eclipse plugin (version 2.4 or 2.5). When I run mvn eclipse:eclipse the .classpath that gets generated is invalid. My M2_REPO variable is set to /var/maven and the classpath entries for dependencies look like :
      <classpathentry kind="var" path="M2_REPO/var/maven/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/>
      where
      <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/>
      would be the correct entry.

      Things about my environment that may be affecting this:

      • I run maven from a cygwin bash prompt.
      • /var/maven is a symlink to /cygdrive/c/var/maven
      • MAVEN_HOME is C:\opt\maven-2.0.8

      settings.xml and pom.xml for the affected project is included. It should be noted that some other projects on the same machine seem to work fine, but others dont. I don't see any

      Attachments

        1. settings.xml
          8 kB
          Gus Mancuso
        2. Copy of pom.xml
          3 kB
          Gus Mancuso
        3. parentPom.xml
          2 kB
          Gus Mancuso

        Issue Links

          Activity

            People

              baerrach Barrie Treloar
              mancusoc Gus Mancuso
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: