Migrated to Java 21

This commit is contained in:
Robert Vokac 2023-09-28 17:35:56 +02:00
parent c50dbca27a
commit 6d289bd929
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055
2 changed files with 9 additions and 8 deletions

3
Jenkinsfile vendored
View File

@ -6,7 +6,7 @@ Requirements:
Maven is Installed Maven is Installed
Java 19 is installed Java 21 is installed
*/ */
{ {
@ -25,6 +25,7 @@ Java 19 is installed
#!/bin/bash #!/bin/bash
echo JOB_NAME=$JOB_NAME echo JOB_NAME=$JOB_NAME
export JAVA_HOME=$JAVA_HOME_21
case $BRANCH_NAME in case $BRANCH_NAME in
master | deploy_prod) master | deploy_prod)

14
pom.xml
View File

@ -36,25 +36,25 @@
<checkstyle-maven-plugin.version>3.3.0</checkstyle-maven-plugin.version> <checkstyle-maven-plugin.version>3.3.0</checkstyle-maven-plugin.version>
<checkstyle-config-location-path>nanoboot_checks.xml</checkstyle-config-location-path> <checkstyle-config-location-path>nanoboot_checks.xml</checkstyle-config-location-path>
<checkstyle-config-location>${checkstyle-config-location-path}</checkstyle-config-location> <checkstyle-config-location>${checkstyle-config-location-path}</checkstyle-config-location>
<javase.version>19</javase.version> <javase.version>21</javase.version>
<nanoboot-checks.version>0.1.0</nanoboot-checks.version> <nanoboot-checks.version>0.1.0</nanoboot-checks.version>
<!-- space --> <!-- space -->
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version> <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version> <maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version> <maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version>
<maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version> <maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version> <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version> <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<maven-source-plugin>3.2.1</maven-source-plugin> <maven-source-plugin>3.3.0</maven-source-plugin>
<maven-gpg-plugin>3.1.0</maven-gpg-plugin> <maven-gpg-plugin>3.1.0</maven-gpg-plugin>
<lombok.version>1.18.26</lombok.version> <lombok.version>1.18.30</lombok.version>
<junit-jupiter.version>5.9.3</junit-jupiter.version> <junit-jupiter.version>5.10.0</junit-jupiter.version>
<junit5.vintage.version>5.9.3</junit5.vintage.version> <junit5.vintage.version>5.10.0</junit5.vintage.version>
<junit4.version>4.13.2</junit4.version> <junit4.version>4.13.2</junit4.version>
<jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version> <jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
<jsoup.version>1.16.1</jsoup.version> <jsoup.version>1.16.1</jsoup.version>
<mockito-core.version>3.12.4</mockito-core.version> <mockito-core.version>3.12.4</mockito-core.version>
<sqlite-jdbc.version>3.42.0.0</sqlite-jdbc.version> <sqlite-jdbc.version>3.43.0.0</sqlite-jdbc.version>
<log4j.version>2.20.0</log4j.version> <log4j.version>2.20.0</log4j.version>
<build-helper-maven-plugin.version>3.4.0</build-helper-maven-plugin.version> <build-helper-maven-plugin.version>3.4.0</build-helper-maven-plugin.version>
<flyway-core.version>8.5.13</flyway-core.version> <flyway-core.version>8.5.13</flyway-core.version>