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

jenkins Malformed POM Unknown attribute 'child.scm.url.inherit.append.path' for tag 'scm'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      centos 7 x64 JDK 1.8
    • Similar Issues:

      Description

      It builds just fine in maven 3.6.1, Jenkins configured to use 3.6.1

       > git submodule update --init --recursive mojo-lombok-issue-fix-18
      Parsing POMs
      ERROR: Failed to parse POMs
      hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
      [ERROR] Malformed POM /var/lib/jenkins/workspace/xxx/pom.xml: Unknown attribute 'child.scm.url.inherit.append.path' for tag 'scm' (position: START_TAG seen ...</modules>\n\n  <scm child.scm.url.inherit.append.path="false">... @39:50)  @ /var/lib/jenkins/workspace/xxx/pom.xml, line 39, column 50
      
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1390)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1126)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3052)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      	at hudson.remoting.Request$2.run(Request.java:369)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to pdinc-dte-jenkins-centos7-x86_64
      		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
      		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
      		at hudson.remoting.Channel.call(Channel.java:955)
      		at hudson.FilePath.act(FilePath.java:1072)
      		at hudson.FilePath.act(FilePath.java:1061)
      		at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:987)
      		at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:691)
      		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      		at hudson.model.Run.execute(Run.java:1815)
      		at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      		at hudson.model.ResourceController.execute(ResourceController.java:97)
      		at hudson.model.Executor.run(Executor.java:429)
      Caused by: hudson.remoting.ProxyException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
      [ERROR] Malformed POM /var/lib/jenkins/workspace/xxx/pom.xml: Unknown attribute 'child.scm.url.inherit.append.path' for tag 'scm' (position: START_TAG seen ...</modules>\n\n  <scm child.scm.url.inherit.append.path="false">... @39:50)  @ /var/lib/jenkins/workspace/xxx/pom.xml, line 39, column 50
      
      	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:383)
      	at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:370)
      	at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:340)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1329)
      	... 10 more
      Sending e-mails to: xxx
      Finished: FAILURE
      

        Attachments

          Activity

          jpyeron Jason Pyeron created issue -
          jpyeron Jason Pyeron made changes -
          Field Original Value New Value
          Remote Link This issue links to "Important use cases not covered, as child.inherit.append.path affects all children (Web Link)" [ 23427 ]
          jpyeron Jason Pyeron made changes -
          Remote Link This issue links to "MNG-6059 - Important use cases not covered, as child.inherit.append.path affects all children (Web Link)" [ 23428 ]
          jpyeron Jason Pyeron made changes -
          Remote Link This issue links to "Important use cases not covered, as child.inherit.append.path affects all children (Web Link)" [ 23427 ]
          jpyeron Jason Pyeron made changes -
          Remote Link This issue links to "maven 3.6.1 release notes (Web Link)" [ 23429 ]
          jpyeron Jason Pyeron made changes -
          Remote Link This issue links to "NEXUS-19912 - Central Sync Requirements not valid with Maven 3.6.1 changes (Web Link)" [ 23430 ]
          jpyeron Jason Pyeron made changes -
          Link This issue is related to JENKINS-54530 [ JENKINS-54530 ]
          mebrach Marvin made changes -
          Assignee Marvin [ JIRAUSER130784 ]
          mebrach Marvin made changes -
          Status Open [ 1 ] In Progress [ 3 ]

            People

            Assignee:
            mebrach Marvin
            Reporter:
            jpyeron Jason Pyeron
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: