It seems that Jenkins is having issues "parsing POMs" when they include the new 
pom.xml elements and attributes.

Is anyone else seeing this? Does anyone have a work around?

I opened JENKINS-59078 - jenkins Malformed POM Unknown attribute 
'child.scm.url.inherit.append.path' for tag 'scm'

see branches demonstrates-JENKINS-59078 and mitigation-JENKINS-59078 @ 
https://github.com/pdinc-oss/lombok.maven/

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

--
Jason Pyeron  | Architect
PD Inc        |
10 w 24th St  |
Baltimore, MD |
 
.mil: jason.j.pyeron....@mail.mil
.com: jpye...@pdinc.us
tel : 202-741-9397


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/001601d55c1e%24a1060c00%24e3122400%24%40pdinc.us.

Reply via email to