Skip to content

Commit

Permalink
Merge pull request #5 from gabriel-logan/main
Browse files Browse the repository at this point in the history
chore: Update Maven publish workflow to use global settings file
  • Loading branch information
gabriel-logan authored Jul 9, 2024
2 parents 75c2682 + 475343e commit 73424a5
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 4 deletions.
Empty file.
4 changes: 3 additions & 1 deletion .idea/sonarlint/issuestore/index.pb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
4 changes: 3 additions & 1 deletion .idea/sonarlint/securityhotspotstore/index.pb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github</groupId>
<artifactId>multiform-validator</artifactId>
<version>0.0.1</version>
<version>0.0.1-TEST</version>

<name>Multiform Validator</name>
<description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<name>GitHub multiform-validator Apache Maven Packages</name>
<url>https://maven.pkg.github.com/multiform-validator/java</url>
</repository>
</distributionManagement>
Expand Down
23 changes: 23 additions & 0 deletions settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://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/multiform-validator/java</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>

<servers>
<server>
<id>github</id>
Expand Down

0 comments on commit 73424a5

Please sign in to comment.