|
23 | 23 |
|
24 | 24 | <dist.key>DATAJPA</dist.key>
|
25 | 25 |
|
26 |
| - <eclipselink>2.7.9</eclipselink> |
| 26 | + <eclipselink>3.0.2</eclipselink> |
27 | 27 | <hibernate>5.6.0.Final</hibernate>
|
28 | 28 | <mysql-connector-java>8.0.23</mysql-connector-java>
|
29 | 29 | <postgresql>42.2.19</postgresql>
|
|
293 | 293 |
|
294 | 294 | <dependency>
|
295 | 295 | <groupId>${hibernate.groupId}</groupId>
|
296 |
| - <artifactId>hibernate-core</artifactId> |
| 296 | + <artifactId>hibernate-core-jakarta</artifactId> |
297 | 297 | <version>${hibernate}</version>
|
298 | 298 | <optional>true</optional>
|
299 | 299 | </dependency>
|
300 | 300 |
|
301 | 301 | <dependency>
|
302 | 302 | <groupId>${hibernate.groupId}</groupId>
|
303 |
| - <artifactId>hibernate-jpamodelgen</artifactId> |
| 303 | + <artifactId>hibernate-jpamodelgen-jakarta</artifactId> |
304 | 304 | <version>${hibernate}</version>
|
305 | 305 | <scope>provided</scope>
|
306 | 306 | </dependency>
|
307 | 307 |
|
| 308 | + <dependency> |
| 309 | + <groupId>jakarta.annotation</groupId> |
| 310 | + <artifactId>jakarta.annotation-api</artifactId> |
| 311 | + <version>${jakarta-annotation-api}</version> |
| 312 | + </dependency> |
| 313 | + |
308 | 314 | <!-- QueryDsl -->
|
309 | 315 | <dependency>
|
310 | 316 | <groupId>com.querydsl</groupId>
|
311 | 317 | <artifactId>querydsl-apt</artifactId>
|
312 | 318 | <version>${querydsl}</version>
|
313 |
| - <classifier>jpa</classifier> |
| 319 | + <classifier>jakarta</classifier> |
314 | 320 | <scope>provided</scope>
|
315 | 321 | </dependency>
|
316 | 322 |
|
317 | 323 | <dependency>
|
318 | 324 | <groupId>com.querydsl</groupId>
|
319 | 325 | <artifactId>querydsl-jpa</artifactId>
|
| 326 | + <classifier>jakarta</classifier> |
320 | 327 | <version>${querydsl}</version>
|
321 | 328 | <optional>true</optional>
|
322 | 329 | </dependency>
|
|
339 | 346 | </dependency>
|
340 | 347 |
|
341 | 348 | <dependency>
|
342 |
| - <groupId>javax.interceptor</groupId> |
343 |
| - <artifactId>javax.interceptor-api</artifactId> |
344 |
| - <version>1.2.1</version> |
| 349 | + <groupId>jakarta.interceptor</groupId> |
| 350 | + <artifactId>jakarta.interceptor-api</artifactId> |
| 351 | + <version>2.0.0</version> |
345 | 352 | <scope>test</scope>
|
346 | 353 | </dependency>
|
347 | 354 |
|
348 | 355 | <dependency>
|
349 |
| - <groupId>javax.enterprise</groupId> |
350 |
| - <artifactId>cdi-api</artifactId> |
| 356 | + <groupId>jakarta.enterprise</groupId> |
| 357 | + <artifactId>jakarta.enterprise.cdi-api</artifactId> |
351 | 358 | <version>${cdi}</version>
|
352 | 359 | <scope>provided</scope>
|
353 | 360 | <optional>true</optional>
|
354 | 361 | </dependency>
|
355 | 362 |
|
| 363 | + <!-- |
| 364 | + Apache Open Web beans offers a jakarta based version using maven classifiers. |
| 365 | + Unfortunately the dependencies are broken, so one has to exclude the broken ones and add the proper ones |
| 366 | + explicitly. |
| 367 | +
|
| 368 | + This can be simpliefied once https://issues.apache.org/jira/browse/OWB-1368 is fixed. |
| 369 | +
|
| 370 | + See: https://stackoverflow.com/questions/66610586/openwebbeans-gives-error-java-lang-noclassdeffounderror-when-using-with-tomcat-1 |
| 371 | + --> |
356 | 372 | <dependency>
|
357 |
| - <groupId>javax.annotation</groupId> |
358 |
| - <artifactId>javax.annotation-api</artifactId> |
359 |
| - <version>${javax-annotation-api}</version> |
| 373 | + <groupId>org.apache.openwebbeans</groupId> |
| 374 | + <artifactId>openwebbeans-se</artifactId> |
| 375 | + <version>${webbeans}</version> |
| 376 | + <classifier>jakarta</classifier> |
360 | 377 | <scope>test</scope>
|
| 378 | + <exclusions> |
| 379 | + <exclusion> |
| 380 | + <groupId>org.apache.openwebbeans</groupId> |
| 381 | + <artifactId>openwebbeans-impl</artifactId> |
| 382 | + </exclusion> |
| 383 | + <exclusion> |
| 384 | + <groupId>org.apache.openwebbeans</groupId> |
| 385 | + <artifactId>openwebbeans-spi</artifactId> |
| 386 | + </exclusion> |
| 387 | + </exclusions> |
361 | 388 | </dependency>
|
362 |
| - |
363 | 389 | <dependency>
|
364 | 390 | <groupId>org.apache.openwebbeans</groupId>
|
365 |
| - <artifactId>openwebbeans-se</artifactId> |
| 391 | + <artifactId>openwebbeans-impl</artifactId> |
| 392 | + <version>${webbeans}</version> |
| 393 | + <classifier>jakarta</classifier> |
| 394 | + <scope>test</scope> |
| 395 | + </dependency> |
| 396 | + <dependency> |
| 397 | + <groupId>org.apache.openwebbeans</groupId> |
| 398 | + <artifactId>openwebbeans-spi</artifactId> |
366 | 399 | <version>${webbeans}</version>
|
| 400 | + <classifier>jakarta</classifier> |
367 | 401 | <scope>test</scope>
|
368 | 402 | </dependency>
|
369 | 403 |
|
|
0 commit comments