Maven plugins can not be found in IntelliJ

前端 未结 30 1207
暗喜
暗喜 2020-12-04 10:09

After updating IntelliJ from version 12 to 13, the following Maven-related plugins cannot be resolved:

org.apache.maven.plugins:maven-clean-plugin:2.4.1
org.a         


        
30条回答
  •  既然无缘
    2020-12-04 10:37

    I had the same error and was able to get rid of it by deleting my old Maven settings file. Then I updated the Maven plugins manually using the mvn command:

    mv ~/.m2/settings.xml ~/.m2/settings.xml.old
    mvn -up
    

    Finally I ran the "Reimport All Maven Projects" button in the Maven Project tab in IntelliJ. The errors vanished in my case.

提交回复
热议问题