maven install不成功
"C:\Program Files\Java\jdk1.8.0_171\bin\java.exe" -Dmaven.multiModuleProjectDirectory=E:\UCLOUD\imooc\foodiedev "-Dmaven.home=E:\InteliJ_IDEA\IntelliJ IDEA Community Edition 2018.3.6\plugins\maven\lib\maven3" "-Dclassworlds.conf=E:\InteliJ_IDEA\IntelliJ IDEA Community Edition 2018.3.6\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:E:\InteliJ_IDEA\IntelliJ IDEA Community Edition 2018.3.6\lib\idea_rt.jar=59871:E:\InteliJ_IDEA\IntelliJ IDEA Community Edition 2018.3.6\bin" -Dfile.encoding=UTF-8 -classpath "E:\InteliJ_IDEA\IntelliJ IDEA Community Edition 2018.3.6\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.3.6 install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] foodie-dev
[INFO] foodie-dev-common
[INFO] foodie-dev-pojo
[INFO] foodie-dev-mapper
[INFO] foodie-dev-service
[INFO] foodie-dev-api
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building foodie-dev 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ foodie-dev ---
[INFO] Installing E:\UCLOUD\imooc\foodiedev\pom.xml to C:\Users\jidongsi\.m2\repository\com\imooc\foodie-dev\1.0-SNAPSHOT\foodie-dev-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building foodie-dev-common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ foodie-dev-common ---
[INFO] Installing E:\UCLOUD\imooc\foodiedev\foodie-dev-common\pom.xml to C:\Users\jidongsi\.m2\repository\com\imooc\foodie-dev-common\1.0-SNAPSHOT\foodie-dev-common-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building foodie-dev-pojo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] foodie-dev ......................................... SUCCESS [ 0.588 s]
[INFO] foodie-dev-common .................................. SUCCESS [ 0.017 s]
[INFO] foodie-dev-pojo .................................... FAILURE [ 0.143 s]
[INFO] foodie-dev-mapper .................................. SKIPPED
[INFO] foodie-dev-service ................................. SKIPPED
[INFO] foodie-dev-api ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.959 s
[INFO] Finished at: 2021-02-21T18:25:18+08:00
[INFO] Final Memory: 10M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project foodie-dev-pojo: Could not resolve dependencies for project com.imooc:foodie-dev-pojo:jar:1.0-SNAPSHOT: Could not find artifact com.imooc:foodie-dev-common:jar:1.0-SNAPSHOT -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :foodie-dev-pojo
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星