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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • centos 7 x64 JDK 1.8

      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
      

            mebrach Marvin
            jpyeron Jason Pyeron
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: