diff --git a/.github/workflows/CI build.yml b/.github/workflows/CI build.yml index 43cb54b8..401f6e3d 100644 --- a/.github/workflows/CI build.yml +++ b/.github/workflows/CI build.yml @@ -33,7 +33,7 @@ jobs: # Setup the jdk using version 11 of Adoptium Temurin - name: Setup java 11 using Adoptium Temurin - uses: actions/setup-java@v4 + uses: actions/setup-java@v6 with: distribution: 'temurin' java-version: '11' diff --git a/.github/workflows/CI release.yml b/.github/workflows/CI release.yml index 646c0a6b..bbbd8014 100644 --- a/.github/workflows/CI release.yml +++ b/.github/workflows/CI release.yml @@ -38,15 +38,15 @@ jobs: # Setup the jdk using version 11 of Adoptium Temurin - name: Setup java 11 using Adoptium Temurin - uses: actions/setup-java@v4 + uses: actions/setup-java@v6 with: distribution: 'temurin' java-version: '11' - server-id: central - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD + server-id: sonatype + server-username-en-var: MAVEN_USERNAME + server-password-en-var: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_SECRET_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE + gpg-passphrase-en-var: MAVEN_GPG_PASSPHRASE # Configure git user in order to sign release with OrbisGIS user. - name: Configure Git User diff --git a/.github/workflows/CI snapshot.yml b/.github/workflows/CI snapshot.yml index 70a4f2dd..39f54f00 100644 --- a/.github/workflows/CI snapshot.yml +++ b/.github/workflows/CI snapshot.yml @@ -46,11 +46,11 @@ jobs: with: distribution: 'temurin' java-version: '11' - server-id: central - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD + server-id: sonatype + server-username-en-var: MAVEN_USERNAME + server-password-en-var: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_SECRET_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE + gpg-passphrase-en-var: MAVEN_GPG_PASSPHRASE # Deploy the snapshot - name: Deploy diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 9034ce1e..81a24d19 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,4 @@ ## Changelog for v2.1.3 -- Clean the poms + remove usused module process \ No newline at end of file +- Clean the poms + remove usused module process +- Fix sonatype publishing \ No newline at end of file diff --git a/pom.xml b/pom.xml index 4af9fb91..47d8e1a5 100644 --- a/pom.xml +++ b/pom.xml @@ -491,10 +491,10 @@ org.sonatype.central central-publishing-maven-plugin - 0.8.0 + 0.12.0 true - central + sonatype