Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4700

Incorrect path to global-level plugin registry is formed when maven is started from UNC location

    XMLWordPrintableJSON

Details

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

    Description

      Maven is located on \\server\share\... (UNC Path).
      Path to global-level plugin registry is formed incorrectly for UNC path. It is converted to absolute path by using current drive letter.

      D:\test>\\server\share\tmp\maven\2.2\bin\mvn -V -X -Pproduction
      + Error stacktraces are turned on.
      Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
      Java version: 1.5.0_07
      Java home: \\server\share\j2sdk\1.5.0\jre
      Default locale: en_US, platform encoding: Cp1252
      OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
      [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\test\.m2\plugin-registry.xml'
      [DEBUG] Building Maven global-level plugin registry from: 'D:\server\share\tmp\maven\2.2\conf\plugin-registry.xml'
      [INFO] Scanning for projects...

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              beginner beginner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: