From 62e265f05ac82f3b0b4dd10fdfaa91241dbc8fd3 Mon Sep 17 00:00:00 2001 From: Mario Serrano Date: Wed, 11 Jun 2025 15:02:18 -0500 Subject: [PATCH 1/3] Dynamia Tools v5.4.0 support, with Java 21 as minimum required JDK Signed-off-by: Mario Serrano --- .github/workflows/maven.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- README.md | 14 +++++++------- sources/core/pom.xml | 4 ++-- sources/pom.xml | 12 ++++++------ sources/s3/pom.xml | 4 ++-- sources/ui/pom.xml | 4 ++-- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index cd1f6d2..14519cb 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,9 +17,9 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 17 + java-version: 21 architecture: x64 - distribution: corretto + distribution: temurin - name: Build with Maven run: mvn -B package javadoc:jar source:jar --file sources/pom.xml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc758d8..c475aac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,9 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: 17 + java-version: 21 architecture: x64 - distribution: corretto + distribution: temurin cache: maven server-id: ossrh server-username: MAVEN_USERNAME # env variable for username in deploy diff --git a/README.md b/README.md index 0437fca..e95ded5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Maven Central](https://img.shields.io/maven-central/v/tools.dynamia.modules/tools.dynamia.modules.entityfiles)](https://search.maven.org/search?q=tools.dynamia.modules.entityfiles) -![Java Version Required](https://img.shields.io/badge/java-17-blue) +![Java Version Required](https://img.shields.io/badge/java-21-blue) [![Maven Build](https://github.com/dynamiatools/module-entityfiles/actions/workflows/maven.yml/badge.svg)](https://github.com/dynamiatools/module-entityfiles/actions/workflows/maven.yml) [![Release and Deploy](https://github.com/dynamiatools/module-entityfiles/actions/workflows/release.yml/badge.svg)](https://github.com/dynamiatools/module-entityfiles/actions/workflows/release.yml) @@ -24,13 +24,13 @@ metadata are store in the database in table `mod_entity_files` using JPA entity tools.dynamia.modules tools.dynamia.modules.entityfiles - 7.1.0 + 7.4.0 tools.dynamia.modules tools.dynamia.modules.entityfiles.ui - 7.1.0 + 7.4.0 ``` @@ -40,16 +40,16 @@ metadata are store in the database in table `mod_entity_files` using JPA entity tools.dynamia.modules tools.dynamia.modules.entityfiles.s3 - 7.1.0 + 7.4.0 ``` ### Gradle ```groovy -compile 'tools.dynamia.modules:tools.dynamia.modules.entityfiles:7.1.0' -compile 'tools.dynamia.modules:tools.dynamia.modules.entityfiles.ui:7.1.0' -compile 'tools.dynamia.modules:tools.dynamia.modules.entityfiles.s3:7.1.0' +compile 'tools.dynamia.modules:tools.dynamia.modules.entityfiles:7.4.0' +compile 'tools.dynamia.modules:tools.dynamia.modules.entityfiles.ui:7.4.0' +compile 'tools.dynamia.modules:tools.dynamia.modules.entityfiles.s3:7.4.0' ``` ## Usage diff --git a/sources/core/pom.xml b/sources/core/pom.xml index 83dc2ac..22641d7 100644 --- a/sources/core/pom.xml +++ b/sources/core/pom.xml @@ -22,11 +22,11 @@ tools.dynamia.modules.entityfiles.parent tools.dynamia.modules - 7.3.0 + 7.4.0 Dynamia Modules - EntityFiles - Core tools.dynamia.modules.entityfiles - 7.3.0 + 7.4.0 https://www.dynamia.tools/modules/entityfiles diff --git a/sources/pom.xml b/sources/pom.xml index 66e1650..3c675d4 100644 --- a/sources/pom.xml +++ b/sources/pom.xml @@ -22,7 +22,7 @@ tools.dynamia.modules tools.dynamia.modules.entityfiles.parent pom - 7.3.0 + 7.4.0 Dynamia Modules - EntityFiles https://dynamia.tools/modules/entityfiles DynamiaTools extension to attach files to entities @@ -63,11 +63,11 @@ UTF-8 - 5.3.6 - 3.4.4 - 2.31.18 - 17 - 3.13.0 + 5.4.0 + 3.5.0 + 2.31.61 + 21 + 3.14.0 UTF-8 UTF-8 diff --git a/sources/s3/pom.xml b/sources/s3/pom.xml index 1012e56..04cc798 100644 --- a/sources/s3/pom.xml +++ b/sources/s3/pom.xml @@ -23,12 +23,12 @@ tools.dynamia.modules tools.dynamia.modules.entityfiles.parent - 7.3.0 + 7.4.0 Dynamia Modules - EntityFiles - S3 tools.dynamia.modules.entityfiles.s3 - 7.3.0 + 7.4.0 https://www.dynamia.tools/modules/entityfiles diff --git a/sources/ui/pom.xml b/sources/ui/pom.xml index d90b60e..0fdbc32 100644 --- a/sources/ui/pom.xml +++ b/sources/ui/pom.xml @@ -22,11 +22,11 @@ tools.dynamia.modules.entityfiles.parent tools.dynamia.modules - 7.3.0 + 7.4.0 Dynamia Modules - EntityFiles UI tools.dynamia.modules.entityfiles.ui - 7.3.0 + 7.4.0 https://www.dynamia.tools/modules/entityfiles From 57cd3b5a73d768d09405a77deef8eb733b323d4a Mon Sep 17 00:00:00 2001 From: Mario Serrano Date: Mon, 23 Jun 2025 15:10:20 -0500 Subject: [PATCH 2/3] upgrade to spring boot 3.5.3 Signed-off-by: Mario Serrano --- sources/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/pom.xml b/sources/pom.xml index 3c675d4..e3827e3 100644 --- a/sources/pom.xml +++ b/sources/pom.xml @@ -64,7 +64,7 @@ UTF-8 5.4.0 - 3.5.0 + 3.5.3 2.31.61 21 3.14.0 From b4ee426234cf39d8811b6e88720f4cc0bc1de5cc Mon Sep 17 00:00:00 2001 From: Mario Serrano Date: Tue, 1 Jul 2025 14:28:45 -0500 Subject: [PATCH 3/3] feat: migrate to new Maven Central publish Signed-off-by: Mario Serrano --- .github/workflows/maven.yml | 2 +- .github/workflows/release.yml | 4 ++-- sources/pom.xml | 22 +++++----------------- 3 files changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 14519cb..025c165 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -14,7 +14,7 @@ jobs: packages: write steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: java-version: 21 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c475aac..e01cc38 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,14 +15,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: java-version: 21 architecture: x64 distribution: temurin cache: maven - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME # env variable for username in deploy server-password: MAVEN_PASSWORD # env variable for token in deploy gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/sources/pom.xml b/sources/pom.xml index e3827e3..c1d7ce3 100644 --- a/sources/pom.xml +++ b/sources/pom.xml @@ -86,14 +86,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - ossrh - https://oss.sonatype.org/ - true + central + true @@ -150,17 +149,6 @@ - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - release-sign-artifacts