Skip to content

Commit

Permalink
Configure ossrh snapshots in settings.xml
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
oranheim committed Oct 3, 2024
1 parent 37c540b commit 0a58b94
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,27 @@
</server>
</servers>

<profiles>
<profile>
<id>ossrh-snapshots</id>
<repositories>
<repository>
<id>sonatype-oss-snapshot</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>

<!-- allow build to read snapshots -->
<activeProfiles>
<activeProfile>ossrh-snapshots</activeProfile>
</activeProfiles>

</settings>

0 comments on commit 0a58b94

Please sign in to comment.