Skip to content

Commit 0178154

Browse files
committed
GitFlow Profiles parameter
1 parent 20c2530 commit 0178154

File tree

6 files changed

+195
-92
lines changed

6 files changed

+195
-92
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,16 @@ E.g. `mvn gitflow:release-finish -DpostReleaseGoals=deploy` will run `mvn deploy
356356

357357
The `gitflow:hotfix-finish` goal has `preHotfixGoals` and `postHotfixGoals` parameters which can be used to run defined Maven goals before and after the hotfix respectively.
358358

359+
### Activating custom Maven profiles
360+
361+
The `profiles` parameter is avaliable for all maven commands executed.
362+
363+
The `mvn gitflow:feature-finish` goal has `preFeatureFinishProfiles` and `postFeatureFinishProfiles` parameters, which will be activated for the corresponding goals.
364+
365+
The `mvn gitflow:hotfix-finish` goal has `preHotfixProfiles` and `postHotfixProfiles` parameters, which will be activated for the corresponding goals.
366+
367+
The `mvn gitflow:release-finish` and `mvn gitflow:release` goal both have `preReleaseProfiles` and `postReleaseProfiles` parameters, which will be activated for the corresponding goals.
368+
359369
# Non-interactive Mode
360370

361371
Maven can be run in non-interactive (batch) mode. By using non-interactive mode goals can be run in continuous integration environment.

0 commit comments

Comments
 (0)