邪恶八进制 2018-07-03 09:02 采纳率: 50%
浏览 1188
已采纳

Jenkins 插件开发 调试运行问题 急急急!!!

不论我是执行 mvn hpi:run 还是mvn hpi:run -Djetty.port=8083或者mvn package
再或者mvn -DdownloadSources=true eclipse:eclipse 到会报下面的错误信息:

 [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
3.1.0 required by frontend-maven-plugin at least.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.786s
[INFO] Finished at: Tue Jul 03 16:55:56 CST 2018
[INFO] Final Memory: 124M/389M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (display-info) on project JenkinsPlug: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

已百度千百回,pom应该没有问题,应为我是直接调试的 使用 mvn archetype:generate -Dfilter=io.jenkins.archetypes:plugin 方式生成的。

  • 写回答

2条回答 默认 最新

  • 邪恶八进制 2018-12-04 09:45
    关注

    本人已解决,详细请参考本人博客:https://blog.csdn.net/weixin_38652136/article/details/81116455

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog