glennosss opened a new pull request #923:
URL: https://github.com/apache/james-project/pull/923
Upgraded from Legacy JavaMail to Jakarta Mail 2.0.1/Activation 2.0.1;
https://github.com/eclipse-ee4j/mail/releases
https://github.com/eclipse-ee4j/jaf/releases
Also upgraded from Bouncy Castle 'bcmail' (Legacy JavaMail) to Bouncy Castle
'bcjmail' (Jakarta Mail);
Read https://github.com/bcgit/bc-java/issues/832
More specifically;
'com.sun.mail:jakarta.mail:2.0.1' from 'com.sun.mail:javax.mail' /
'javax.mail:mail' / 'org.apache.geronimo.javamail:geronimo-javamail_1.4_mail'
'com.sun.activation:jakarta.activation:2.0.1' from
'com.sun.activation:javax.activation' / 'javax.activation:activation' /
'javax.activation:javax.activation-api'
'org.bouncycastle:bcjmail-jdk15on' from 'org.bouncycastle:bcmail-jdk15on'
Most of this change involved replacing the following strings;
import javax.mail. -> import jakarta.mail.
import javax.activation. -> import jakarta.activation.
import static javax.mail. -> import static jakarta.mail.
Also updated license files as well.
### Assistance required to complete pull request
A majority of my time was spent fixing checkstyle issues which I believe are
mostly resolved - there may be one or two remaining checkstyle issues because I
wasn't able to build the entire project successfully. Please excuse the minor
change to `checkstyle.xml` to ImportOrder groups - "javax" changed to
"javax,jakarta" - it was done to make the review process as easy as possible
(import orders would have had to change radically without this making review
harder). If it's a big deal for any one, I suggest changing it in a later pull
request - otherwise it would make this pull request far too unwieldy.
I'm hoping the project's maintainers can continue this pull request on my
behalf from here. But as I said I'm confident this change is 99% complete.
Thanks in advance for your support.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]