我想弄清楚,是否有可能在发布结束时部署所有工件。
我运行了以下命令(Passing -D arguments along to the release plugin in Maven):
mvn release:prepare
mvn release:perfom -Darguments=-DdeployAtEnd=true
输出包含部署结束时的信息,但不会发生:
[INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ web-app-application ---
[INFO] [INFO] Deploying project:web-app-application:1.0.0-RC6 at end
...
[INFO] [INFO] Finished at: 2015-02-24T12:52:36+01:00
[INFO] [INFO] Final Memory: 65M/339M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] Cleaning up after release...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] project ............................................ SUCCESS [ 37.837 s]