[ 
https://jira.codehaus.org/browse/MSHARED-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mirko Friedenhagen updated MSHARED-323:
---------------------------------------

    Summary: DefaultProjectDependencyAnalyzer does not correctly transform 
Files with Spaces to URLs   (was: DefaultProjectDependencyAnalyzer does not 
correctly transform Files to URLs)

> DefaultProjectDependencyAnalyzer does not correctly transform Files with 
> Spaces to URLs 
> ----------------------------------------------------------------------------------------
>
>                 Key: MSHARED-323
>                 URL: https://jira.codehaus.org/browse/MSHARED-323
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-dependency-analyzer
>    Affects Versions: maven-dependency-analyzer-1.4
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Critical
>             Fix For: maven-dependency-analyzer-1.5
>
>
> Having a space in a file path makes {{mvn dependency:analyze}} fail with:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze (default-cli) on 
> project x2tc-pm2iim-converter: Execution default-cli of goal 
> org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze failed: Cannot 
> accept visitor on URL: file:/.amd_mnt/blnn728x/home/osipovmi/Projekte/X2TC 
> Proxy/x2tc-models/x2tc-proxy-model/target/classes/: Illegal character in path 
> at index 51: file:/.amd_mnt/blnn728x/home/osipovmi/Projekte/X2TC 
> Proxy/x2tc-models/x2tc-proxy-model/target/classes/ ->
> {noformat}
> The path includes a space. The problematic line is 
> [150|https://maven.apache.org/shared/maven-dependency-analyzer/xref/org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzer.html#150].
>  {{file.toURI().toURL()}} mus be called.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to