You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JDK14 JPMS problem - module colesico.armario.mailer reads package org.simplejavamail.internal.modules from both org.simplejavamail.core and org.simplejavamail #265
Simple Java Mail now ships Java 9 module descriptors in the core and facade jars as multi-release entries. Modular consumers should only need:
modulemy.app {
requiresorg.simplejavamail;
}
The facade module declares requires transitive org.simplejavamail.core, so applications no longer need to require both org.simplejavamail and org.simplejavamail.core. This also completes the multi-release/jlink request from #237.
Activity
bbottema commentedon May 11, 2020
Yikes, I don't have much experience with modules in Java, so right now your guess is as good as mine (probably better :P)
keiki61 commentedon May 19, 2020
Hi. I have encountered the same issue when I expiremented with modules.
The problem imo is described here:
https://stackoverflow.com/questions/42358084/package-conflicts-with-automatic-modules-in-java-9
From my understanding is the issue that both jars provide the same packages.
Yet I'm also new to the module topic and was just expirementing with it on a private play around project.
colesico commentedon May 21, 2020
To make good jpms support in my opinion it is need to do the following:
zetti12345 commentedon Nov 24, 2021
Is there a plan to provide simple-java-mail JPMS conform?
fix(jpms): add multi-release module descriptors
bbottema commentedon Jul 6, 2026
Fixed in 12aa7d3 as part of 9.0.0.
Simple Java Mail now ships Java 9 module descriptors in the core and facade jars as multi-release entries. Modular consumers should only need:
The facade module declares
requires transitive org.simplejavamail.core, so applications no longer need to require bothorg.simplejavamailandorg.simplejavamail.core. This also completes the multi-release/jlink request from #237.bbottema commentedon Jul 8, 2026
Released in Simple Java Mail v9.0.0, which is now available from Maven Central:
https://repo1.maven.org/maven2/org/simplejavamail/simple-java-mail/9.0.0/
Release notes:
https://github.com/bbottema/simple-java-mail/releases/tag/9.0.0