From 7bdede797e7da1d9dbaece82be3083951a0f25d9 Mon Sep 17 00:00:00 2001 From: Maciej Antczak Date: Mon, 8 Jul 2024 21:51:43 +0200 Subject: [PATCH] closes #15; fixes pom.xml by adding missing dependecies required by java 9+ --- build-and-tests-java-8.sh | 2 -- build-and-tests-java-9.sh | 2 ++ build-only-java-8.sh | 2 -- build-only-java-9.sh | 2 ++ pom.xml | 24 +++++++++++++++++++----- 5 files changed, 23 insertions(+), 9 deletions(-) delete mode 100755 build-and-tests-java-8.sh create mode 100755 build-and-tests-java-9.sh delete mode 100755 build-only-java-8.sh create mode 100755 build-only-java-9.sh diff --git a/build-and-tests-java-8.sh b/build-and-tests-java-8.sh deleted file mode 100755 index 66f1a38..0000000 --- a/build-and-tests-java-8.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -mvn package -P java-8 diff --git a/build-and-tests-java-9.sh b/build-and-tests-java-9.sh new file mode 100755 index 0000000..2c5e464 --- /dev/null +++ b/build-and-tests-java-9.sh @@ -0,0 +1,2 @@ +#!/bin/sh +mvn package -P java-9 diff --git a/build-only-java-8.sh b/build-only-java-8.sh deleted file mode 100755 index 3807445..0000000 --- a/build-only-java-8.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -mvn package -DskipTests -P java-8 diff --git a/build-only-java-9.sh b/build-only-java-9.sh new file mode 100755 index 0000000..e9ceaaa --- /dev/null +++ b/build-only-java-9.sh @@ -0,0 +1,2 @@ +#!/bin/bash +mvn package -DskipTests -P java-9 diff --git a/pom.xml b/pom.xml index 81c4f12..5e3222e 100644 --- a/pom.xml +++ b/pom.xml @@ -34,8 +34,9 @@ - 1.7 - 1.7 + 9 + 1.9 + 1.9 UTF-8 edu.put.ma.Assessment 1.7.12 @@ -45,6 +46,18 @@ + + javax.xml.bind + jaxb-api + 2.3.1 + + + org.glassfish.jaxb + jaxb-runtime + 2.3.1 + runtime + + org.slf4j slf4j-api @@ -96,7 +109,7 @@ org.projectlombok lombok - 1.16.6 + 1.16.22 provided @@ -133,8 +146,9 @@ maven-compiler-plugin - 3.2 + 3.12.0 + ${maven.compiler.release} ${maven.compiler.source} ${maven.compiler.target} ${project.build.sourceEncoding} @@ -205,7 +219,7 @@ - java-8 + java-9 xerces