Skip to content

Commit

Permalink
updated the pom
Browse files Browse the repository at this point in the history
  • Loading branch information
ucf4 committed Aug 23, 2024
1 parent 89298e8 commit 5656a68
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 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 @@ -20,7 +20,7 @@ jobs:
distribution: temurin

- name: Build and deploy to Maven Central
run: mvn deploy -DrepositoryId=central -Durl=https://maven.pkg.github.com/cdcgov/lib-hl7v2-nist-validator
run: mvn deploy --settings .github/workflows/mvn-settings.xml
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
17 changes: 12 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,15 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
<plugin>
<groupId>gov.cdc</groupId>
<artifactId>lib-hl7v2-nist-validator</artifactId>
<version>1.3.5-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
Expand Down Expand Up @@ -182,10 +191,8 @@
<id>github</id>
<url>https://maven.pkg.github.com/cdcgov/lib-hl7v2-nist-validator</url>
</repository>
<!--Maven Central distribution -->
<repository>
<id>central</id>
<url>https://maven.pkg.github.com/cdcgov/lib-hl7v2-nist-validator</url>
</repository>
</distributionManagement>
</project>



0 comments on commit 5656a68

Please sign in to comment.