Package: javamail / 1.6.5-1

11-jakarta-to-javax.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
Description: Reverts the Maven artifacts using the jakarta namespace to javax to preserve the backward compatibility.
 The new jakarta namespace will be used with the version 2.0 of JavaMail.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed


--- a/mail/pom.xml
+++ b/mail/pom.xml
@@ -28,16 +28,16 @@
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>
-    <artifactId>jakarta.mail</artifactId>
+    <artifactId>javax.mail</artifactId>
     <packaging>jar</packaging>
     <name>Jakarta Mail API</name>
 
     <properties>
 	<mail.extensionName>
-	    jakarta.mail
+	    javax.mail
 	</mail.extensionName>
 	<mail.moduleName>
-	    jakarta.mail
+	    javax.mail
 	</mail.moduleName>
 	<mail.specificationTitle>
 	    Jakarta Mail API Design Specification
--- a/pom.xml
+++ b/pom.xml
@@ -659,7 +659,7 @@
 			<additionalDependencies>
 			    <additionalDependency>
 				<groupId>com.sun.mail</groupId>
-				<artifactId>jakarta.mail</artifactId>
+				<artifactId>javax.mail</artifactId>
 				<version>${mail.version}</version>
 			    </additionalDependency>
 <!--
@@ -712,7 +712,7 @@
 	    </dependency>
 	    <dependency>
 		<groupId>com.sun.mail</groupId>
-		<artifactId>jakarta.mail</artifactId>
+		<artifactId>javax.mail</artifactId>
 		<version>${mail.version}</version>
 	    </dependency>
 	    <dependency>
--- a/mailapi/pom.xml
+++ b/mailapi/pom.xml
@@ -48,7 +48,7 @@
 	    com.sun.mail.handlers; version=${mail.osgiversion}
 	</mail.packages.export>
 	<mail.bundle.symbolicName>
-	    jakarta.mail.api
+	    javax.mail.api
 	</mail.bundle.symbolicName>
 	<mail.extraClasses>javax/**</mail.extraClasses>
     </properties>
@@ -113,7 +113,7 @@
 			    <artifactItems>
 				<artifactItem>
 				    <groupId>com.sun.mail</groupId>
-				    <artifactId>jakarta.mail</artifactId>
+				    <artifactId>javax.mail</artifactId>
 				    <version>${mail.version}</version>
 				    <classifier>sources</classifier>
 				    <outputDirectory>
@@ -128,7 +128,7 @@
 		    <artifactItems>
 			<artifactItem>
 			    <groupId>com.sun.mail</groupId>
-			    <artifactId>jakarta.mail</artifactId>
+			    <artifactId>javax.mail</artifactId>
 			    <version>${mail.version}</version>
 			</artifactItem>
 		    </artifactItems>
--- a/mailapijar/pom.xml
+++ b/mailapijar/pom.xml
@@ -34,20 +34,20 @@
 	<version>1.6.5</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-    <groupId>jakarta.mail</groupId>
-    <artifactId>jakarta.mail-api</artifactId>
+    <groupId>javax.mail</groupId>
+    <artifactId>javax.mail-api</artifactId>
     <packaging>jar</packaging>
     <name>Jakarta Mail API jar</name>
 
     <properties>
 	<mail.extensionName>
-	    jakarta.mail
+	    javax.mail
 	</mail.extensionName>
 	<mail.packages.export>
 	    javax.mail.*; version=${mail.spec.version}
 	</mail.packages.export>
 	<mail.bundle.symbolicName>
-	    jakarta.mail-api
+	    javax.mail-api
 	</mail.bundle.symbolicName>
     </properties>
 
@@ -75,7 +75,7 @@
 			    <artifactItems>
 				<artifactItem>
 				    <groupId>com.sun.mail</groupId>
-				    <artifactId>jakarta.mail</artifactId>
+				    <artifactId>javax.mail</artifactId>
 				    <version>${mail.version}</version>
 				    <classifier>sources</classifier>
 				    <outputDirectory>
@@ -90,7 +90,7 @@
 		    <artifactItems>
 			<artifactItem>
 			    <groupId>com.sun.mail</groupId>
-			    <artifactId>jakarta.mail</artifactId>
+			    <artifactId>javax.mail</artifactId>
 			    <version>${mail.version}</version>
 			</artifactItem>
 		    </artifactItems>
--- a/parent-distrib/pom.xml
+++ b/parent-distrib/pom.xml
@@ -62,7 +62,7 @@
 			    <artifactItems>
 				<artifactItem>
 				    <groupId>com.sun.mail</groupId>
-				    <artifactId>jakarta.mail</artifactId>
+				    <artifactId>javax.mail</artifactId>
 				    <version>${mail.version}</version>
 				    <classifier>sources</classifier>
 				    <outputDirectory>
@@ -77,7 +77,7 @@
 		    <artifactItems>
 			<artifactItem>
 			    <groupId>com.sun.mail</groupId>
-			    <artifactId>jakarta.mail</artifactId>
+			    <artifactId>javax.mail</artifactId>
 			    <version>${mail.version}</version>
 			</artifactItem>
 		    </artifactItems>