从本地导入到eclispe中的一个maven项目,本机安装的是maven3.6.0,pom文件中也修改成maven3.6.0,maven update时,老是下载到这个2.4,导致maven install 失败,和报如下错误,有人知道怎么解决吗?
maven install时报如下错误
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:3.6 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-compiler-plugin:jar:3.6 in xxx.com:80/artifactory/bupps4.0-mvn-virtual was cached in the local repository, resolution will not be reattempted until the update interval of central 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/PluginResolutionException