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

Update snapshots with coresponding releases #218

Open levitin opened 4 years ago

levitin commented 4 years ago

This feature allows replacing all released -SNAPSHOT dependencies with the corresponding release versions. The feature is optional and can be activated with optional parameter:

<updateSnapshotDependencies>true</updateSnapshotDependencies>

aleksandr-m commented 3 years ago

@levitin It took some time :). Do you still need this? Do you have specific problem that you're trying to solve with this changes?

levitin commented 3 years ago

Do you have specific problem that you're trying to solve with this changes?

Yes, with this optional feature all snapshot dependencies are automatically replaced with corresponding releases, but only if the appropriate release exists. This information provides embedded Maven Versions Plugin.

If this feature ist interesting for the community, I would resolve merge conflicts and also create integration tests.

aleksandr-m commented 3 years ago

Not sure it should be a part of this plugin. It can be set in postReleaseGoals also.