[WARNING]
[WARNING] Some problems were encountered while building the effective model for lkl.sms.admin:sms-admin-web:war:8.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 178, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 171, 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] ------------------------------------------------------------------------
[INFO] Building sms-admin-web 8.0.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for lkl.sms.admin:sms-admin-facade:jar:8.0.0 is missing, no dependency information available
[WARNING] The POM for lkl.sms.core:sms-common-protocol:jar:8.0.0 is missing, no dependency information available
[WARNING] The POM for lkl.sms.core:sms-common-event:jar:8.0.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.814 s
[INFO] Finished at: 2021-06-29T15:23:07+08:00
[INFO] Final Memory: 14M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sms-admin-web: Could not resolve dependencies for project lkl.sms.admin:sms-admin-web:war:8.0.0: The following artifacts could not be resolved: lkl.sms.admin:sms-admin-facade:jar:8.0.0, lkl.sms.core:sms-common-protocol:jar:8.0.0, lkl.sms.core:sms-common-event:jar:8.0.0: Failure to find lkl.sms.admin:sms-admin-facade:jar:8.0.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven 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
仔细看了才知道是一大堆的依赖没加进来,上面标黄的都没加进来,
idea里面clean install就能将那些依赖加进去了。遇到问题要仔细看,我之前就碰到过,同事帮我解决的,现在仔细看了,以后碰到这些简单的问题起码自己能解决了。