diff --git a/.github/workflows/merge-build.yml b/.github/workflows/merge-build.yml index 77f1fe3..1065e1f 100644 --- a/.github/workflows/merge-build.yml +++ b/.github/workflows/merge-build.yml @@ -46,13 +46,12 @@ jobs: uses: whelk-io/maven-settings-xml-action@v14 if: ${{ github.event.repository.fork == false }} with: - repositories: '[{ "id": "sonatype", "url": "https://oss.sonatype.org/content/repositories/snapshots/", "releases": {"enabled": "false"}, "snapshots": {"enabled": "true" }}]' - servers: '[{ "id": "sonatype", "username": "${{ secrets.SONATYPE_BOT_USERNAME}}", "password": "${{ secrets.SONATYPE_BOT_TOKEN}}" }]' + servers: '[{ "id": "central-portal-snapshots", "username": "${{ secrets.SONATYPE_BOT_USERNAME}}", "password": "${{ secrets.SONATYPE_BOT_TOKEN}}" }]' - name: "Maven Build & Deploy Snapshot to Sonatype OSSRH" if: ${{ github.event.repository.fork == false }} - run: mvn -B -e deploy -DaltDeploymentRepository=sonatype::default::https://oss.sonatype.org/content/repositories/snapshots/ + run: mvn -B -e deploy -DaltDeploymentRepository=central-portal-snapshots - name: "Maven Build" if: ${{ github.event.repository.fork == true }} diff --git a/pom.xml b/pom.xml index 44b693d..f2ed5f3 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ org.commonjava commonjava - 20 + 21-SNAPSHOT org.commonjava.indy