I assume this is happening with the MavenProject job? Could you move to a
free style project with a maven step instead? (In the interim?)

On Mon, Aug 26, 2019 at 13:27 Jason Pyeron <[email protected]> wrote:

> I have exceeded my time bound abilities to fix/mitigate this.
>
> It is because the maven-core:3.5.4 is the basis for embedding, it cannot
> parse the new pom attributes.
>
> I put as much as I could in the ticket. Welcome any ideas to mitigate or
> fix this.
>
> -Jason
>
> > -----Original Message-----
> > From: [email protected] <[email protected]>
> On Behalf Of Jason Pyeron
> > Sent: Monday, August 26, 2019 10:58 AM
> > To: [email protected]
> > Subject: Maven 3.6.1 POM changes, issue for Jenkins??? [JENKINS-59078]
> >
> > 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: [email protected]
> > .com: [email protected]
> > 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-
> > [email protected].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-
> > users/001601d55c1e%24a1060c00%24e3122400%24%40pdinc.us.
>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/00c501d55c3b%24e83215c0%24b8964140%24%40pdinc.us
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9J%2Bi1Lyivda-Ar0FJcsOr%3Dd_1JRE79%2B64ra2Qc4J8o1Vw%40mail.gmail.com.

Reply via email to