[
https://issues.apache.org/jira/browse/EMAIL-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18071198#comment-18071198
]
Gary D. Gregory commented on EMAIL-214:
---------------------------------------
Hello [~jhstcde]
You write: "If this is added to war file it may interfere with i.E.
eclipse-angus or Geronimo-mail", specifically "it may". So does it? And if so,
what are the consequences?
TY!
> 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
> Priority: Major
>
> 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)