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.
Here is the script line:
sh './mvnw gitflow:hotfix-start -B -DfromBranch="support/test" -s $MAVEN_SETTINGS -DmvnExecutable=$(pwd)/mvnw -Dsurefire.useSystemClassLoader=false -Dgitflow.push.remote=true -Dgitflow.maven.argline="-s $MAVEN_SETTINGS -Dgitflow.push.remote=true"'
Here is the error:
[ERROR] Failed to execute goal com.amashchenko.maven.plugin:gitflow-maven-plugin:1.11.0:hotfix-start (default-cli) on project ***: The fromBranch is not production or support branch. -> [Help 1]
Here is the support branch created in Bitbucket:
It works with -DfromBranch="master" or without the parameter at all but it seems like support branches are not accepted.
Here is the script line: sh './mvnw gitflow:hotfix-start -B -DfromBranch="support/test" -s $MAVEN_SETTINGS -DmvnExecutable=$(pwd)/mvnw -Dsurefire.useSystemClassLoader=false -Dgitflow.push.remote=true -Dgitflow.maven.argline="-s $MAVEN_SETTINGS -Dgitflow.push.remote=true"'
Here is the error: [ERROR] Failed to execute goal com.amashchenko.maven.plugin:gitflow-maven-plugin:1.11.0:hotfix-start (default-cli) on project ***: The fromBranch is not production or support branch. -> [Help 1]
Here is the support branch created in Bitbucket:
It works with -DfromBranch="master" or without the parameter at all but it seems like support branches are not accepted.