Maven plugins can not be found in IntelliJ

前端 未结 30 1245
暗喜
暗喜 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:31

    My case:

    • maven-javadoc-plugin with version 3.2.0 is displayed red in IntelliJ.
    • Plugin is present in my local maven repo.
    • Re-imported maven million times.
    • Ran mvn clean install from the command line N times.
    • All my maven settings in IntelliJ are correct.
    • Tried to switch between Bundled and non-bundled Maven.
    • Tried do delete the whole maven repo and to delete only the plugin from it.
    • Nothing of the above worked.
    • The only thing that almost always helps with modern IntelliJ IDEA versions is "Invalidate caches / Restart". It helped this time as well. maven-javadoc-plugin is not red anymore, and I can click on it and to to the source pom file of the plugin.

提交回复
热议问题