-
New Feature
-
Resolution: Unresolved
-
Major
-
None
SNAPSHOTs I find to be one of the biggest pains to deal with in maven. One major part of that is that you can not rebuild a build that was built a week ago because the SNAPSHOTs have changed since then and it is hard to track which SNAPSHOT was used for which build. Release level artifacts are not a problem since they do not change.
Add to the maven jenkins plugin the ability to archive the SNAPSHOTs (transitive dependencies included) used to build that build.
[JENKINS-11426] Add checkbox to maven 2/3 configuration to archive the maven snapshots used for the build.
Component/s | New: maven-plugin [ 16033 ] | |
Component/s | Original: maven2 [ 15487 ] |
Workflow | Original: JNJira [ 141653 ] | New: JNJira + In-Review [ 175520 ] |
That could really be a loooot of jars to archive. Plus - if I understand you correctly - you not only want the ability to archive the snapshot, but also the rebuild based on the archived artifacts instead of the ones from the maven repository, right?
IMHO, this is not very likely to be implemented (unless you do it yourself and created a pull request) and also to be honest not a very desirable feature, too. This is basically working against everything what snapshots are supposed to be. If you're really concerned about reproducability of builds, you should only use released versions!
And BTW: you can track which snapshots were used for old builds by checking Jenkins' fingerprints.