Failed to execute goal maven release:prepare

前端 未结 4 1042
滥情空心
滥情空心 2021-02-03 16:41

I\'m having problems when I run mvn release:prepare. I have the following message:

[ERROR] Failed to execute goal org.apache.maven.plugins: maven-release-plugin:         


        
4条回答
  •  迷失自我
    2021-02-03 17:34

    As of version 3.3.X, Maven renamed mvn.bat to mvn.cmd. This is fixed in the maven-release-plugin version 2.5.2: MRELEASE-902

    They suggest adding the following section in case the fixed plugin version is not picked up automatically:

      
        
            
              org.apache.maven.plugins
              maven-release-plugin
              2.5.1
              
                
                  org.apache.maven.shared
                  maven-invoker
                  2.2
                
              
            
        
      
    

提交回复
热议问题