From edc13ee0f0a437f9af882a3d2605cf5415c315c3 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Tue, 2 Feb 2021 13:44:56 +0100 Subject: [PATCH] Fix build on Java 11+ --- pom.xml | 2 +- spring-batch-core/pom.xml | 30 ++++++++++++++++++++++++------ 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index c5da4eb46..163f736dd 100644 --- a/pom.xml +++ b/pom.xml @@ -69,6 +69,7 @@ 1.9.2 2.8.6 5.4.23.Final + 1.3.2 1.6.2 2.0.1 1.0 @@ -102,7 +103,6 @@ 8.0.22 1.14.3 1.0 - 1.3.2 1 1.2 diff --git a/spring-batch-core/pom.xml b/spring-batch-core/pom.xml index 71e68af4b..9301c44fe 100644 --- a/spring-batch-core/pom.xml +++ b/spring-batch-core/pom.xml @@ -62,6 +62,12 @@ + + javax.annotation + javax.annotation-api + ${javax.annotation-api.version} + true + org.aspectj aspectjrt @@ -179,15 +185,27 @@ test - com.ibm.jbatch - com.ibm.jbatch-tck-spi - ${com.ibm.jbatch-tck-spi.version} + javax.xml.bind + jaxb-api + ${jaxb-api.version} test - javax.annotation - javax.annotation-api - ${javax.annotation-api.version} + com.sun.xml.bind + jaxb-core + ${jaxb-core.version} + test + + + com.sun.xml.bind + jaxb-impl + ${jaxb-core.version} + test + + + com.ibm.jbatch + com.ibm.jbatch-tck-spi + ${com.ibm.jbatch-tck-spi.version} test