Skip to content

Commit 75bc8ef

Browse files
committed
Migrate to Jakarta EE 9.
Closes #1543
1 parent b7edf47 commit 75bc8ef

File tree

1 file changed

+86
-5
lines changed

1 file changed

+86
-5
lines changed

parent/pom.xml

Lines changed: 86 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,13 @@
101101
<apt>1.1.3</apt>
102102
<aspectj>1.9.7</aspectj>
103103
<assertj>3.20.2</assertj>
104-
<cdi>1.0</cdi>
104+
<cdi>3.0.0</cdi>
105105
<commons-io>2.5</commons-io>
106106
<guava>19.0</guava>
107107
<hamcrest>1.3</hamcrest>
108108
<jackson>2.13.0-rc2</jackson>
109-
<jaxb>2.3.1</jaxb>
109+
<jakarta-annotation-api>2.0.0</jakarta-annotation-api>
110+
<jaxb>3.0.1</jaxb>
110111
<jacoco>0.8.7</jacoco>
111112
<jmolecules>1.3.0</jmolecules>
112113
<jmolecules-integration>0.5.0</jmolecules-integration>
@@ -130,14 +131,13 @@
130131
<spring>6.0.0-SNAPSHOT</spring>
131132
<spring-hateoas>1.4.0-M3</spring-hateoas>
132133
<spring-plugin>3.0.0-SNAPSHOT</spring-plugin>
133-
<servlet-api>4.0.1</servlet-api>
134+
<servlet-api>5.0.0</servlet-api>
134135
<testcontainers>1.16.0</testcontainers>
135-
<validation>1.1.0.Final</validation>
136+
<validation>3.0.0</validation>
136137
<webbeans>2.0.23</webbeans>
137138

138139
<!-- OWB requires via XBean a newer ASM version -->
139140
<webbeans.xbean>4.20</webbeans.xbean>
140-
<javax-annotation-api>1.3.2</javax-annotation-api>
141141

142142
<!-- Used in asciidoc reference documentation -->
143143
<releasetrain>2022.1.0-SNAPSHOT</releasetrain>
@@ -845,6 +845,87 @@
845845
<type>pom</type>
846846
<scope>import</scope>
847847
</dependency>
848+
<dependency>
849+
<groupId>jakarta.enterprise</groupId>
850+
<artifactId>jakarta.enterprise.cdi-api</artifactId>
851+
<version>${cdi}</version>
852+
<optional>true</optional>
853+
</dependency>
854+
<dependency>
855+
<groupId>jakarta.servlet</groupId>
856+
<artifactId>jakarta.servlet-api</artifactId>
857+
<version>${servlet-api}</version>
858+
<optional>true</optional>
859+
</dependency>
860+
<dependency>
861+
<groupId>jakarta.validation</groupId>
862+
<artifactId>jakarta.validation-api</artifactId>
863+
<version>${validation}</version>
864+
</dependency>
865+
866+
<!-- OpenWebBeans provides Jakarta EE Artifacts through a classifier -->
867+
868+
<dependency>
869+
<groupId>org.apache.openwebbeans</groupId>
870+
<artifactId>openwebbeans-se</artifactId>
871+
<classifier>jakarta</classifier>
872+
<version>${webbeans}</version>
873+
<scope>test</scope>
874+
<exclusions>
875+
<exclusion>
876+
<groupId>org.apache.openwebbeans</groupId>
877+
<artifactId>*</artifactId>
878+
</exclusion>
879+
<exclusion>
880+
<groupId>org.apache.geronimo.specs</groupId>
881+
<artifactId>*</artifactId>
882+
</exclusion>
883+
</exclusions>
884+
</dependency>
885+
886+
<dependency>
887+
<groupId>org.apache.openwebbeans</groupId>
888+
<artifactId>openwebbeans-spi</artifactId>
889+
<classifier>jakarta</classifier>
890+
<version>${webbeans}</version>
891+
<scope>test</scope>
892+
<exclusions>
893+
<exclusion>
894+
<groupId>org.apache.openwebbeans</groupId>
895+
<artifactId>*</artifactId>
896+
</exclusion>
897+
<exclusion>
898+
<groupId>org.apache.geronimo.specs</groupId>
899+
<artifactId>*</artifactId>
900+
</exclusion>
901+
</exclusions>
902+
</dependency>
903+
904+
<dependency>
905+
<groupId>org.apache.openwebbeans</groupId>
906+
<artifactId>openwebbeans-impl</artifactId>
907+
<classifier>jakarta</classifier>
908+
<version>${webbeans}</version>
909+
<scope>test</scope>
910+
<exclusions>
911+
<exclusion>
912+
<groupId>org.apache.openwebbeans</groupId>
913+
<artifactId>*</artifactId>
914+
</exclusion>
915+
<exclusion>
916+
<groupId>org.apache.geronimo.specs</groupId>
917+
<artifactId>*</artifactId>
918+
</exclusion>
919+
</exclusions>
920+
</dependency>
921+
922+
<dependency>
923+
<groupId>org.apache.xbean</groupId>
924+
<artifactId>xbean-asm9-shaded</artifactId>
925+
<version>${webbeans.xbean}</version>
926+
<scope>test</scope>
927+
</dependency>
928+
848929
</dependencies>
849930
</dependencyManagement>
850931

0 commit comments

Comments
 (0)