NutzCN Logo
问答 jar包更新不了 cn.wizzer:wk-framework:jar:4.0.1-SNAPSHOT
发布于 2797天前 作者 Hamming 2345 次浏览 复制 上一个帖子 下一个帖子
标签:
"C:\Program Files\Java\jdk1.8.0_111\bin\java" -Dmaven.multiModuleProjectDirectory=E:\IdeaProjects\NutzWk\wk-app\wk-web -Dmaven.home=F:\apache-maven-3.3.9 -Dclassworlds.conf=F:\apache-maven-3.3.9\bin\m2.conf -Didea.launcher.port=7532 "-Didea.launcher.bin.path=D:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2.1\bin" -Dfile.encoding=UTF-8 -classpath "F:\apache-maven-3.3.9\boot\plexus-classworlds-2.5.2.jar;D:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2.1\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.2.1 -s F:\apache-maven-3.3.9\conf\settings.xml -Dmaven.repo.local=F:\apache-maven-3.3.9\repository org.apache.maven.plugins:maven-war-plugin:2.6:war
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-web 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.655 s
[INFO] Finished at: 2017-04-26T14:59:21+08:00
[INFO] Final Memory: 9M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project wk-web: Could not resolve dependencies for project cn.wizzer.app:wk-web:war:4.0.1-SNAPSHOT: Failed to collect dependencies at cn.wizzer:wk-framework:jar:4.0.1-SNAPSHOT: Failed to read artifact descriptor for cn.wizzer:wk-framework:jar:4.0.1-SNAPSHOT: Failure to find cn.wizzer:wk-parent:pom:4.0.1-SNAPSHOT in https://jfrog.nutz.cn/artifactory/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of nutzcn-snapshots has elapsed or updates are forced -> [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/DependencyResolutionException

Process finished with exit code 1
4 回复

在上级目录先执行mvn install

"C:\Program Files\Java\jdk1.8.0_111\bin\java" -Dmaven.multiModuleProjectDirectory=E:\IdeaProjects\NutzWk -Dmaven.home=F:\apache-maven-3.3.9 -Dclassworlds.conf=F:\apache-maven-3.3.9\bin\m2.conf -Didea.launcher.port=7536 "-Didea.launcher.bin.path=D:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2.1\bin" -Dfile.encoding=UTF-8 -classpath "F:\apache-maven-3.3.9\boot\plexus-classworlds-2.5.2.jar;D:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2.1\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.2.1 -s F:\apache-maven-3.3.9\conf\settings.xml -Dmaven.repo.local=F:\apache-maven-3.3.9\repository org.apache.maven.plugins:maven-install-plugin:2.4:install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] NutzWk
[INFO] wk-framework
[INFO] wk-app
[INFO] wk-web
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building NutzWk 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-cli) @ wk-parent ---
[INFO] Installing E:\IdeaProjects\NutzWk\pom.xml to F:\apache-maven-3.3.9\repository\cn\wizzer\wk-parent\4.0.1-SNAPSHOT\wk-parent-4.0.1-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-framework 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-cli) @ wk-framework ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] NutzWk ............................................. SUCCESS [  0.256 s]
[INFO] wk-framework ....................................... FAILURE [  0.007 s]
[INFO] wk-app ............................................. SKIPPED
[INFO] wk-web ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.447 s
[INFO] Finished at: 2017-04-26T15:03:40+08:00
[INFO] Final Memory: 7M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project wk-framework: The packaging for this project did not assign a file to the build artifact -> [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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wk-framework

Process finished with exit code 1

pom.xml里加了一个包,应该先执行clean吧,,话说你不是没在用么

没用 就想看看 有什么变化

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