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:06:39 GMT

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

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

I tried to change repo url to 
{code:xml}
<url>file://${project.basedir}/repo</url>
{code}

It does not help.


was (Author: electroma):
I tried to change repo url to 
{code:xml}
<url>file:${project.basedir}/repo</url>
{code}

It does not help.

> 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