You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "RomanS (JIRA)" <ji...@apache.org> on 2016/01/25 20:32:39 UTC

[jira] [Updated] (WAGON-450) Directory name with escaped slashes is not handled correctly

     [ https://issues.apache.org/jira/browse/WAGON-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RomanS updated WAGON-450:
-------------------------
    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".

  was:
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".


> Directory name with escaped slashes is not handled correctly
> ------------------------------------------------------------
>
>                 Key: WAGON-450
>                 URL: https://issues.apache.org/jira/browse/WAGON-450
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-file
>    Affects Versions: 2.10
>         Environment: RHEL6 x64
>            Reporter: RomanS
>
> 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".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)