Maven Wagon

UNC paths don't work when properly URL encoded.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-beta-2
  • Fix Version/s: 1.0-beta-5
  • Component/s: wagon-file
  • Labels:
    None
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

Please see http://jira.codehaus.org/browse/MSITE-318 for a summary.

Essentially, it seems that Maven cannot grok URL encoded UNC paths with the file:// scheme.

Issue Links

Activity

Hide
Benjamin Bentmann added a comment - - edited

Some URL decoding that should help. BTW, I am just guessing that Repository.getBasedir() is intended to return a valid filesystem path for file: URLs. The "fix" for WAGON-112 still doesn't say anything about the precise meaning of this string but all the voodoo in PathUtils.basedir() seems to aim at constructing a local filesystem path....

Show
Benjamin Bentmann added a comment - - edited Some URL decoding that should help. BTW, I am just guessing that Repository.getBasedir() is intended to return a valid filesystem path for file: URLs. The "fix" for WAGON-112 still doesn't say anything about the precise meaning of this string but all the voodoo in PathUtils.basedir() seems to aim at constructing a local filesystem path....
Hide
Brett Porter added a comment -

reviewed & applied patch

Show
Brett Porter added a comment - reviewed & applied patch

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: