Skip to content

Commit 41b9ce5

Browse files
author
Komal Yadav
committed
Updated configuration for oss exit gate
1 parent 91dd191 commit 41b9ce5

File tree

1 file changed

+26
-30
lines changed

1 file changed

+26
-30
lines changed

pom.xml

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,28 @@
9595

9696
<repositories>
9797
<repository>
98-
<id>sonatype-snapshots</id>
99-
<url>https://central.sonatype.com/repository/maven-snapshots</url>
98+
<id>artifact-registry</id>
99+
<url>artifactregistry:us-maven.pkg.dev/oss-exit-gate-prod/cloud-data-fusion--mavencentral</url>
100+
<releases>
101+
<enabled>true</enabled>
102+
</releases>
103+
<snapshots>
104+
<enabled>true</enabled>
105+
</snapshots>
100106
</repository>
101107
</repositories>
102108

109+
<distributionManagement>
110+
<snapshotRepository>
111+
<id>artifact-registry</id>
112+
<url>artifactregistry://us-maven.pkg.dev/oss-exit-gate-prod/cloud-data-fusion--mavencentral</url>
113+
</snapshotRepository>
114+
<repository>
115+
<id>artifact-registry</id>
116+
<url>artifactregistry://us-maven.pkg.dev/oss-exit-gate-prod/cloud-data-fusion--mavencentral</url>
117+
</repository>
118+
</distributionManagement>
119+
103120
<dependencyManagement>
104121
<dependencies>
105122
<dependency>
@@ -361,6 +378,13 @@
361378
</dependencies>
362379
</dependencyManagement>
363380
<build>
381+
<extensions>
382+
<extension>
383+
<groupId>com.google.cloud.artifactregistry</groupId>
384+
<artifactId>artifactregistry-maven-wagon</artifactId>
385+
<version>2.2.5</version>
386+
</extension>
387+
</extensions>
364388
<testSourceDirectory>${testSourceLocation}</testSourceDirectory>
365389
<pluginManagement>
366390
<plugins>
@@ -532,17 +556,6 @@
532556
<id>release</id>
533557
<build>
534558
<plugins>
535-
<plugin>
536-
<groupId>org.sonatype.central</groupId>
537-
<artifactId>central-publishing-maven-plugin</artifactId>
538-
<version>0.8.0</version>
539-
<extensions>true</extensions>
540-
<configuration>
541-
<publishingServerId>sonatype.release</publishingServerId>
542-
<autoPublish>false</autoPublish>
543-
<ignorePublishedComponents>true</ignorePublishedComponents>
544-
</configuration>
545-
</plugin>
546559
<!-- Source JAR -->
547560
<plugin>
548561
<groupId>org.apache.maven.plugins</groupId>
@@ -588,23 +601,6 @@
588601
</execution>
589602
</executions>
590603
</plugin>
591-
592-
<plugin>
593-
<groupId>org.apache.maven.plugins</groupId>
594-
<artifactId>maven-gpg-plugin</artifactId>
595-
<version>1.5</version>
596-
<configuration>
597-
<passphrase>${gpg.passphrase}</passphrase>
598-
<useAgent>${gpg.useagent}</useAgent>
599-
</configuration>
600-
<executions>
601-
<execution>
602-
<goals>
603-
<goal>sign</goal>
604-
</goals>
605-
</execution>
606-
</executions>
607-
</plugin>
608604
</plugins>
609605
</build>
610606
</profile>

0 commit comments

Comments
 (0)