-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define versioning policy? #392
Comments
We've been trying to follow semver, at least for minor/patch (we haven't done any major...)
That's definitely a problem. See below.
See #384. My original idea was to be able to support multiple maven versions managed from the same
Currently, rolling up patches is quite easy. We haven't been back porting anything at this point. Patch releases only occur on the current master branch. For maven, we didn't had the problem until 3.8.1, which also contains a breaking change, so it's a bit complicated.
|
I see, is it possible to get a wiki page writing at least the semver point and that the maven relationship is "in progress" (I guess it is fine while 0.x but hope it will be clarified for >= 1.x). |
for version below 3.3.x, a ton of works needs to be done. |
Guess >= 3.6 is sufficient no? |
I just saw that when integrated into the maven codebase, the maven wrapper was tightly coupled to maven. The old wrapper could work on top of existing maven distribution, but the new one can not. If being able to support old maven versions is never a goal of the maven team, I'm not sure why we should spend too much time on that. @rmannibucau ? |
Because maven will deliver the wrapper with each version, potentially of all branch. If each new maven release gets a mvnd matching release it just needs a versioning standard definition but works too. |
notice that this aspect has been fully removed in wrapper 3.1.0 MWRAPPER-14 in December 2021, because as you saw, it caused many issues: current wrapper 3.1.0+ https://maven.apache.org/wrapper/ can download any Maven release |
But not yet mvnd so either we add it to the distro, we update it, we add alazy download to the distro or something else but right now mvn and mvnd are not consistent in our ecosystem IMHO and we could do better for users. |
I don't want to have mvnd automatically downloaded by wrapper: I want mvnd client/server architecture to be able to run with any Maven version (with eventually some compatibility limits) |
@hboutemy ok so what would be the plan, mvnd downloads mvn (so it stays another distro but adds some download capacity - potentially just using jre httpclient since nobody runs it on java 8 probably to stay light), we create one bin per version+bundle it in mvn then mvnd relies on the existing one (the opposite requiring to release mvnd with new mvn versions so not solving the issue)? This issue is almost 2 years old so thought it would be easier to couple them but if you think we can avoid it +1 while it does not enforce to download mvnd+mvn manually for each upgrade. |
Most of the performance improvements come from the ability to customise the maven and this requires tight integration for now. At beginning, mvnd had to rewrite a bunch of maven classes. The number slowly goes down, but it will be difficult to have What could be done, is to have different versions of I was planning at releasing a At the end, I'm not sure if it's easier to maintain multiple branches of mvnd focused on different version of maven, or to try to support them all in a single branch... At this point, I'm leaning toward the first solution because it's much less time consuming I think. |
Think the easiest is to release both at a single distribution then we can propose at download current distro or another distro with mvn + mvnd, sounds the simplest for us on the long run. |
Well, |
@gnodet the need is to get all scripts in |
…ache#392 We may need to revisit the logging configuration to be closer to maven if needed.
…ache#392 We may need to revisit the logging configuration to be closer to maven if needed.
… (#769) # Conflicts: # dist/src/main/provisio/maven-distro.xml
Hi all,
Is it possible to get some versioning policy around mvnd.
Statements I would expect are:
Thanks.
The text was updated successfully, but these errors were encountered: