mvn release:prepare not committing changes to pom.xml

前端 未结 9 678
攒了一身酷
攒了一身酷 2020-11-28 05:11

I\'m trying to release a Jenkins plugin (stashNotifier) with Maven and face a problem with the release plugin.

mvn clean release:prepare

r

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-28 05:35

    You are probably reading this because the above solutions have not worked for you. I had the same issue and I tried everything mentioned here. My versions were: maven-release-plugin 2.5 and git 1.7.9

    The solution that worked for me was downgrading maven-release-plugin to version 2.3.2

    
        
            
                org.apache.maven.plugins
                maven-release-plugin
                2.3.2
                
                    true
                
            
        
    
    

提交回复
热议问题