File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ <extensions xmlns =" http://maven.apache.org/EXTENSIONS/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2+ xsi : schemaLocation =" http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd" >
3+ <extension >
4+ <groupId >com.google.cloud.artifactregistry</groupId >
5+ <artifactId >artifactregistry-maven-wagon</artifactId >
6+ <version >2.2.4</version >
7+ </extension >
8+ </extensions >
Original file line number Diff line number Diff line change 1+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2+ xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd" >
3+ <mirrors >
4+ <mirror >
5+ <id >mirror-of-all</id >
6+ <name >Airlock Maven 3P Trusted</name >
7+ <url >artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p-trusted</url >
8+ <mirrorOf >*</mirrorOf >
9+ </mirror >
10+ </mirrors >
11+ </settings >
Original file line number Diff line number Diff line change 1+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2+ xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd" >
3+
4+ <!-- This will ensure that all requests go through ar - but requires that we have an updated token in the auth section.
5+ That token only lasts an hour.
6+ To update token:
7+ export ARTIFACT_REGISTRY_TOKEN=$(gcloud auth print-access-token)
8+ -->
9+
10+ <mirrors >
11+ <mirror >
12+ <id >mirror-of-all</id >
13+ <name >AR Maven Central mirror</name >
14+ <url >https://repo1.maven.org/maven2</url >
15+ <mirrorOf >*</mirrorOf >
16+ </mirror >
17+ </mirrors >
18+
19+ </settings >
You can’t perform that action at this time.
0 commit comments