Skip to content

Commit 8f13c9d

Browse files
committed
add jar deployment to ox GAR
1 parent 12b6068 commit 8f13c9d

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

pom.xml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,29 @@
154154

155155

156156
<distributionManagement>
157+
<!-- <snapshotRepository>-->
158+
<!-- <id>ossrh</id>-->
159+
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
160+
<!-- </snapshotRepository>-->
161+
<!-- <repository>-->
162+
<!-- <id>ossrh</id>-->
163+
<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
164+
<!-- </repository>-->
157165
<snapshotRepository>
158-
<id>ossrh</id>
159-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
166+
<id>ox-snapshots</id>
167+
<url>artifactregistry://us-central1-maven.pkg.dev/ox-registry-prod/ox-snapshots</url>
160168
</snapshotRepository>
161-
<repository>
162-
<id>ossrh</id>
163-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
164-
</repository>
165169
</distributionManagement>
166170

167171
<build>
172+
<extensions>
173+
<extension>
174+
<groupId>com.google.cloud.artifactregistry</groupId>
175+
<artifactId>artifactregistry-maven-wagon</artifactId>
176+
<version>2.1.1</version>
177+
</extension>
178+
</extensions>
179+
168180
<plugins>
169181
<plugin>
170182
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)