feat: switch Github packages repo for local Nexus artifact repo

This commit is contained in:
Memogoz 2025-05-26 12:43:34 -06:00
parent be107e6346
commit 66bb24fb20

29
pom.xml
View file

@ -312,17 +312,30 @@
<distributionManagement> <distributionManagement>
<!-- Deploy releases to GitHub Packages --> <!-- Deploy releases to GitHub Packages -->
<repository> <!--<repository> -->
<id>github</id> <!-- This ID must match the server ID in your settings.xml --> <!--<id>github</id>>--> <!-- This ID must match the server ID in your settings.xml -->
<name>GitHub Packages</name> <!--<name>GitHub Packages</name>-->
<url>https://maven.pkg.github.com/Memogoz/spring-petclinic</url> <!-- Use your GitHub username and repo name --> <!--<url>https://maven.pkg.github.com/Memogoz/spring-petclinic</url>--> <!-- Use your GitHub username and repo name -->
</repository> <!--</repository>-->
<!-- Deploy snapshots to GitHub Packages --> <!-- Deploy snapshots to GitHub Packages -->
<!--<snapshotRepository>-->
<!--<id>github</id>--> <!-- This ID must match the server ID in your settings.xml -->
<!--<name>GitHub Packages</name>-->
<!--<url>https://maven.pkg.github.com/Memogoz/spring-petclinic</url>--> <!-- Use your GitHub username and repo name -->
<!--</snapshotRepository>-->
<!-- Deploy releases to local Nexus server -->
<repository>
<id>nexus-releases</id> <!-- This ID must match a server ID in your settings.xml -->
<name>Nexus Release Repository</name>
<url>http://localhost:8081/repository/maven-releases/</url>
</repository>
<snapshotRepository> <snapshotRepository>
<id>github</id> <!-- This ID must match the server ID in your settings.xml --> <id>nexus-snapshots</id> <!-- This ID must match a server ID in your settings.xml -->
<name>GitHub Packages</name> <name>Nexus Snapshot Repository</name>
<url>https://maven.pkg.github.com/Memogoz/spring-petclinic</url> <!-- Use your GitHub username and repo name --> <url>http://localhost:8081/repository/maven-snapshots/</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
<repositories> <repositories>
<repository> <repository>