3

How to work without develop branch in jgitflow-maven-plugin? We want to use the master branch as our common branch for continuous delivery, and sporadically do a "release" to deploy the solution. we don't use feature branch as we use feature-toggle instead. How should I configure jgitflow-maven-plugin for that need? By default it swaps the master branch with a so-called develop branch and assigns another meaning to the master branch: something like a snapshot of the last release.

jeromerg
  • 2,997
  • 2
  • 26
  • 36

1 Answers1

3

Try this :

<flowInitContext>
            <masterBranchName>master</masterBranchName>
            <developBranchName>master</developBranchName>
halfer
  • 19,824
  • 17
  • 99
  • 186
question_maven_com
  • 2,457
  • 16
  • 21
  • Thank you. I feared to get conflicts with this solution. I finally use `masterBranchName=tagged-release` and `developBranchName=master`, which is a similar solution. – jeromerg Jul 26 '16 at 15:10
  • 2
    WRONG!!! It doesn't work: you get the following error: `Error starting release: master and develop branches cannot be the same`. – jeromerg Sep 07 '16 at 21:43