From 585ace8cdce12e6ee66e798987ed321817fef9d3 Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 23 Oct 2023 15:00:34 +0200 Subject: [PATCH 1/5] Upgrade libraries to support Java 21 --- pom.xml | 86 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 50 insertions(+), 36 deletions(-) diff --git a/pom.xml b/pom.xml index 89b64ab..4c76b2f 100644 --- a/pom.xml +++ b/pom.xml @@ -5,9 +5,7 @@ arch-unit-maven-plugin maven-plugin 3.0.0-SNAPSHOT - ArchUnit Maven plugin - An easy way to distribute ArchUnit rules across projects https://github.com/societe-generale/arch-unit-maven-plugin @@ -43,19 +41,34 @@ UTF-8 UTF-8 - 11 - 11 - 11 - - 3.5.0 - 3.5 - - 1.18.24 - 0.8.8 - 3.1.0 - 2.3.3 - - 3.0.0 + 21 + ${java.version} + ${java.version} + + 3.0.1-SNAPSHOT + 2.10 + 3.9.3 + 3.9.0 + 3.3.0 + 5.4.0 + 3.24.2 + 2.0.9 + 4.0.1 + 4.0.2 + + 3.1.0 + 3.11.0 + 3.1.2 + 3.1.1 + 3.5.0 + 1.6.13 + 3.0.1 + 3.9.0 + 0.8.10 + 4.3.0 + 3.3.0 + 3.5.0 + 3.1.0 ${project.build.directory}/test-results ${project.basedir}/target/generated-test-sources/test-annotations @@ -107,7 +120,7 @@ com.tngtech.junit.dataprovider junit4-dataprovider - 2.4 + ${junit4.version} test @@ -127,7 +140,7 @@ org.apache.maven.plugin-testing maven-plugin-testing-harness - 3.3.0 + ${maven-plugin-testing.version} test @@ -147,14 +160,14 @@ org.assertj assertj-core - 3.9.1 + ${assertj.version} test org.powermock powermock-module-junit4 - 1.7.3 + ${powermock.version} ${surefireArgLine} @@ -273,12 +286,13 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + ${maven-deploy-plugin.version} + org.apache.maven.plugins maven-javadoc-plugin - 3.1.1 + ${maven-javadoc-plugin.version} true @@ -287,7 +301,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.8 + ${nexus-staging-maven-plugin.version} true ossrh @@ -295,10 +309,11 @@ true + org.apache.maven.plugins maven-release-plugin - 2.5.3 + ${maven-release-plugin.version} https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 archUnit_maven_plugin_@{project.version} @@ -310,10 +325,11 @@ forked-path + org.apache.maven.plugins maven-plugin-plugin - 3.6.0 + ${maven-plugin-plugin.version} arch-unit @@ -352,23 +368,21 @@ org.eluder.coveralls coveralls-maven-plugin - 4.3.0 + ${coveralls.version} - makeRelease - org.apache.maven.plugins maven-source-plugin - 3.0.1 + ${maven-source-plugin.version} attach-sources @@ -382,7 +396,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.1.1 + ${maven-javadoc-plugin.version} UTF-8 @@ -399,7 +413,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.0.1 + ${maven-gpg-plugin.version} sign-artifacts From eee32b5f4a69d31d84dd5546d6758e5b8b0efcb9 Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 23 Oct 2023 15:01:36 +0200 Subject: [PATCH 2/5] Upgrade pom to major version --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 4c76b2f..337df18 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.societegenerale.commons arch-unit-maven-plugin maven-plugin - 3.0.0-SNAPSHOT + 4.0.0-SNAPSHOT ArchUnit Maven plugin An easy way to distribute ArchUnit rules across projects https://github.com/societe-generale/arch-unit-maven-plugin @@ -45,7 +45,7 @@ ${java.version} ${java.version} - 3.0.1-SNAPSHOT + 4.0.0-SNAPSHOT 2.10 3.9.3 3.9.0 From 7bb4533c434cbcf1fe9cf39077f68f093bebab7a Mon Sep 17 00:00:00 2001 From: Vincent Fuchs Date: Fri, 17 Nov 2023 13:34:20 -0500 Subject: [PATCH 3/5] building with java 21 --- .github/workflows/release_workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_workflow.yml b/.github/workflows/release_workflow.yml index ca7328d..6f6c5e4 100644 --- a/.github/workflows/release_workflow.yml +++ b/.github/workflows/release_workflow.yml @@ -11,12 +11,12 @@ jobs: run: | cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | base64 --decode | gpg --batch --import gpg --refresh-keys --keyserver keyserver.ubuntu.com - gpg --list-secret-keys --keyid-format LONG + gpg --list-secret-keys --keyid-format LONG - name: Set up Maven Central Repository uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '21' distribution: 'adopt' server-id: ossrh server-username: MAVEN_USERNAME From 10a8850dc829ceb604717b0fcefdf5e7e48e072d Mon Sep 17 00:00:00 2001 From: Vincent Fuchs Date: Fri, 17 Nov 2023 13:34:40 -0500 Subject: [PATCH 4/5] arch-unit-build-plugin-core 4.0.0 --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 337df18..d230062 100644 --- a/pom.xml +++ b/pom.xml @@ -21,13 +21,13 @@ Vincent Fuchs vincent.fuchs@gmail.com - + FanJups Fanon Jupkwo jupsfan@gmail.com - + @@ -45,7 +45,7 @@ ${java.version} ${java.version} - 4.0.0-SNAPSHOT + 4.0.0 2.10 3.9.3 3.9.0 From 83467a3b101cbbb53ef2148018a5e70c0b16b85e Mon Sep 17 00:00:00 2001 From: Vincent Fuchs Date: Fri, 17 Nov 2023 13:43:35 -0500 Subject: [PATCH 5/5] building with java 21 --- .github/workflows/build_workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index 7ed9129..b5d8337 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 21 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 21 - name: Cache Maven packages uses: actions/cache@v2 with: