Skip to content

Commit

Permalink
#489: switched from com.sun.mail:jakarta.mail to jakarta.mai:jakarta.…
Browse files Browse the repository at this point in the history
…mail-api + org.eclipse.angus:angus-mail
  • Loading branch information
bbottema committed Jan 17, 2024
1 parent 87c44b2 commit 3fa67d6
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 21 deletions.
2 changes: 1 addition & 1 deletion modules/batch-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>org.simplejavamail</groupId>
<artifactId>smtp-connection-pool</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
</dependency>
</dependencies>
</project>
13 changes: 7 additions & 6 deletions modules/core-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,15 @@

<!-- core dependencies -->
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>jakarta.mail</artifactId>
<version>2.0.1</version>
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
<version>2.0.1</version>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-mail</artifactId>
<version>2.0.2</version>
<scope>runtime</scope>
</dependency>

<dependency><!-- email validation framework -->
Expand Down
2 changes: 1 addition & 1 deletion modules/dkim-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>org.simplejavamail</groupId>
<artifactId>utils-mail-dkim</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion modules/simple-java-mail/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<dependency><!-- SMTP test server -->
<groupId>com.github.davidmoten</groupId>
<artifactId>subethasmtp</artifactId>
<version>6.0.1</version>
<version>6.0.7</version>
<scope>test</scope>
</dependency>
<!-- required for java 9+ compatibility with assertj-assertions-generator-maven-plugin, which uses javax.annotation.Generated -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.simplejavamail.converter.internal.mimemessage;

import com.sun.mail.smtp.SMTPMessage;
import org.eclipse.angus.mail.smtp.SMTPMessage;
import jakarta.activation.DataHandler;
import jakarta.mail.Address;
import jakarta.mail.Flags;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.simplejavamail.converter.internal.mimemessage;

import com.sun.mail.handlers.text_plain;
import org.eclipse.angus.mail.handlers.text_plain;
import jakarta.activation.ActivationDataFlavor;
import jakarta.activation.CommandMap;
import jakarta.activation.DataHandler;
Expand Down Expand Up @@ -719,7 +719,7 @@ public Date getSentDate() {
}

/**
* DataContentHandler for text/calendar, based on {@link com.sun.mail.handlers.text_html}.
* DataContentHandler for text/calendar, based on {@link org.eclipse.angus.mail.handlers.text_html}.
* <p>
* The unfortunate class name matches Java Mail's handler naming convention.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.simplejavamail.converter.internal.mimemessage;

import com.sun.mail.smtp.SMTPMessage;
import org.eclipse.angus.mail.smtp.SMTPMessage;
import jakarta.activation.DataHandler;
import jakarta.mail.Address;
import jakarta.mail.Flags;
Expand Down
2 changes: 1 addition & 1 deletion modules/smime-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>org.simplejavamail</groupId>
<artifactId>utils-mail-smime</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
</dependency>
</dependencies>
</project>
9 changes: 2 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.bbottema</groupId>
<artifactId>modular-project-parent</artifactId>
<version>1.0.21</version>
<version>1.0.23</version>
</parent>

<groupId>org.simplejavamail</groupId>
Expand Down Expand Up @@ -106,7 +106,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.32</version>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
Expand All @@ -128,11 +128,6 @@
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>
<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>2.0.1</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down

0 comments on commit 3fa67d6

Please sign in to comment.