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

Duplicated local repository path in the generated .classpath file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.5
    • None
    • None

    Description

      The generated .classpath is not correct.

      This problem seems to be related to using a non default repository location. In fact, if localRepository (in settings.xml) is the following:
      <localRepository>/path/to/repository</localRepository>

      Then all classpathentries in the .classpath file are generated as in the following example:
      M2_REPO/projet/MIPIH/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar
      instead of
      M2_REPO/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar
      I can create a dedicated testcase project if necessary (if you have problem reproducing this issue) but I think this will be easy to reproduce by just testing with a non default repository location.

      Thanks a lot.
      Cheers.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mathus.b@mipih.fr Baptiste MATHUS
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: