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

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=15115832#comment-15115832 ] 

Karl Heinz Marbaise edited comment on WAGON-450 at 1/25/16 7:40 PM:
--------------------------------------------------------------------

{{file:$\{project.basedir}}} is not a vaild file URL cause a local file URL needed {{file:///Folder/...}} Apart from that do you have an example project which shows the problem/ wrong behaviour?


was (Author: khmarbaise):
{{file:${project.basedir}}} is not a vaild file URL cause a local file URL needed {{file:///Folder/...}} Apart from that do you have an example project which shows the problem/ wrong behaviour?

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