Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-450

Directory name with escaped slashes is not handled correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.10
    • None
    • wagon-file
    • None
    • RHEL6 x64

    Description

      Project is located in directory /a/b%2Fc and has file protocol repository reference:

      <repository>
        <id>project.local</id>
        <name>project</name>
        <url>file:${project.basedir}/repo</url>
      </repository>
      

      During build it fails with: [ERROR] Failed to execute goal on project core-api: Could not resolve dependencies for project xxxxxxxxx: Failed to collect dependencies at xxxxxxxxxxxx:1.0-SNAPSHOT: Failed to read
      artifact descriptor for xxxxxxxxx:1.0-SNAPSHOT: Could not transfer artifact xxxxxxxx:1.0-SNAPSHOT from/to project.local (file:/a/b%2Fc/repo): Repository path /a/b/c/repo does not exist, and cannot be created. -> [Help 1]

      Workaround: rename project directory to smth w/o "%2F".

      Attachments

        Activity

          People

            Unassigned Unassigned
            electroma RomanS
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: