maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RomanS (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (WAGON-450) Directory name with escaped slashes is not handled correctly
Date Mon, 25 Jan 2016 20:01:39 GMT

    [ https://issues.apache.org/jira/browse/WAGON-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15115867#comment-15115867
] 

RomanS edited comment on WAGON-450 at 1/25/16 8:01 PM:
-------------------------------------------------------

Yes, here it is: https://github.com/electroma/WAGON-450-example
If i clone it to /tmp/WAGON-450%2Fexample - it fails to build.
If i clone to /tmp/WAGON-450-example - everything is fine.

Note: local repo should not contain cached dependency JAR.


was (Author: electroma):
Yes, here it is: https://github.com/electroma/WAGON-450-example
If i clone it to /tmp/WAGON-450%2Fexample - it fails to build.
If i clone to /tmp/WAGON-450-example - everything is fine.

> 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:

> {code:xml}
> <repository>
>   <id>project.local</id>
>   <name>project</name>
>   <url>file:${project.basedir}/repo</url>
> </repository>
> {code}
> 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)

Mime
View raw message