From fc79b3f7f67506065f0296e26e9da3ec22ac70a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Lindo?= Date: Tue, 27 Feb 2024 17:39:03 +0000 Subject: [PATCH] wip --- dbptk-bindings/dbptk-bindings-siard1/pom.xml | 14 ++++++++++--- .../main/resources/config/jaxb/jodatime.xjb | 12 +++++------ .../dbptk-bindings-siard2-0/pom.xml | 14 ++++++++++--- .../main/resources/config/jaxb/jodatime.xjb | 4 ++-- .../dbptk-bindings-siard2-1/pom.xml | 14 ++++++++++--- .../main/resources/config/jaxb/jodatime.xjb | 4 ++-- dbptk-bindings/dbptk-bindings-siarddk/pom.xml | 8 +++++--- dbptk-bindings/pom.xml | 20 +++++++++---------- dbptk-model/pom.xml | 3 +-- .../utils/MessageDigestUtils.java | 2 +- .../out/PostgreSQLJDBCExportModule.java | 2 +- .../modules/siard/common/SIARDValidator.java | 6 +++--- .../content/SIARDDKContentImportStrategy.java | 2 +- .../SIARD1MetadataImportStrategy.java | 6 +++--- .../SIARD20MetadataImportStrategy.java | 6 +++--- .../SIARD21MetadataImportStrategy.java | 6 +++--- .../SIARDDKMetadataImportStrategy.java | 6 +++--- .../in/path/SIARDDKPathImportStrategy.java | 8 ++++---- .../SIARD1MetadataExportStrategy.java | 6 +++--- .../SIARD20MetadataExportStrategy.java | 6 +++--- .../SIARD21MetadataExportStrategy.java | 6 +++--- .../out/metadata/StandardSIARDMarshaller.java | 6 +++--- .../RequirementsForTableDataValidator.java | 2 +- dbptk-modules/pom.xml | 2 +- dbptk-plugin-example/pom.xml | 4 ++-- pom.xml | 12 +++++++---- 26 files changed, 104 insertions(+), 77 deletions(-) diff --git a/dbptk-bindings/dbptk-bindings-siard1/pom.xml b/dbptk-bindings/dbptk-bindings-siard1/pom.xml index 59424c80a..8ed96fe35 100644 --- a/dbptk-bindings/dbptk-bindings-siard1/pom.xml +++ b/dbptk-bindings/dbptk-bindings-siard1/pom.xml @@ -3,6 +3,14 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 dbptk-bindings-siard1 + + + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.1 + compile + + com.databasepreservation dbptk-bindings-siard1 1.5.1 @@ -20,7 +28,7 @@ org.apache.maven.plugins maven-compiler-plugin - 2.4 + 3.12.1 ${version.java} ${version.java} @@ -35,8 +43,8 @@ - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin + org.jvnet.jaxb + jaxb-maven-plugin org.apache.maven.plugins diff --git a/dbptk-bindings/dbptk-bindings-siard1/src/main/resources/config/jaxb/jodatime.xjb b/dbptk-bindings/dbptk-bindings-siard1/src/main/resources/config/jaxb/jodatime.xjb index cc7d8c61f..14a1404b1 100644 --- a/dbptk-bindings/dbptk-bindings-siard1/src/main/resources/config/jaxb/jodatime.xjb +++ b/dbptk-bindings/dbptk-bindings-siard1/src/main/resources/config/jaxb/jodatime.xjb @@ -1,11 +1,11 @@ - - + version="3.0"> + - - - + + diff --git a/dbptk-bindings/dbptk-bindings-siard2-0/pom.xml b/dbptk-bindings/dbptk-bindings-siard2-0/pom.xml index b762a03c5..86427c57f 100644 --- a/dbptk-bindings/dbptk-bindings-siard2-0/pom.xml +++ b/dbptk-bindings/dbptk-bindings-siard2-0/pom.xml @@ -3,6 +3,14 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 dbptk-bindings-siard2-0 + + + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.1 + compile + + com.databasepreservation dbptk-bindings-siard2-0 1.5.1 @@ -20,7 +28,7 @@ org.apache.maven.plugins maven-compiler-plugin - 2.4 + 3.12.1 ${version.java} ${version.java} @@ -35,8 +43,8 @@ - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin + org.jvnet.jaxb + jaxb-maven-plugin org.apache.maven.plugins diff --git a/dbptk-bindings/dbptk-bindings-siard2-0/src/main/resources/config/jaxb/jodatime.xjb b/dbptk-bindings/dbptk-bindings-siard2-0/src/main/resources/config/jaxb/jodatime.xjb index cc7d8c61f..5396869ba 100644 --- a/dbptk-bindings/dbptk-bindings-siard2-0/src/main/resources/config/jaxb/jodatime.xjb +++ b/dbptk-bindings/dbptk-bindings-siard2-0/src/main/resources/config/jaxb/jodatime.xjb @@ -1,7 +1,7 @@ - + version="3.0"> 4.0.0 dbptk-bindings-siard2-1 + + + jakarta.xml.bind + jakarta.xml.bind-api + 4.0.1 + compile + + com.databasepreservation dbptk-bindings-siard2-1 1.5.1 @@ -20,7 +28,7 @@ org.apache.maven.plugins maven-compiler-plugin - 2.4 + 3.12.1 ${version.java} ${version.java} @@ -35,8 +43,8 @@ - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin + org.jvnet.jaxb + jaxb-maven-plugin org.apache.maven.plugins diff --git a/dbptk-bindings/dbptk-bindings-siard2-1/src/main/resources/config/jaxb/jodatime.xjb b/dbptk-bindings/dbptk-bindings-siard2-1/src/main/resources/config/jaxb/jodatime.xjb index cc7d8c61f..5396869ba 100644 --- a/dbptk-bindings/dbptk-bindings-siard2-1/src/main/resources/config/jaxb/jodatime.xjb +++ b/dbptk-bindings/dbptk-bindings-siard2-1/src/main/resources/config/jaxb/jodatime.xjb @@ -1,7 +1,7 @@ - + version="3.0"> org.apache.maven.plugins maven-compiler-plugin - 2.4 + 3.12.1 ${version.java} ${version.java} UTF-8 - org.apache.maven.plugins maven-resources-plugin @@ -36,7 +35,10 @@ UTF-8 - + + org.jvnet.jaxb + jaxb-maven-plugin + org.apache.maven.plugins maven-install-plugin diff --git a/dbptk-bindings/pom.xml b/dbptk-bindings/pom.xml index c91ae359e..d2257d6f4 100644 --- a/dbptk-bindings/pom.xml +++ b/dbptk-bindings/pom.xml @@ -15,7 +15,7 @@ pom ${project.basedir}/../../vendor-libs/repository - 1.7 + 21 dbptk-bindings-siard1 @@ -27,13 +27,11 @@ - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin - 0.12.3 + org.jvnet.jaxb + jaxb-maven-plugin + 4.0.0 - generate-jaxb-siard - generate-sources generate @@ -63,7 +61,7 @@ org.apache.maven.plugins maven-install-plugin - 2.5.2 + 3.1.1 @@ -71,14 +69,14 @@ - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin - 0.12.3 + org.jvnet.jaxb + jaxb-maven-plugin + 4.0.0 org.apache.maven.plugins maven-install-plugin - 2.5.2 + 3.1.1 diff --git a/dbptk-model/pom.xml b/dbptk-model/pom.xml index 825fbe45d..3e9667449 100644 --- a/dbptk-model/pom.xml +++ b/dbptk-model/pom.xml @@ -68,9 +68,8 @@ jakarta.xml.bind jakarta.xml.bind-api - 2.3.3 + 3.0.0 - com.sun.xml.bind jaxb-impl diff --git a/dbptk-model/src/main/java/com/databasepreservation/utils/MessageDigestUtils.java b/dbptk-model/src/main/java/com/databasepreservation/utils/MessageDigestUtils.java index 320da0c99..1e46d7584 100644 --- a/dbptk-model/src/main/java/com/databasepreservation/utils/MessageDigestUtils.java +++ b/dbptk-model/src/main/java/com/databasepreservation/utils/MessageDigestUtils.java @@ -11,7 +11,7 @@ import java.io.InputStream; import java.security.MessageDigest; -import javax.xml.bind.DatatypeConverter; +import jakarta.xml.bind.DatatypeConverter; import org.apache.commons.codec.digest.DigestUtils; diff --git a/dbptk-modules/dbptk-module-postgresql/src/main/java/com/databasepreservation/modules/postgresql/out/PostgreSQLJDBCExportModule.java b/dbptk-modules/dbptk-module-postgresql/src/main/java/com/databasepreservation/modules/postgresql/out/PostgreSQLJDBCExportModule.java index 38c910921..a70c8e316 100644 --- a/dbptk-modules/dbptk-module-postgresql/src/main/java/com/databasepreservation/modules/postgresql/out/PostgreSQLJDBCExportModule.java +++ b/dbptk-modules/dbptk-module-postgresql/src/main/java/com/databasepreservation/modules/postgresql/out/PostgreSQLJDBCExportModule.java @@ -226,7 +226,7 @@ protected void handleSimpleTypeDateTimeDataCell(String data, PreparedStatement p if (type.getTimeDefined()) { if ("TIME WITH TIME ZONE".equalsIgnoreCase(type.getSql99TypeName())) { if (data != null) { - Calendar cal = javax.xml.bind.DatatypeConverter.parseTime(data); + Calendar cal = jakarta.xml.bind.DatatypeConverter.parseTime(data); Time time = new Time(cal.getTimeInMillis()); LOGGER.debug("time with timezone after: " + time.toString() + "; timezone: " + cal.getTimeZone().getID()); ps.setTime(index, time, cal); diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/common/SIARDValidator.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/common/SIARDValidator.java index 519ed4931..07e7b9973 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/common/SIARDValidator.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/common/SIARDValidator.java @@ -11,9 +11,9 @@ import java.io.InputStream; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/content/SIARDDKContentImportStrategy.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/content/SIARDDKContentImportStrategy.java index a59005198..7c68168a9 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/content/SIARDDKContentImportStrategy.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/content/SIARDDKContentImportStrategy.java @@ -18,7 +18,7 @@ import java.util.regex.Pattern; import javax.xml.XMLConstants; -import javax.xml.bind.DatatypeConverter; +import jakarta.xml.bind.DatatypeConverter; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD1MetadataImportStrategy.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD1MetadataImportStrategy.java index 053c17582..bcbf4a567 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD1MetadataImportStrategy.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD1MetadataImportStrategy.java @@ -13,9 +13,9 @@ import java.util.List; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD20MetadataImportStrategy.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD20MetadataImportStrategy.java index fbbff79da..d0e03bae3 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD20MetadataImportStrategy.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD20MetadataImportStrategy.java @@ -13,9 +13,9 @@ import java.util.List; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD21MetadataImportStrategy.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD21MetadataImportStrategy.java index 3e5560fec..7c2896dcc 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD21MetadataImportStrategy.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARD21MetadataImportStrategy.java @@ -13,9 +13,9 @@ import java.util.List; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARDDKMetadataImportStrategy.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARDDKMetadataImportStrategy.java index e742c50ce..65ef950ca 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARDDKMetadataImportStrategy.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/metadata/SIARDDKMetadataImportStrategy.java @@ -15,9 +15,9 @@ import java.util.List; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/path/SIARDDKPathImportStrategy.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/path/SIARDDKPathImportStrategy.java index 367f5fb28..ff3200ec5 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/path/SIARDDKPathImportStrategy.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/path/SIARDDKPathImportStrategy.java @@ -18,10 +18,10 @@ import java.util.regex.Pattern; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Unmarshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBElement; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Unmarshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD1MetadataExportStrategy.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD1MetadataExportStrategy.java index 041808e52..db21fcf60 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD1MetadataExportStrategy.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD1MetadataExportStrategy.java @@ -14,9 +14,9 @@ import java.util.List; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD20MetadataExportStrategy.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD20MetadataExportStrategy.java index 8d4246785..e7f599e36 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD20MetadataExportStrategy.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD20MetadataExportStrategy.java @@ -15,9 +15,9 @@ import java.util.Map; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD21MetadataExportStrategy.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD21MetadataExportStrategy.java index 12942e9ee..deaaaa5a4 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD21MetadataExportStrategy.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/SIARD21MetadataExportStrategy.java @@ -15,9 +15,9 @@ import java.util.Map; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/StandardSIARDMarshaller.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/StandardSIARDMarshaller.java index 085eafcf5..6d6ee4da7 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/StandardSIARDMarshaller.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/out/metadata/StandardSIARDMarshaller.java @@ -12,9 +12,9 @@ import java.io.OutputStream; import javax.xml.XMLConstants; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; +import jakarta.xml.bind.JAXBContext; +import jakarta.xml.bind.JAXBException; +import jakarta.xml.bind.Marshaller; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/validate/component/tableData/RequirementsForTableDataValidator.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/validate/component/tableData/RequirementsForTableDataValidator.java index 1cab81eab..a96e2951f 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/validate/component/tableData/RequirementsForTableDataValidator.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/validate/component/tableData/RequirementsForTableDataValidator.java @@ -30,7 +30,7 @@ import java.util.regex.Pattern; import javax.xml.XMLConstants; -import javax.xml.bind.DatatypeConverter; +import jakarta.xml.bind.DatatypeConverter; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; diff --git a/dbptk-modules/pom.xml b/dbptk-modules/pom.xml index 638488143..25eaa2264 100644 --- a/dbptk-modules/pom.xml +++ b/dbptk-modules/pom.xml @@ -15,7 +15,7 @@ pom ${project.basedir}/../../vendor-libs/repository - 1.7 + 21 dbptk-filter-inventory diff --git a/dbptk-plugin-example/pom.xml b/dbptk-plugin-example/pom.xml index 5b0a36fb9..f2a596cb3 100644 --- a/dbptk-plugin-example/pom.xml +++ b/dbptk-plugin-example/pom.xml @@ -8,7 +8,7 @@ 2.0.0-rc3.1.0 jar - 1.7 + 21 @@ -22,7 +22,7 @@ org.apache.maven.plugins maven-compiler-plugin - 2.4 + 3.12.1 ${version.java} ${version.java} diff --git a/pom.xml b/pom.xml index 33d0d1e7c..1aae99a84 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ https://www.keep.pt - 1.8 + 21 ${project.basedir}/vendor-libs/repository @@ -137,10 +137,14 @@ org.apache.maven.plugins maven-compiler-plugin - 2.4 + 3.12.1 - 1.8 - 1.8 + + --add-exports + java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED + + 21 + 21 UTF-8