接手了离职同事的项目,代码copy给我我用idea打开发现maven识别不了,一顿操作(重新配置maven卸载重装maven都没有用),cmd敲mvn -v都是正确的,浏览器也是可以访问阿里云仓库的,就是用不了maven,用cmd敲mvn help:system 一直报错Downloading from aliyunmaven: maven.aliyun.com/nexus/conte… [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4 Downloading from aliyunmaven: maven.aliyun.com/nexus/conte… [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 Downloading from aliyunmaven: maven.aliyun.com/nexus/conte… [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.3 Downloading from aliyunmaven: maven.aliyun.com/nexus/conte… [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 Downloading from aliyunmaven: maven.aliyun.com/nexus/conte… [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 Downloading from aliyunmaven: maven.aliyun.com/nexus/conte… [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 Downloading from aliyunmaven: maven.aliyun.com/nexus/conte… [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 Downloading from aliyunmaven: maven.aliyun.com/nexus/conte… Downloading from aliyunmaven: maven.aliyun.com/nexus/conte… [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to aliyunmaven (maven.aliyun.com/nexus/conte…): transfer failed for maven.aliyun.com/nexus/conte… [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to aliyunmaven (maven.aliyun.com/nexus/conte…): transfer failed for maven.aliyun.com/nexus/conte… [WARNING] org.apache.maven.plugins/maven-metadata.xmlfailed to transfer from maven.aliyun.com/nexus/conte… during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of aliyunmaven has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to aliyunmaven (maven.aliyun.com/nexus/conte…): transfer failed for maven.aliyun.com/nexus/conte… [WARNING] org.codehaus.mojo/maven-metadata.xmlfailed to transfer from maven.aliyun.com/nexus/conte… during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of aliyunmaven has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to aliyunmaven (maven.aliyun.com/nexus/conte…): transfer failed for maven.aliyun.com/nexus/conte… [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.267 s [INFO] Finished at: 2024-10-14T20:49:35+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'help' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\tool\repository), aliyunmaven (maven.aliyun.com/nexus/conte…)] -> [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] cwiki.apache.org/confluence/…