Jens Heitmann created EMAIL-214:
-----------------------------------
Summary: commons-mail2 maven adds jakarta.mail.2.0.1 to
WEB-INF/lib interfering with server shipped version
Key: EMAIL-214
URL: https://issues.apache.org/jira/browse/EMAIL-214
Project: Commons Email
Issue Type: Bug
Affects Versions: 2.0.0-M1
Reporter: Jens Heitmann
The supplied version in the mvnrepository add's jakarta.mail as a dependency.
Downloading it to WEB-INF/lib add jakarta.mail as a dependency too, which
interferes i.E. with the version supplied with Apache Tomee.
If jakarta.mail is part of the server dependency is obsolete for deployment and
only required during build phase. If this is added to war file it may interfere
with i.E. eclipse-angus or Geronimo-mail
--
This message was sent by Atlassian Jira
(v8.20.10#820010)