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

Release finish fails complaining about snapshots in dependencies from develop branch #169

Closed manderson23 closed 5 years ago

manderson23 commented 5 years ago

I use release start and release finish as follows:

mvn gitflow:release-start -DpushRemote=true -DversionDigitToIncrement=1 -DcommitDevelopmentVersionAtStart=true

mvn gitflow:release-finish -DpushRemote=true -DcommitDevelopmentVersionAtStart=true -DskipTestProject=true

When running release finish it fails with the error There is some SNAPSHOT dependencies in the project, see warnings above. Change them or ignore withallowSnapshotsproperty.

However, the snapshot dependencies are on the develop branch and not the release branch.

If I run release finish for a second time then it succeeds.