jenkins 大家好,我得到以下错误,当我在jenkin建设wakaleo游戏的生活项目

omqzjyyz  于 2023-08-03  发布在  Jenkins
关注(0)|答案(1)|浏览(99)
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.397 s
[INFO] Finished at: 2023-07-12T14:24:54+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\WINDOWS\system32\config\systemprofile\.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE

字符串
我试图用Jetty更新POM.xml文件,但没有任何人可以帮助解决这个问题,因为我尝试了很多安装所有的Maven插件,它仍然在Jetty向我显示错误

e4yzc0pl

e4yzc0pl1#

当我在dependency部分指定这个插件时,我也遇到了同样的问题,然后移到插件,它确实有问题

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-maven-plugin</artifactId>
        <version>9.4.0.M0</version>
      </plugin>
    </plugins>
  </build>
  ...
</project>

字符串

相关问题