weixin_51161957 2021-11-08 17:51 采纳率: 33.3%
浏览 384
已结题

jenkins构建构建时候报错,都可能是什么引起的

17:18:19 Parsing POMs
17:18:21 ERROR: Failed to parse POMs
17:18:21 org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
17:18:21 [ERROR] Non-resolvable import POM: gov.minhang.aqrcode:aqrcode-dependencies:pom:3.5.0 was not found in

during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced @ line 53, column 25
17:18:21 [ERROR] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ line 147, column 21
17:18:21 [ERROR] 'dependencies.dependency.version' for org.slf4j:slf4j-api:jar is missing. @ line 152, column 21
17:18:21 [ERROR] 'dependencies.dependency.version' for cn.hutool:hutool-all:jar is missing. @ line 157, column 21
17:18:21 [ERROR] 'dependencies.dependency.version' for com.alibaba:fastjson:jar is missing. @ line 161, column 21
17:18:21 [ERROR] 'dependencies.dependency.version' for com.google.guava:guava:jar is missing. @ line 165, column 21
17:18:21
17:18:21 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:397)
17:18:21 at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:370)
17:18:21 at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:340)
17:18:21 at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1330)
17:18:21 at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1124)
17:18:21 at hudson.FilePath.act(FilePath.java:1171)
17:18:21 at hudson.FilePath.act(FilePath.java:1154)
17:18:21 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:985)
17:18:21 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:689)
17:18:21 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:514)
17:18:21 at hudson.model.Run.execute(Run.java:1888)
17:18:21 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
17:18:21 at hudson.model.ResourceController.execute(ResourceController.java:99)
17:18:21 at hudson.model.Executor.run(Executor.java:432)
17:18:21 Finished: FAILURE

  • 写回答

1条回答 默认 最新

  • 贰半 2021-11-08 18:06
    关注

    是项目的pom.xml文件有问题,
    你在使用Jenkins构建之前,可以先尝试在Jenkins所在的环境,进行手动打包,看看是否可以正常进行,如果可以的话,再使用Jenkins进行构建,这样出问题的时候,可以排除Jenkins自身的问题,

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 11月17日
  • 已采纳回答 11月9日
  • 创建了问题 11月8日

悬赏问题

  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示