From fd528e27527530658d626a735f2722f9bc35b32e Mon Sep 17 00:00:00 2001 From: Mario Serrano Leones Date: Fri, 13 Sep 2024 06:56:07 -0500 Subject: [PATCH 1/3] support to deploy to maven central --- .github/workflows/release.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..fc758d8 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,35 @@ +# Version 5.0.0 +# This workflow will build a Java project with Maven +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: Release and Deploy + +on: + release: + types: [ created ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: 17 + architecture: x64 + distribution: corretto + cache: maven + server-id: ossrh + 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 }} + + - name: Build with Maven + run: mvn clean javadoc:jar source:jar deploy -P release-sign-artifacts --file sources/pom.xml + env: + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} From 903c6af05d641c7d53c2c5b6d85f2bc21e91365b Mon Sep 17 00:00:00 2001 From: Mario Serrano Leones Date: Wed, 2 Oct 2024 22:18:17 -0500 Subject: [PATCH 2/3] improvements --- sources/core/pom.xml | 4 ++-- sources/pom.xml | 6 +++--- sources/ui/pom.xml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sources/core/pom.xml b/sources/core/pom.xml index 9cfac13..1de0db1 100644 --- a/sources/core/pom.xml +++ b/sources/core/pom.xml @@ -23,11 +23,11 @@ tools.dynamia.modules.importer.parent tools.dynamia.modules - 3.1.1 + 3.2.0 Dynamia Modules - Importer Core tools.dynamia.modules.importer - 3.1.1 + 3.2.0 http://www.dynamia.tools/modules/importer diff --git a/sources/pom.xml b/sources/pom.xml index 82e9ac0..f653ca4 100644 --- a/sources/pom.xml +++ b/sources/pom.xml @@ -25,7 +25,7 @@ tools.dynamia.modules tools.dynamia.modules.importer.parent pom - 3.1.1 + 3.2.0 Dynamia Modules - Importer 2019 https://dynamia.tools/modules/importer @@ -65,7 +65,7 @@ - 5.1.1 + 5.2.0 17 3.13.0 UTF-8 @@ -139,7 +139,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.5 + 3.1.0 sign-artifacts diff --git a/sources/ui/pom.xml b/sources/ui/pom.xml index cd7d097..22ccaf0 100644 --- a/sources/ui/pom.xml +++ b/sources/ui/pom.xml @@ -23,11 +23,11 @@ tools.dynamia.modules.importer.parent tools.dynamia.modules - 3.1.1 + 3.2.0 Dynamia Modules - Importer UI tools.dynamia.modules.importer.ui - 3.1.1 + 3.2.0 http://www.dynamia.tools/modules/importacion @@ -62,7 +62,7 @@ tools.dynamia.modules tools.dynamia.modules.importer - 3.1.1 + 3.2.0 From a987da110ba4573594596f75cdcecb9271646be9 Mon Sep 17 00:00:00 2001 From: Mario Serrano Leones Date: Mon, 13 Jan 2025 11:07:41 -0500 Subject: [PATCH 3/3] update dependencies --- sources/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/pom.xml b/sources/pom.xml index f653ca4..007ce52 100644 --- a/sources/pom.xml +++ b/sources/pom.xml @@ -65,7 +65,7 @@ - 5.2.0 + 5.3.1 17 3.13.0 UTF-8 @@ -88,7 +88,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.13 + 1.7.0 true ossrh