Skip to content

Commit 57e8b93

Browse files
committed
Migrate to Jakarta EE 9.
Closes #1543
1 parent a20507b commit 57e8b93

File tree

1 file changed

+86
-5
lines changed

1 file changed

+86
-5
lines changed

parent/pom.xml

+86-5
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.22.0</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.1</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.4.0</jmolecules>
112113
<jmolecules-integration>0.7.0</jmolecules-integration>
@@ -131,14 +132,13 @@
131132
<spring>6.0.0-SNAPSHOT</spring>
132133
<spring-hateoas>1.4.0-SNAPSHOT</spring-hateoas>
133134
<spring-plugin>3.0.0-SNAPSHOT</spring-plugin>
134-
<servlet-api>4.0.1</servlet-api>
135+
<servlet-api>5.0.0</servlet-api>
135136
<testcontainers>1.16.2</testcontainers>
136-
<validation>1.1.0.Final</validation>
137+
<validation>3.0.0</validation>
137138
<webbeans>2.0.25</webbeans>
138139

139140
<!-- OWB requires via XBean a newer ASM version -->
140141
<webbeans.xbean>4.20</webbeans.xbean>
141-
<javax-annotation-api>1.3.2</javax-annotation-api>
142142

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

0 commit comments

Comments
 (0)