NutzCN Logo
问答 执行mvn -U clean package nutzboot:shade时出错
发布于 64天前 作者 qq_856b85c9 122 次浏览 复制 上一个帖子 下一个帖子
标签:

在项目的目录下进行的

E:\project>mvn -U clean package nutzboot:shade
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for cn.wizzer.app:wk-nb-web-platform:jar:5.0.6
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-javadoc-plugin @ cn.wizzer.app:wk-nb-web-platform:[unknown-version], E:\project\wk-app\wk-nb-web-p
latform\pom.xml, line 206, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] NutzWk-NB
[INFO] wk-framework
[INFO] wk-app
[INFO] wk-model
[INFO] wk-common
[INFO] wk-nb-service-sys
[INFO] wk-nb-service-cms
[INFO] wk-nb-service-wx
[INFO] wk-nb-web-platform
[INFO] wk-nb-web-api
[INFO] wk-nb-task
[INFO] wk-nb-service-cai
[INFO] wk-wiki
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/codehaus/mojo/maven-metadata.xml
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
Downloaded: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml (10 KB at 12.7 KB/sec)
Downloaded: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml (21 KB at 18.2 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] NutzWk-NB .......................................... SKIPPED
[INFO] wk-framework ....................................... SKIPPED
[INFO] wk-app ............................................. SKIPPED
[INFO] wk-model ........................................... SKIPPED
[INFO] wk-common .......................................... SKIPPED
[INFO] wk-nb-service-sys .................................. SKIPPED
[INFO] wk-nb-service-cms .................................. SKIPPED
[INFO] wk-nb-service-wx ................................... SKIPPED
[INFO] wk-nb-web-platform ................................. SKIPPED
[INFO] wk-nb-web-api ...................................... SKIPPED
[INFO] wk-nb-task ......................................... SKIPPED
[INFO] wk-nb-service-cai .................................. SKIPPED
[INFO] wk-wiki ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.385 s
[INFO] Finished at: 2018-10-11T22:00:09+08:00
[INFO] Final Memory: 18M/230M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'nutzboot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Administrator\.m2\repository), nutz-snapshots (http
://jfrog.nutz.cn/artifactory/snapshots), nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public)] -> [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

1 回复

顶层pom.xml加上nutzboot的plugin

添加回复
请先登陆
回到顶部