解決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
- 解決Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile(default-compile)AIGoApacheMavenPluginCompile
- 從根本解決jenkins無法下載外掛ssl證書問題Jenkins
- maven-compiler-plugin外掛引數配置詳解MavenCompilePlugin
- Android Studio 出現“Cannot resolve symbol” 解決辦法AndroidSymbol
- win10無法載入java外掛怎麼辦_win10無法載入java外掛解決方法Win10Java
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compileAIGoApacheMavenPluginCompile
- Linux系統下無法解除安裝掛載的解決辦法Linux
- Notepad++無法升級外掛管理器Plugin managerPlugin
- IDEA出現Cannot resolve symbol “xxx”(無法解析符號)IdeaSymbol符號
- PS 2021安裝外掛提示”無法載入,未經簽署“的解決辦法!
- VS2022 前的VS版本無法下載類似Viasfora等外掛的解決方法,去VS外掛網站單獨下載,再安裝網站
- **spring-boot-maven-plugin:<unknown>**解決方法SpringbootMavenPlugin
- Maven下載jar包慢,pom報錯的解決辦法MavenJAR
- 微信中無法下載app的解決方案APP
- CentOS 7 yum 無法下載的解決方法CentOS
- Maven 外掛Maven
- 學習筆記479—解決obsidian無法載入第三方外掛筆記
- Laravel-Plugin 基於 Laravel 的外掛機制解決方案LaravelPlugin
- Android Studio 顯示Cannot resolve symbol 'XXX'的解決方式AndroidSymbol
- 關於Cannot resolve scoped service from root provider解決方案IDE
- 解決專案版本衝突——maven-shade外掛使用Maven
- 谷歌外掛下載谷歌
- 解決VScode下載外掛十分緩慢的問題VSCode
- Flutter外掛45.0.1版本卡頓解決方法與Plugin 'Flutter' is incompatible with this install!FlutterPlugin
- 有效解決Android SDK Manager無法更新下載的方法Android
- 手動下載 Chrome,解決 puppeteer 無法使用問題Chrome
- 解決go get 下載github專案慢或無法下載的問題!GoGithub
- Vite外掛開發紀實:vite-plugin-monitor(下)VitePlugin
- 自定義Gradle-Plugin 外掛GradlePlugin
- Grafana外掛Plugin中文漢化GrafanaPlugin
- Maven的常用外掛Maven
- Metasploit中aggregator外掛無法使用
- vs2017打包程式外掛無法下載(installer poject)和打包過程
- Mac電腦無法從Photoshop 2020作為外掛訪問DeNoise AI的解決辦法MacAI
- N1盒子掛載磁碟-解決盒子重啟後無法自動掛載問題
- 使用Maven打包你的應用——maven-jar-plugin & maven-assembly-plugin & maven-shade-pluginMavenJARPlugin