diff --git a/.github/workflows/deploy-to-maven-central.yml b/.github/workflows/deploy-to-maven-central.yml index 5f73e08..1841106 100644 --- a/.github/workflows/deploy-to-maven-central.yml +++ b/.github/workflows/deploy-to-maven-central.yml @@ -18,7 +18,7 @@ jobs: distribution: temurin - name: Build and deploy to Maven Central - run: mvn deploy #-DrepositoryId=central -Durl=https://mvnrepository.com/gov.cdc.lib-hl7v2-nist-validator# + run: mvn deploy -DrepositoryId=central -Durl=https://mvnrepository.com/gov.cdc.lib-hl7v2-nist-validator env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} diff --git a/pom.xml b/pom.xml index b59c960..8444917 100644 --- a/pom.xml +++ b/pom.xml @@ -182,24 +182,10 @@ github https://maven.pkg.github.com/cdcgov/lib-hl7v2-nist-validator - - - - - org.sonatype.central - central-publishing-maven-plugin - 0.5.0 - true - - central - - - - - central https://mvnrepository.com/gov.cdc.lib-hl7v2-nist-validator - --> +