upgrade jakarta.mail to 2.0.0 (rename javax.mail -> jakarta.mail)#37
upgrade jakarta.mail to 2.0.0 (rename javax.mail -> jakarta.mail)#37davidmoten merged 1 commit intodavidmoten:masterfrom
Conversation
* package rename javax.mail -> jakarta.mail
|
This is a very frightening update. Every project using subetha will have to cope with dependency upgrade.. and packages renames :( |
|
there is a transformer plugin, which might be a good solution for the transition phase from javax to jakarta i'm not that happy with it, because afaik there is no depencency/compile-check against the new api-version, but the new API should be binary compatible with the previous version. see #38 |
|
I've got no objection to the breaking change to jakarta.mail. Updating package names in a few classes is not a big deal for me. Can you be more specific @diegosalvi about the problems this causes for you? |
@diegosalvi is right that this is a breaking change for dependent projects. the solution would be to publish both versions using the transformer plugin. btw. there is an invert - option (don't know exactly how it works, but it looks like transformation jakarta -> javax. tested it with invert option = true, but did not work for me) |
Yes indeed, but the breaking change is not difficult to adapt to as far as I can see. I'm in favour of migrating to jakarta.mail myself without transformer plugin but I'll wait for @diegosalvi to argue his case. |
|
@davidmoten Sooner or later this change must be done (... before that jackarta mail drifts too much from javamail). Could be a good thing to keep alive for some time a 5.2 branch running for some time at least for bugfixes |
Fine by me. |
|
I am now facing the problem that subethasmtp is still on 1.x, but we are using other libraries that did upgrade to Jakarta 2.x I think a bump in major to warn users is probably the best, next to keeping 5.x around for a while. |
|
Excuse the delay, I'll get on to this shortly. |
|
This has been merged and the jakarta.mail version 6.0.0 is now on Maven Central |
Uh oh!
There was an error while loading. Please reload this page.