aleksandr-m / gitflow-maven-plugin

The Git-Flow Maven Plugin supports various Git workflows, including GitFlow and GitHub Flow. This plugin runs Git and Maven commands from the command line.
https://aleksandr-m.github.io/gitflow-maven-plugin/
Apache License 2.0
488 stars 180 forks source link

setting profile is not working on release-finish #332

Closed alapierre closed 2 years ago

alapierre commented 2 years ago

we have dedicated profile for building docker images. It is critical to build and deploy images on release phase. When I try to do this by

mvn -Pdocker gitflow:release-finish

profile is ignored. It will be nice if I can specify profile like eg. preReleaseGoals in plugin config

aleksandr-m commented 2 years ago

Use argLine to pass parameters to internal commands.

E.g.

mvn gitflow:release-finish -DargLine="-Pdocker"