Found mavenVersion 3.3.9 from file jar:file:/usr/local/src/ci/apache-maven-3.3.9/lib/maven-core-3.3.9.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
Parsing POMs
downloaded artifact http://localhost:8081/nexus/content/groups/public//org/springframework/boot/spring-boot-starter-parent/1.4.1.RELEASE/spring-boot-starter-parent-1.4.1.RELEASE.pom
ERROR: Failed to parse POMs
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM /usr/local/src/ci/apache-maven-3.3.9/.m2/repository/org/springframework/boot/spring-boot-starter-parent/1.4.1.RELEASE/spring-boot-starter-parent-1.4.1.RELEASE.pom: Expected root element ‘project’ but found ‘html’ (position: START_TAG seen …\r\n… @3:7) @ /usr/local/src/ci/apache-maven-3.3.9/.m2/repository/org/springframework/boot/spring-boot-starter-parent/1.4.1.RELEASE/spring-boot-starter-parent-1.4.1.RELEASE.pom, line 3, column 7
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:325)
at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360)
at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1203)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1046)
at hudson.FilePath.act(FilePath.java:793)
at hudson.FilePath.act(FilePath.java:775)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:739)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:547)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:524)
at hudson.model.Run.run(Run.java:1493)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:420)
at hudson.model.ResourceController.execute(ResourceController.java:82)
at hudson.model.Executor.run(Executor.java:137)
Finished: FAILURE
解决方式:
maven版本过高,把maven版本降到3.0.5则解决上面的问题了