e-gineering / gitflow-helper-maven-plugin

An extension and plugin that teaches Maven to work well with gitflow projects and CI servers.
Apache License 2.0
76 stars 21 forks source link

Continuing the march to 1.0.0... #4

Closed bvarner closed 9 years ago

bvarner commented 9 years ago

Updated some of the readme, to include the new section for why you'd want to use this.

Added build lifecycle extension to alter behavior of the build in a 'master' branch by removing all the plugins from the reactor project except for this plugin. When used in conjunction with the promote-master or tag-master goals, this gets us exactly what we want for 'deploys from the master branch'. The artifacts to deploy to release are resolved from the test-release repository, and then deployed to the release repository. No rebuilds, no re-tests, no additional room for error from accidental merges to master.

This effectively closes the loop on 'builds in master and pushed to the release repository are not identical to the build we tested'.

This added a second goal which pushed some abstractions a bit lower. I expect some clean-up suggestions on this, and will update the pull request accordingly as we go on.

Once we have a 1.0.0 in the master for this repository, we'll move to the gitflow branching model for future work on this project.