Skip to content

Commit

Permalink
update profile and build to use GAR for deployment since artifactory …
Browse files Browse the repository at this point in the history
…is not used anymore (#52)
  • Loading branch information
GeorgeAp authored Nov 14, 2024
1 parent 7e5ed58 commit bd7e1b8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
19 changes: 13 additions & 6 deletions java/maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,13 @@
</plugin>
</plugins>
</pluginManagement>
<extensions>
<extension>
<groupId>com.google.cloud.artifactregistry</groupId>
<artifactId>artifactregistry-maven-wagon</artifactId>
<version>2.1.0</version>
</extension>
</extensions>
</build>

<reporting>
Expand All @@ -350,14 +357,14 @@

<distributionManagement>
<repository>
<id>artifactory-releases</id>
<name>artifactory-releases</name>
<url>${artifactory.url}/libs-release-local</url>
<id>artifact-registry</id>
<name>gar-releases</name>
<url>artifactregistry://europe-west1-maven.pkg.dev/siren-cicd/maven-local-siren-release</url>
</repository>
<snapshotRepository>
<id>artifactory-snapshots</id>
<name>artifactory-snapshots</name>
<url>${artifactory.url}/libs-snapshot-local</url>
<id>artifact-registry</id>
<name>gar-snapshots</name>
<url>artifactregistry://europe-west1-maven.pkg.dev/siren-cicd/maven-local-siren-snapshot</url>
</snapshotRepository>
</distributionManagement>
</profile>
Expand Down
19 changes: 12 additions & 7 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@
<artifactId>os-maven-plugin</artifactId>
<version>1.7.0</version>
</extension>
<extension>
<groupId>com.google.cloud.artifactregistry</groupId>
<artifactId>artifactregistry-maven-wagon</artifactId>
<version>2.1.0</version>
</extension>
</extensions>

<plugins>
Expand Down Expand Up @@ -1301,18 +1306,18 @@

<distributionManagement>
<repository>
<id>artifactory-releases</id>
<name>artifactory-releases</name>
<url>${artifactory.url}/libs-release-local</url>
<id>artifact-registry</id>
<name>gar-releases</name>
<url>artifactregistry://europe-west1-maven.pkg.dev/siren-cicd/maven-local-siren-release</url>
</repository>
<snapshotRepository>
<id>artifactory-snapshots</id>
<name>artifactory-snapshots</name>
<url>${artifactory.url}/libs-snapshot-local</url>
<id>artifact-registry</id>
<name>gar-snapshots</name>
<url>artifactregistry://europe-west1-maven.pkg.dev/siren-cicd/maven-local-siren-snapshot</url>
</snapshotRepository>
</distributionManagement>
<properties/>
</profile>

</profiles>

</project>

0 comments on commit bd7e1b8

Please sign in to comment.