Skip to content

Commit 9413aa2

Browse files
committed
point pom to new publish repo
1 parent 654dc74 commit 9413aa2

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@
4646
</dependency>
4747
</dependencies>
4848

49+
<!-- overrides parent pom to set repo to s01 (the "new" repo) -->
50+
<distributionManagement>
51+
<snapshotRepository>
52+
<!-- This id is linked to the key setup on the CI server -->
53+
<id>sonatype-nexus-staging</id>
54+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
55+
</snapshotRepository>
56+
</distributionManagement>
57+
4958
<build>
5059
<resources>
5160
<resource>
@@ -85,6 +94,20 @@
8594
</execution>
8695
</executions>
8796
</plugin>
97+
98+
<!-- overrides parent pom because new projects are going to different staging repo - s01 -->
99+
<plugin>
100+
<groupId>org.sonatype.plugins</groupId>
101+
<artifactId>nexus-staging-maven-plugin</artifactId>
102+
<version>1.6.8</version>
103+
<extensions>true</extensions>
104+
<configuration>
105+
<!-- The server "id" element from settings to use authentication from -->
106+
<serverId>sonatype-nexus-staging</serverId>
107+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
108+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
109+
</configuration>
110+
</plugin>
88111
</plugins>
89112
</build>
90113

0 commit comments

Comments
 (0)