how to make maven release plugin skip tests?

后端 未结 5 2023
感动是毒
感动是毒 2021-02-03 19:59

I\'m running mvn release:prepare -Darguments=\"-Dmaven.test.skip=true -DskipTests\" on the master checkout of Spotify\'s docker-client. But I can\'t get maven\'s re

5条回答
  •  灰色年华
    2021-02-03 20:41

    This worked for me. I wanted to both prepare and perform the release.

    mvn clean -DskipTests -Darguments=-DskipTests release:prepare release:perform
    

提交回复
热议问题