Skip to content

Commit

Permalink
Update mvn-settings.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ucf4 authored Aug 19, 2024
1 parent 07ce237 commit 5a04f7b
Showing 1 changed file with 35 additions and 8 deletions.
43 changes: 35 additions & 8 deletions .github/workflows/mvn-settings.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0">
<servers>
<server>
<id>github</id>
<username>ucf4</username> <!-- Replace with your GitHub username -->
<password>${env.LIB_GITHUB_TOKEN}</password>
</server>
</servers>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">

<activeProfiles>
<activeProfile>github</activeProfile>
</activeProfiles>

<profiles>
<profile>
<id>github</id>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
</repository>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/ucf4/lib-hl7v2-nist-validator</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>

<servers>
<server>
<id>github</id>
<username>ucf4</username>
<password>LIB_GITHUB_TOKEN</password>
</server>
</servers>
</settings>

0 comments on commit 5a04f7b

Please sign in to comment.