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
490 stars 182 forks source link

system properties are not propagated down to maven build itself #261

Closed mzatko closed 3 years ago

mzatko commented 3 years ago

as example: mvn -Dcustom.system.property gitflow:hotfix-finish

the property custom.system.property is not propagated down to build itself, in my case it is for build during gitflow:hotfix-finish goal but it is probably general bug It is not provided in main project build ([INFO] Cleaning and testing the project.) nor when running postHotfixGoals(probably postReleaseGoals as well) nor during additional build of develop branch when everything's finished

just side info: property is used to activate profile...

aleksandr-m commented 3 years ago

@mzatko Use argLine - https://github.com/aleksandr-m/gitflow-maven-plugin#maven-arguments

mzatko commented 3 years ago

yeah, it works this way, thank you