Skip to content

Commit da8b3ba

Browse files
committed
Switch all dists over to the "jakartaee9" versions
1 parent cfd2933 commit da8b3ba

File tree

2 files changed

+7
-29
lines changed

2 files changed

+7
-29
lines changed

JAKARTAEE9.adoc

+1-23
Original file line numberDiff line numberDiff line change
@@ -64,29 +64,7 @@ If you have that profile in your ``~/.m2/settings.xml` already due to Jakarta EE
6464

6565
## Overwrite TomEE Distributions (hack)
6666

67-
After a successful TomEE build you need to overwrite the regular distributions with the Jakarta EE modified distributions.
68-
69-
INFO: Long-term our modified binaries will hopefully live at `org.apache.tomee:apache-tomee:apache-tomee-plume:zip:9.0.0-SNAPSHOT` without a "jakartaee9" classifier and this hack won't be necessary
70-
71-
In `tomee/apache-tomee/` of the main TomEE repo, create a file called `install.sh` with these contents and run it.
72-
73-
[source,bash]
74-
----
75-
#!/bin/bash
76-
77-
for n in target/*jakarta*.zip; do
78-
classifier=${n/-jakartaee*/}
79-
classifier=${classifier/*apache-tomee-/}
80-
81-
mvn install:install-file -Dfile=$n \
82-
-DgroupId=org.apache.tomee \
83-
-DartifactId=apache-tomee \
84-
-Dversion=8.0.3-SNAPSHOT \
85-
-Dpackaging=zip \
86-
-Dclassifier=$classifier \
87-
-DgeneratePom=true
88-
done
89-
----
67+
No longer necessary.
9068

9169
## Run your favorite test
9270

pom.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@
438438
<version>${tomee.version}</version>
439439
<type>zip</type>
440440
<outputDirectory>${project.build.directory}</outputDirectory>
441-
<classifier>webprofile</classifier>
441+
<classifier>webprofile-jakartaee9</classifier>
442442
</artifactItem>
443443
</artifactItems>
444444
</configuration>
@@ -455,7 +455,7 @@
455455
<artifactId>apache-tomee</artifactId>
456456
<type>zip</type>
457457
<version>${tomee.version}</version>
458-
<classifier>webprofile</classifier>
458+
<classifier>webprofile-jakartaee9</classifier>
459459
</dependency>
460460

461461
</dependencies>
@@ -496,7 +496,7 @@
496496
<version>${tomee.version}</version>
497497
<type>zip</type>
498498
<outputDirectory>${project.build.directory}</outputDirectory>
499-
<classifier>plus</classifier>
499+
<classifier>plus-jakartaee9</classifier>
500500
</artifactItem>
501501
</artifactItems>
502502
</configuration>
@@ -513,7 +513,7 @@
513513
<artifactId>apache-tomee</artifactId>
514514
<type>zip</type>
515515
<version>${tomee.version}</version>
516-
<classifier>plus</classifier>
516+
<classifier>plus-jakartaee9</classifier>
517517
</dependency>
518518

519519
</dependencies>
@@ -554,7 +554,7 @@
554554
<version>${tomee.version}</version>
555555
<type>zip</type>
556556
<outputDirectory>${project.build.directory}</outputDirectory>
557-
<classifier>plume</classifier>
557+
<classifier>plume-jakartaee9</classifier>
558558
</artifactItem>
559559
</artifactItems>
560560
</configuration>
@@ -571,7 +571,7 @@
571571
<artifactId>apache-tomee</artifactId>
572572
<type>zip</type>
573573
<version>${tomee.version}</version>
574-
<classifier>plume</classifier>
574+
<classifier>plume-jakartaee9</classifier>
575575
</dependency>
576576

577577
</dependencies>

0 commit comments

Comments
 (0)