51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 4001|回复: 4
打印 上一主题 下一主题

[求助] Jenkins 插件开发 调试运行问题 急急急!!!

[复制链接]
  • TA的每日心情
    无聊
    前天 09:11
  • 签到天数: 406 天

    连续签到: 3 天

    [LV.9]测试副司令

    跳转到指定楼层
    1#
    发表于 2019-1-18 09:16:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    1测试积点
    不论我是执行 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 方式生成的。

    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    前天 10:01
  • 签到天数: 1389 天

    连续签到: 3 天

    [LV.10]测试总司令

    2#
    发表于 2019-1-21 10:52:13 | 只看该作者
    检查下版本
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    前天 07:57
  • 签到天数: 2663 天

    连续签到: 3 天

    [LV.Master]测试大本营

    3#
    发表于 2019-1-21 12:00:32 | 只看该作者
    感觉像版本不匹配的问题
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    前天 08:56
  • 签到天数: 1670 天

    连续签到: 3 天

    [LV.Master]测试大本营

    4#
    发表于 2019-1-21 13:57:23 | 只看该作者
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-5-2 06:46 , Processed in 0.065921 second(s), 21 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表