-
Bug
-
Resolution: Unresolved
-
Critical
-
None
Apache Maven 3.2.2 has been updated to support version ranges in the <parent/> element of a POM, but Jenkins does not yet support that, and blows up failing parse the POMs:
Resetting working tree
> git reset --hard
> git clean -fdx
Parsing POMs
Failed to transfer Could not transfer artifact com.smxemail:com.smxemail.parent:pom:[2.1.0,3.0.0) from/to Nexus (http://build.smx.co.nz:8081/nexus/content/groups/public-and-snapshots): Illegal character in path at index 103: http://build.smx.co.nz:8081/nexus/content/groups/public-and-snapshots/com/smxemail/com.smxemail.parent/[2.1.0,3.0.0)/com.smxemail.parent-[2.1.0,3.0.0).pom
ERROR: Failed to parse POMs
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not transfer artifact com.smxemail:com.smxemail.parent:pom:[2.1.0,3.0.0) from/to Nexus (http://build.smx.co.nz:8081/nexus/content/groups/public-and-snapshots): Illegal character in path at index 103: http://build.smx.co.nz:8081/nexus/content/groups/public-and-snapshots/com/smxemail/com.smxemail.parent/[2.1.0,3.0.0)/com.smxemail.parent-[2.1.0,3.0.0).pom and 'parent.relativePath' points at wrong local POM @ line 4, column 13
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364)
at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:361)
at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:331)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1294)
- is duplicated by
-
JENKINS-38808 Jenkins fails to parse Maven poms with version ranges in parent elements
-
- Closed
-
- is related to
-
JENKINS-45563 Jenkins Maven parsing POMs does not respect overridden versions for imports
-
- Open
-
- links to
Can you upgrade to 3.2.5 ?
Or add an option to fully skip pom validation
Thx Christophe