Skip to content

Commit

Permalink
modify maven registry
Browse files Browse the repository at this point in the history
  • Loading branch information
nasir19noor committed Jan 7, 2025
1 parent 7076172 commit d87ccfc
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .mvn/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
<mirrorOf>external:https:*</mirrorOf>
</mirror>
<mirror>
<id>central-proxy</id>
<name>Local proxy of central repo</name>
<url>artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/ah-3p-staging-maven</url>
<mirrorOf>external:artifactregistry:*</mirrorOf>
<id>central</id>
<name>Maven Central</name>
<url>https://repo1.maven.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
</settings>
51 changes: 51 additions & 0 deletions .mvn/settings.xml_backup
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<activeProfiles>
<activeProfile>
internalMaven
</activeProfile>
</activeProfiles>

<profiles>
<profile>
<id>internalMaven</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<!-- Also update repo values in plugins/core-plugin/s.m.j.c.g.c.t/plugin/DockerfileGenerator.java-->
<repositories>
<repository>
<id>central</id>
<name>Maven Central remote repository</name>
<url>artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/ah-3p-staging-maven</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<properties>
<airlockJavaRepo>ah-3p-staging-maven</airlockJavaRepo>
<airlockPythonRepo>python-3p</airlockPythonRepo>
<saSecretName>default-service-account-key-file</saSecretName>
</properties>
</profile>
</profiles>
<mirrors>
<mirror>
<id>google-maven-central</id>
<name>GCS Maven Central mirror</name>
<url>https://maven-central.storage-download.googleapis.com/maven2/</url>
<mirrorOf>external:https:*</mirrorOf>
</mirror>
<mirror>
<id>central-proxy</id>
<name>Local proxy of central repo</name>
<url>artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/ah-3p-staging-maven</url>
<mirrorOf>external:artifactregistry:*</mirrorOf>
</mirror>
</mirrors>
</settings>

0 comments on commit d87ccfc

Please sign in to comment.