Maven release:perform without deploy and calling an external shell script

前端 未结 2 868
谎友^
谎友^ 2021-01-31 18:27

I am using the maven release plugin. Problem is simple: I don\'t want to do a deploy on release:perform. I actually want to execute a shell script that will do the deploy for me

2条回答
  •  滥情空心
    2021-01-31 18:56

    A little late, but for reference:

    For your step 1, you can disable the maven deploy step by using the "skip" option. Click here for reference.

    On the commandline you could call something like:

    mvn release:perform -Darguments="-Dmaven.deploy.skip=true"
    

提交回复
热议问题