51Testing软件测试论坛

标题: Jenkins 插件开发 调试运行问题 急急急!!! [打印本页]

作者: 测试积点老人    时间: 2019-1-18 09:16
标题: Jenkins 插件开发 调试运行问题 急急急!!!
不论我是执行 mvn hpi:run 还是mvn hpi:run -Djetty.port=8083或者mvn package
再或者mvn -DdownloadSources=true eclipse:eclipse 到会报下面的错误信息:
  1. [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
  2. 3.1.0 required by frontend-maven-plugin at least.
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] BUILD FAILURE
  5. [INFO] ------------------------------------------------------------------------
  6. [INFO] Total time: 4.786s
  7. [INFO] Finished at: Tue Jul 03 16:55:56 CST 2018
  8. [INFO] Final Memory: 124M/389M
  9. [INFO] ------------------------------------------------------------------------
  10. [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]
  11. [ERROR]
  12. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  13. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  14. [ERROR]
  15. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  16. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
复制代码
已百度千百回,pom应该没有问题,应为我是直接调试的 使用 mvn archetype:generate -Dfilter=io.jenkins.archetypes:plugin 方式生成的。

作者: qqq911    时间: 2019-1-21 10:52
检查下版本
作者: jingzizx    时间: 2019-1-21 12:00
感觉像版本不匹配的问题
作者: 海海豚    时间: 2019-1-21 13:57
https://blog.csdn.net/qq_28703581/article/details/51201372  参考下




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2