解決Maven外掛無法下載Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:2.5
首先檢查一下你的IDEA中Maven的配置是否一致。
如果這裡沒有問題,那多半就是倉庫映象的問題了,這裡提供多個映象,新增到maven的配置檔案裡即可。
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
http://maven.aliyun.com/nexus/content/groups/public/
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>http://repo1.maven.org/maven2/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
<mirror>
<id>ibiblio</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>
</mirror>
<mirror>
<id>jboss-public-repository-group</id>
<mirrorOf>central</mirrorOf>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
</mirror>
<mirror>
<id>google-maven-central</id>
<name>Google Maven Central</name>
<url>https://maven-central.storage.googleapis.com
</url>
<mirrorOf>central</mirrorOf>
</mirror>
<!-- 中央倉庫在中國的映象 -->
<mirror>
<id>maven.net.cn</id>
<name>oneof the central mirrors in china</name>
<url>http://maven.net.cn/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
相關文章
- Maven 教程(21)— maven-compiler-plugin 外掛詳解MavenCompilePlugin
- Plugin 'org.apache.maven.plugins:maven-resources-plugin:2.7' not found less... (Ctrl+F1)問題解決PluginApacheMaven
- The plugin 'org.apache.maven.plugins:maven-tomcat-plugin' does not exist or no vPluginApacheMavenTomcat
- org.apache.maven.plugins:maven-archetype-plugin does not existApacheMavenPlugin
- 測試外掛maven-surefire-pluginMavenPlugin
- vertx外掛使用vertx-maven-pluginMavenPlugin
- 從根本解決jenkins無法下載外掛ssl證書問題Jenkins
- win10無法載入java外掛怎麼辦_win10無法載入java外掛解決方法Win10Java
- maven-compiler-plugin外掛引數配置詳解MavenCompilePlugin
- 使用maven-shade-plugin外掛解決spark依賴衝突問題MavenPluginSpark
- 解決Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile(default-compile)AIGoApacheMavenPluginCompile
- 解決 Homestead 國外映象無法下載問題
- Jenkins解決無法獲取外掛的辦法Jenkins
- Linux系統下無法解除安裝掛載的解決辦法Linux
- Android Studio 出現“Cannot resolve symbol” 解決辦法AndroidSymbol
- projectserver2007外掛無法下載安裝等問題的解決ProjectServer
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compileAIGoApacheMavenPluginCompile
- maven-war-plugin 外掛 web.xml 缺失時忽略MavenPluginWebXML
- Notepad++無法升級外掛管理器Plugin managerPlugin
- 解決無法自動掛載U盤問題
- 解決ASM磁碟組無法掛載的問題ASM
- 常用Maven外掛介紹(轉載)Maven
- PS 2021安裝外掛提示”無法載入,未經簽署“的解決辦法!
- Maven下載jar包慢,pom報錯的解決辦法MavenJAR
- CentOS 7 yum 無法下載的解決方法CentOS
- 微信中無法下載app的解決方案APP
- Maven 外掛Maven
- FTP publisher plugin外掛FTPPlugin
- Laravel-Plugin 基於 Laravel 的外掛機制解決方案LaravelPlugin
- 谷歌外掛下載谷歌
- VS2022 前的VS版本無法下載類似Viasfora等外掛的解決方法,去VS外掛網站單獨下載,再安裝網站
- 無法識別maven web工程的解決方法MavenWeb
- Grafana外掛Plugin中文漢化GrafanaPlugin
- Maven--外掛Maven
- maven外掛配置Maven
- 快速解決 Android SDK Manager 無法下載或者下載速度慢Android
- 學習筆記479—解決obsidian無法載入第三方外掛筆記
- maven下載jar包下載不下來的解決方法MavenJAR