-
Notifications
You must be signed in to change notification settings - Fork 184
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
Provide an uberjar with mail impl relocated #282
Comments
Hi @rmannibucau ! Which other impl? |
I use geronimo-javamail. |
GreenMail will go for JavaMail 1.6.x with next GreenMail 1.6 release. This might be a problem, as geronimo-java seems to implement only up to JavaMail 1.5.x releases, and also does not show much of recent activity.... ? |
@marcelmay there are two points:
It also does not cost much to greenmail to not depend hard on an impl thanks shadowing and would make it a generic product. Side note/bonus: if a jakarta API arrives it will also support it transparently ;). |
FYI https://issues.apache.org/jira/browse/TOMEE-2606 and geronimo-javamail 1.5 will likely be released in the coming days |
@rmannibucau , sorry for the delay. To summarize (please correct me): Make GreenMail independent of SUN/Oracle specific classes, so that GreenMail only uses JavaMail-API and therefore can use different JavaMail-API implementations. Examples:
I'd prefer this approach, instead of re-packing/-locating JavaMail (which is also a licensing issue, with the internal vendor extension of com.sun.* alias Oracle packages). |
@marcelmay sounds perfect to me, just thought relocation was a 15mn work vs supporting other stores but I like your proposal better |
Up, any news on this one? I'm hitting this again and with this jakarta renaming thing it gets more and more complicated to manage the dependencies overrides/exclusions so would be awesome to have greenmail + greenmail- deps. |
@rmannibucau , I'll try to look into this over xmas vacation. I am curious about separating out the mail implementation. |
Hi,
when using another impl than javax.mail, greenmail fails because it finds the wrong stores.
Is it possible to deliver an uber jar relocating config+classes in 1.6 to ensure it becomes compatible?
Thanks,
Romain
The text was updated successfully, but these errors were encountered: