Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ucf4 committed Aug 22, 2024
1 parent 6112230 commit a5ea422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
18 changes: 2 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,24 +182,10 @@
<id>github</id>
<url>https://maven.pkg.github.com/cdcgov/lib-hl7v2-nist-validator</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.5.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
<!--Maven Central distribution
<!--Maven Central distribution -->
<repository>
<id>central</id>
<url>https://mvnrepository.com/gov.cdc.lib-hl7v2-nist-validator</url>
<repository />
</distributionManagement> -->
</distributionManagement>
</project>

0 comments on commit a5ea422

Please sign in to comment.