Maven plugins can not be found in IntelliJ

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

    For me it was as simple as giving the plugin a version:

    3.3.0
    

    The full plugin code sample is given below:

    
    
      
        org.apache.maven.plugins
        maven-assembly-plugin
        3.3.0
        
          
            package
            
              single
            
            
              
                
                  Main
                
              
              
                jar-with-dependencies
              
            
          
        
      
    

提交回复
热议问题