-
New Feature
-
Resolution: Unresolved
-
Major
-
None
For continuous deployment, one needs every build to have its own release version number (not SNAPSHOT). When one dependency is built it is necessary to trigger the build of dependent projects.
We would like the plugin to trigger the build of dependent projects even if they are not SNAPSHOT dependencies.
This functionality requested is very similar to what is available in the Ivy trigger (https://wiki.jenkins-ci.org/display/JENKINS/IvyTrigger+Plugin).
[JENKINS-31729] maven-dependency-update-trigger-plugin should be able to trigger for non-snapshot builds also
Workflow | Original: JNJira [ 167170 ] | New: JNJira + In-Review [ 182622 ] |
Assignee | Original: Olivier Lamy [ olamy ] |
Here are the comments copied from the GItHub Issue where this originated (https://github.com/jenkinsci/maven-dependency-update-trigger-plugin/issues/5)
ssotangk commented on Oct 22
In a continuous deployment environment, each build artifact should have a release number instead of a snapshot. Teams should have a choice to build when a dependency is built even if the dependency is not a snapshot dependency.
@emoshaya-cognito
emoshaya-cognito commented 13 days ago
completely agree with @ssotangk we will also stop using snapshots in our builds in order to have every commit a potential release. It would be nice to have the update trigger support release dependencies too.
@victornoel
victornoel commented a day ago
Well… if it's not a SNAPSHOT, you have to update the version in the dependant project for the latest version to be used, and then commit it, which should trigger a build: you don't need maven-dependency-update-trigger-plugin for that!
@ssotangkur
ssotangkur commented 22 hours ago
Hi @victornoel, I'm saying that if we can trigger the dependent project to run, then the project can do the dependency check and update its own dependency's versions.
You're right in that if we could know when a dependent project should update its dependencies, then we could update them and that would trigger a commit and then cause it to be built w/o maven-dependency-update-trigger-plugin. The one only thing that's missing, however, is we still need that thing that lets us know we should update a particular project (out of possibly many other projects) because its dependency(s) have been updated. An "update-trigger" is nice for this because, it not only let's us know which ones need updating, but also goes ahead and triggers them to start that process.