I have started using the jgitflow-maven-plugin and I am trying to automate releases with bamboo.
Basically the plugin is working. We are using a development-branch and the master-branch.
Running jgitflow:release-start and jgitflow:release-finish updates the version numbers correctly for the releases.
What I am missing is that the changes
- incrementing SNAPSHOT version on development-branch
- incrementing major-release number on master-branch
- creating a tag on the master-branch
are not pushed and merged to the remote repository.
The merges only seem to be done in the local repositories on bamboo. I would have expected the plugin to handle the push as well.
Below my pom-plugin configuration:
<plugin>
<groupId>external.atlassian.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>1.0-m5.1</version>
<configuration>
<flowInitContext>
<masterBranchName>master</masterBranchName>
<developBranchName>development</developBranchName>
<releaseBranchPrefix>release-</releaseBranchPrefix>
</flowInitContext>
<useReleaseProfile>false</useReleaseProfile>
<alwaysUpdateOrigin>true</alwaysUpdateOrigin>
<defaultOriginUrl>ssh://git@my-remote-repo.com/app.git</defaultOriginUrl>
</configuration>
</plugin>
Any ideas what I am missing?