Add support for maven snapshot version updates #24754
Replies: 3 comments
-
I found this issue, which looks related: |
Beta Was this translation helpful? Give feedback.
-
#14300 includes essentially two feature requests, so let's keep this one for the "update snapshot versions" request and #14300 for "pin snapshot versions" (which should come second). For this one, we need a reproduction where there's a public package with these same characteristics. |
Beta Was this translation helpful? Give feedback.
-
Hi there, Help us by making a minimal reproduction repository. Before we can start work on your issue we first need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction to understand what is needed. We may close the issue if you (or someone else) have not provided a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
What would you like Renovate to be able to do?
I am currently implementing a project called MockPaper.
This project's dependency
paper-api
(familiar from Minecraft) uses the SNAPSHOT release.If you specify a dependency using the
-SNAPSHOT
suffix (e.x.1.18.1-R0.1-SNAPSHOT
), depending on when you build, the build may failed due to changes in method signatures, etc.Therefore, we are using a notation that points to a specific snapshot version (e.x.
1.18.1-R0.1-20220104.205543-66
), and we would like to update this specific snapshot version using renovate.If you have any ideas on how this should be implemented, please tell us here.
It appears that many Maven projects using SNAPSHOT releases are deployed using Nexus.
The tag structure for the SNAPSHOT version in Nexus is
{baseVersion}-{deployDate}-{random}-{rivision}
It seems to be like this.
All snapshots are searched from under
baseVersion
, andrivision
is the most.Is this a feature you are interested in implementing yourself?
No
Beta Was this translation helpful? Give feedback.
All reactions