You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2021/10/28 14:20:30 UTC

[ant] branch master updated (44582f1 -> c3585ae)

This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git.


    from 44582f1  Merge pull request #161 from twogee/jakarta-mail
     new c3e12bf  fix versions
     new c3585ae  document #161

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 WHATSNEW                                                           | 7 +++++++
 manual/Tasks/mail.html                                             | 4 +++-
 src/etc/poms/ant-jakartamail/pom.xml                               | 6 +++---
 .../org/apache/tools/ant/taskdefs/email/JakartaMimeMailer.java     | 2 +-
 4 files changed, 14 insertions(+), 5 deletions(-)

[ant] 01/02: fix versions

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git

commit c3e12bfadd6cd946c1753551c4a82a80b2acb6f7
Author: Stefan Bodewig <st...@innoq.com>
AuthorDate: Thu Oct 28 16:09:58 2021 +0200

    fix versions
---
 src/etc/poms/ant-jakartamail/pom.xml                                | 6 +++---
 src/main/org/apache/tools/ant/taskdefs/email/JakartaMimeMailer.java | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/etc/poms/ant-jakartamail/pom.xml b/src/etc/poms/ant-jakartamail/pom.xml
index 4d17f87..cb55f9c 100644
--- a/src/etc/poms/ant-jakartamail/pom.xml
+++ b/src/etc/poms/ant-jakartamail/pom.xml
@@ -26,13 +26,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
     <groupId>org.apache.ant</groupId>
     <artifactId>ant-parent</artifactId>
     <relativePath>../pom.xml</relativePath>
-    <version>1.10.12-SNAPSHOT</version>
+    <version>1.10.13-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <url>https://ant.apache.org/</url>
   <groupId>org.apache.ant</groupId>
   <artifactId>ant-jakartamail</artifactId>
-  <version>1.10.12-SNAPSHOT</version>
+  <version>1.10.13-SNAPSHOT</version>
   <name>Apache Ant + JakartaMail</name>
   <description>implementation of the mail task based on Jakarta EE mail.
     Required to send emails to SMTP servers using user/password combinations
@@ -41,7 +41,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/m
     <dependency>
       <groupId>org.apache.ant</groupId>
       <artifactId>ant</artifactId>
-      <version>1.10.12-SNAPSHOT</version>
+      <version>1.10.13-SNAPSHOT</version>
       <scope>compile</scope>
     </dependency>
     <dependency>
diff --git a/src/main/org/apache/tools/ant/taskdefs/email/JakartaMimeMailer.java b/src/main/org/apache/tools/ant/taskdefs/email/JakartaMimeMailer.java
index 80d3fda..a1ebb98 100644
--- a/src/main/org/apache/tools/ant/taskdefs/email/JakartaMimeMailer.java
+++ b/src/main/org/apache/tools/ant/taskdefs/email/JakartaMimeMailer.java
@@ -58,7 +58,7 @@ import org.apache.tools.ant.Project;
 /**
  * Uses the JakartaMail classes to send Mime format email.
  *
- * @since Ant 1.10.12
+ * @since Ant 1.10.13
  */
 public class JakartaMimeMailer extends Mailer {
     private static final String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";

[ant] 02/02: document #161

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git

commit c3585aef09399e44f1a10c61cf7e4af80c017a3d
Author: Stefan Bodewig <st...@innoq.com>
AuthorDate: Thu Oct 28 16:20:09 2021 +0200

    document #161
---
 WHATSNEW               | 7 +++++++
 manual/Tasks/mail.html | 4 +++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/WHATSNEW b/WHATSNEW
index c78da8d..293f486 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -1,6 +1,13 @@
 Changes from Ant 1.10.12 TO Ant 1.10.13
 =======================================
 
+Other changes:
+--------------
+
+* added an implementation of the MIME Mail sender based on the
+  repackaged Jakarta Mail package rather than javax Mail.
+  Github Pull Request #161
+
 Changes from Ant 1.10.11 TO Ant 1.10.12
 =======================================
 
diff --git a/manual/Tasks/mail.html b/manual/Tasks/mail.html
index a2e0815..3b51a64 100644
--- a/manual/Tasks/mail.html
+++ b/manual/Tasks/mail.html
@@ -29,7 +29,7 @@
 <p>A task to send SMTP email.</p>
 <p>This task can send mail using either plain text, UU encoding, or MIME format mail, depending on
 what is available.</p>
-<p>SMTP auth and SSL/TLS require JavaMail and are only available in MIME format.</p>
+<p>SMTP auth and SSL/TLS require JavaMail or JakartaMail and are only available in MIME format.</p>
 <p>Attachments may be sent using nested <code>&lt;attachments&gt;</code> elements, which
 are <a href="../using.html#path">path-like structures</a>.  This means any filesystem
 based <a href="../Types/resources.html">resource</a> or resource collection can be used to point to
@@ -39,6 +39,8 @@ container.</p>
 <p><strong>Note</strong>: This task may depend on external libraries that are not included in the
 Ant distribution.  See <a href="../install.html#librarydependencies">Library Dependencies</a> for
 more information.</p>
+<p>Starting with Ant 1.10.13 Ant supports either the modern <code>jakarta.mail</code> as well as the
+  older <code>javax.mail</code> implementations and will prefer <code>jakarta.mail</code> if both are available.</p>
 
 <h3>Parameters</h3>
 <table class="attr">