Skip to content

Commit 78644d2

Browse files
committed
Update JavaMail and JAF
1 parent 1635c7a commit 78644d2

13 files changed

Lines changed: 20 additions & 28 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ updates:
2222
# 1.7 is the last version to support Java 8.
2323
- dependency-name: "com.google.googlejavaformat:google-java-format"
2424
versions: ">= 1.8"
25+
- dependency-name: "com.sun.mail:jakarta.mail"
26+
versions: ">= 2.0"
2527
- dependency-name: "com.sun.xml.messaging.saaj:saaj-impl"
2628
versions: ">= 2.0"
2729
- dependency-name: "com.sun.xml.ws:*"

‎databinding-tests/jaxbri-tests/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
</dependency>
6767
<dependency>
6868
<groupId>com.sun.mail</groupId>
69-
<artifactId>javax.mail</artifactId>
69+
<artifactId>jakarta.mail</artifactId>
7070
<scope>test</scope>
7171
</dependency>
7272
</dependencies>

‎modules/adb/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
</dependency>
7272
<dependency>
7373
<groupId>com.sun.activation</groupId>
74-
<artifactId>javax.activation</artifactId>
74+
<artifactId>jakarta.activation</artifactId>
7575
<scope>test</scope>
7676
</dependency>
7777
<dependency>
7878
<groupId>com.sun.mail</groupId>
79-
<artifactId>javax.mail</artifactId>
79+
<artifactId>jakarta.mail</artifactId>
8080
<scope>test</scope>
8181
</dependency>
8282
</dependencies>

‎modules/integration/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
</dependency>
133133
<dependency>
134134
<groupId>com.sun.activation</groupId>
135-
<artifactId>javax.activation</artifactId>
135+
<artifactId>jakarta.activation</artifactId>
136136
<scope>test</scope>
137137
</dependency>
138138
<dependency>

‎modules/jaxws-integration/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
</dependency>
8383
<dependency>
8484
<groupId>com.sun.activation</groupId>
85-
<artifactId>javax.activation</artifactId>
85+
<artifactId>jakarta.activation</artifactId>
8686
<scope>test</scope>
8787
</dependency>
8888
<dependency>

‎modules/jaxws/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</dependency>
5656
<dependency>
5757
<groupId>com.sun.mail</groupId>
58-
<artifactId>javax.mail</artifactId>
58+
<artifactId>jakarta.mail</artifactId>
5959
</dependency>
6060
<dependency>
6161
<groupId>xml-resolver</groupId>

‎modules/kernel/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
</dependency>
108108
<dependency>
109109
<groupId>com.sun.mail</groupId>
110-
<artifactId>javax.mail</artifactId>
110+
<artifactId>jakarta.mail</artifactId>
111111
<scope>test</scope>
112112
</dependency>
113113
<dependency>
@@ -117,7 +117,7 @@
117117
</dependency>
118118
<dependency>
119119
<groupId>com.sun.activation</groupId>
120-
<artifactId>javax.activation</artifactId>
120+
<artifactId>jakarta.activation</artifactId>
121121
<scope>test</scope>
122122
</dependency>
123123
</dependencies>

‎modules/osgi-tests/pom.xml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</dependency>
4646
<dependency>
4747
<groupId>com.sun.mail</groupId>
48-
<artifactId>javax.mail</artifactId>
48+
<artifactId>jakarta.mail</artifactId>
4949
<scope>test</scope>
5050
</dependency>
5151
<dependency>
@@ -126,10 +126,6 @@
126126
<artifactId>geronimo-servlet_2.5_spec</artifactId>
127127
<version>1.2</version>
128128
</artifact>
129-
<artifact>
130-
<groupId>com.sun.activation</groupId>
131-
<artifactId>javax.activation</artifactId>
132-
</artifact>
133129
<artifact>
134130
<groupId>org.apache.servicemix.bundles</groupId>
135131
<artifactId>org.apache.servicemix.bundles.commons-httpclient</artifactId>

‎modules/osgi-tests/src/test/java/OSGiTest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ public void test() throws Throwable {
6161
url("link:classpath:org.apache.felix.configadmin.link"),
6262
url("link:classpath:org.apache.servicemix.bundles.wsdl4j.link"),
6363
url("link:classpath:org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec.link"),
64-
url("link:classpath:com.sun.activation.javax.activation.link"),
65-
url("link:classpath:com.sun.mail.javax.mail.link"), // TODO: should no longer be necessary
64+
url("link:classpath:com.sun.activation.jakarta.activation.link"),
65+
url("link:classpath:com.sun.mail.jakarta.mail.link"), // TODO: should no longer be necessary
6666
url("link:classpath:org.apache.geronimo.specs.geronimo-servlet_2.5_spec.link"),
6767
url("link:classpath:org.apache.james.apache-mime4j-core.link"),
6868
url("link:classpath:org.apache.ws.commons.axiom.axiom-api.link"),

‎modules/tool/axis2-ant-plugin/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
</dependency>
8282
<dependency>
8383
<groupId>com.sun.mail</groupId>
84-
<artifactId>javax.mail</artifactId>
84+
<artifactId>jakarta.mail</artifactId>
8585
</dependency>
8686
<dependency>
8787
<groupId>org.apache.ant</groupId>

0 commit comments

Comments
 (0)