commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <>
Subject [jira] [Created] (EMAIL-152) Make javamail implementation dependency optional
Date Thu, 19 Mar 2015 22:23:38 GMT
Thomas Neidhart created EMAIL-152:

             Summary: Make javamail implementation dependency optional
                 Key: EMAIL-152
             Project: Commons Email
          Issue Type: Improvement
    Affects Versions: 1.3
            Reporter: Thomas Neidhart
             Fix For: 1.4

Currently, commons-email has a transitive dependency to the reference implementation of javamail.

This can lead to problems when trying to use another implementation (e.g. geronimo or gnu)
at runtime, as one has to exclude dependencies.

So I propose to change the dependencies as follows:

 * use an optional compile time dependency to the latest javamail api:


 * add an optional runtime dependency to the javamail reference impl


that way both dependencies are not transitive, thus project including commons-email have the
opportunity to chose their javamail implementation.

geronimo implementation:

or the oracle reference impl, as outlined above.

This message was sent by Atlassian JIRA

View raw message