Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23846

Jenkins Maven support doesn't handle version ranges in parent definitions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • maven-plugin
    • 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)

            Unassigned Unassigned
            talios talios
            Votes:
            15 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated: