Jenkins配置maven,发布项目,报错

Blade 未结 1 1793
651037195
651037195 剑圣 2020-07-07 14:32

Jenkins配置maven,发布项目,报错

Parsing POMs
Failed to transfer Could not find artifact org.springblade.platform:blade-bom:pom:2.5.1.RELEASE in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public/)
Downloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/boot/spring-boot-dependencies/2.1.14.RELEASE/spring-boot-dependencies-2.1.14.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/com/fasterxml/jackson/jackson-bom/2.9.10.20200411/jackson-bom-2.9.10.20200411.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/com/fasterxml/jackson/jackson-parent/2.9.1.2/jackson-parent-2.9.1.2.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/com/fasterxml/oss-parent/34/oss-parent-34.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/io/netty/netty-bom/4.1.49.Final/netty-bom-4.1.49.Final.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/sonatype/oss/oss-parent/7/oss-parent-7.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/io/projectreactor/reactor-bom/Californium-SR18/reactor-bom-Californium-SR18.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/apache/logging/log4j/log4j-bom/2.11.2/log4j-bom-2.11.2.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/apache/logging/logging-parent/1/logging-parent-1.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/apache/apache/18/apache-18.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/eclipse/jetty/jetty-bom/9.4.28.v20200408/jetty-bom-9.4.28.v20200408.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/glassfish/jersey/jersey-bom/2.27/jersey-bom-2.27.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/net/java/jvnet-parent/4/jvnet-parent-4.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/junit/junit-bom/5.3.2/junit-bom-5.3.2.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/spring-framework-bom/5.1.15.RELEASE/spring-framework-bom-5.1.15.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/data/spring-data-releasetrain/Lovelace-SR17/spring-data-releasetrain-Lovelace-SR17.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/data/build/spring-data-build/2.1.17.RELEASE/spring-data-build-2.1.17.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/integration/spring-integration-bom/5.1.10.RELEASE/spring-integration-bom-5.1.10.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/security/spring-security-bom/5.1.10.RELEASE/spring-security-bom-5.1.10.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/session/spring-session-bom/Bean-SR10/spring-session-bom-Bean-SR10.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-dependencies/Greenwich.SR6/spring-cloud-dependencies-Greenwich.SR6.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-dependencies-parent/2.1.11.RELEASE/spring-cloud-dependencies-parent-2.1.11.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-commons-dependencies/2.1.6.RELEASE/spring-cloud-commons-dependencies-2.1.6.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-netflix-dependencies/2.1.5.RELEASE/spring-cloud-netflix-dependencies-2.1.5.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-dependencies-parent/2.1.10.RELEASE/spring-cloud-dependencies-parent-2.1.10.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-stream-dependencies/Fishtown.SR4/spring-cloud-stream-dependencies-Fishtown.SR4.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-dependencies-parent/2.1.6.RELEASE/spring-cloud-dependencies-parent-2.1.6.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-task-dependencies/2.1.4.RELEASE/spring-cloud-task-dependencies-2.1.4.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-dependencies-parent/2.1.9.RELEASE/spring-cloud-dependencies-parent-2.1.9.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-config-dependencies/2.1.8.RELEASE/spring-cloud-config-dependencies-2.1.8.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-function-dependencies/2.0.2.RELEASE/spring-cloud-function-dependencies-2.0.2.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-dependencies-parent/2.1.4.RELEASE/spring-cloud-dependencies-parent-2.1.4.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-gateway-dependencies/2.1.5.RELEASE/spring-cloud-gateway-dependencies-2.1.5.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-consul-dependencies/2.1.5.RELEASE/spring-cloud-consul-dependencies-2.1.5.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-sleuth-dependencies/2.1.7.RELEASE/spring-cloud-sleuth-dependencies-2.1.7.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-vault-dependencies/2.1.5.RELEASE/spring-cloud-vault-dependencies-2.1.5.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-zookeeper-dependencies/2.1.4.RELEASE/spring-cloud-zookeeper-dependencies-2.1.4.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-security-dependencies/2.1.5.RELEASE/spring-cloud-security-dependencies-2.1.5.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-cloudfoundry-dependencies/2.1.4.RELEASE/spring-cloud-cloudfoundry-dependencies-2.1.4.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-bus-dependencies/2.1.4.RELEASE/spring-cloud-bus-dependencies-2.1.4.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-contract-dependencies/2.1.5.RELEASE/spring-cloud-contract-dependencies-2.1.5.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-aws-dependencies/2.1.4.RELEASE/spring-cloud-aws-dependencies-2.1.4.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/com/amazonaws/aws-java-sdk-bom/1.11.415/aws-java-sdk-bom-1.11.415.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/com/amazonaws/aws-java-sdk-pom/1.11.415/aws-java-sdk-pom-1.11.415.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-openfeign-dependencies/2.1.5.RELEASE/spring-cloud-openfeign-dependencies-2.1.5.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-kubernetes-dependencies/1.0.5.RELEASE/spring-cloud-kubernetes-dependencies-1.0.5.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/io/fabric8/kubernetes-client-bom/4.1.0/kubernetes-client-bom-4.1.0.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/cloud/spring-cloud-gcp-dependencies/1.1.5.RELEASE/spring-cloud-gcp-dependencies-1.1.5.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/com/google/cloud/google-cloud-bom/0.96.0-alpha/google-cloud-bom-0.96.0-alpha.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/com/google/api/gax-bom/1.45.0/gax-bom-1.45.0.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/io/spring/platform/platform-bom/Cairo-SR8/platform-bom-Cairo-SR8.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/boot/spring-boot-starter-parent/2.0.9.RELEASE/spring-boot-starter-parent-2.0.9.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/boot/spring-boot-dependencies/2.0.9.RELEASE/spring-boot-dependencies-2.0.9.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/com/fasterxml/jackson/jackson-bom/2.9.8/jackson-bom-2.9.8.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/io/netty/netty-bom/4.1.34.Final/netty-bom-4.1.34.Final.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/io/projectreactor/reactor-bom/Bismuth-SR17/reactor-bom-Bismuth-SR17.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/apache/logging/log4j/log4j-bom/2.10.0/log4j-bom-2.10.0.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/eclipse/jetty/jetty-bom/9.4.15.v20190215/jetty-bom-9.4.15.v20190215.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/spring-framework-bom/5.0.13.RELEASE/spring-framework-bom-5.0.13.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/data/spring-data-releasetrain/Kay-SR14/spring-data-releasetrain-Kay-SR14.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/data/build/spring-data-build/2.0.14.RELEASE/spring-data-build-2.0.14.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/integration/spring-integration-bom/5.0.13.RELEASE/spring-integration-bom-5.0.13.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/security/spring-security-bom/5.0.12.RELEASE/spring-security-bom-5.0.12.RELEASE.pomDownloaded artifact http://maven.aliyun.com/nexus/content/groups/public/org/springframework/session/spring-session-bom/Apple-SR9/spring-session-bom-Apple-SR9.pomERROR: Failed to parse POMs
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact org.springblade.platform:blade-bom:pom:2.5.1.RELEASE in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public/) @ line 46, column 25

	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)
	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1126)
	at hudson.FilePath.act(FilePath.java:1075)
	at hudson.FilePath.act(FilePath.java:1058)
	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:1880)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:428)
Finished: FAILURE

怎么解决?困扰了一周了,急需解决

1条回答
提交回复