Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
maven-dependency-analyzer-1.4
-
None
Description
Having a space in a file path makes mvn dependency:analyze fail with:
[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/ ->
The path includes a space. The problematic line is 150. file.toURI().toURL() mus be called.