首先在根目录已执行 mvn install
然后IDEA右侧展开 Maven Projects,先编译,后打包
然后接着执行mvn clean package install -Dmaven.test.skip=true
这些都成功了,中间我把wk-nb-web-platform的pom文件中的javadoc有过报错,也已经将doclint给处理了
然后执行mvn clean package nutzboot:shade nutzboot:war
提示除了下述错误
D:\Project\HOME>mvn clean package nutzboot:shade nutzboot:war
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for or cn.wizzer.app:wk-:wk-nb-web-platform:jar:5.0.6
[WARNING] '] 'build.plugins.plugin.(gr.(groupId:artifactId)' must be unique but found duplicate declaration of plugin in org.apache.maven.plugins:mav:maven-javadoc-plugin @ @ cn.wizzer.app:wk-:wk-nb-web-platform:[unknown-ve
rsion], D:\Project\HOME\wk-app\wk-nb-web-platform\rm\pom.xml, li, line 204, 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: g: http://jfrog.nutz.cn/artifactory/snapshots/org/codehaus/mojo/maven-metadata.xml
Dow
Downloading: g: http://jfrog.nutz.cn/artifactory/snapshots/org/apache/maven/plugins/maven-metadata.xml
Dow
Downloading: g: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
Dow
Downloading: g: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
Dow
Downloaded: d: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml (10 (10 KB at 6.5 KB/sec)
Downloaded: d: http://maven.aliyun.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml (21 (21 KB at 13.0 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: 3.076 s
[INFO] Finished at: 2018-10-09T17:55:27+08:00
[INFO] Final Memory: 17M/245M
[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
D:\Project\HOME>