|
1 | 1 | <!-- |
2 | | -/* |
3 | | - * SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION. |
4 | | - * SPDX-License-Identifier: Apache-2.0 |
5 | | - */ |
| 2 | +SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 3 | +SPDX-License-Identifier: Apache-2.0 |
6 | 4 | --> |
7 | 5 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
8 | 6 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
54 | 52 | <native.build.path>${project.build.directory}/../../../cpp/build</native.build.path> |
55 | 53 | </properties> |
56 | 54 |
|
57 | | - <distributionManagement> |
58 | | - <snapshotRepository> |
59 | | - <id>ossrh</id> |
60 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
61 | | - </snapshotRepository> |
62 | | - </distributionManagement> |
| 55 | + <repositories> |
| 56 | + <!-- Prefer Google Cloud mirror, which has higher rate limits --> |
| 57 | + <repository> |
| 58 | + <id>gcs-maven-central-mirror</id> |
| 59 | + <name>GCS Maven Central mirror</name> |
| 60 | + <url>https://maven-central.storage-download.googleapis.com/maven2/</url> |
| 61 | + <releases> |
| 62 | + <enabled>true</enabled> |
| 63 | + </releases> |
| 64 | + <snapshots> |
| 65 | + <enabled>false</enabled> |
| 66 | + </snapshots> |
| 67 | + </repository> |
| 68 | + <!-- Fall back to Maven upstream for packages not found in GCS mirror --> |
| 69 | + <repository> |
| 70 | + <id>central</id> |
| 71 | + <name>Maven Central</name> |
| 72 | + <url>https://repo.maven.apache.org/maven2</url> |
| 73 | + <releases> |
| 74 | + <enabled>true</enabled> |
| 75 | + </releases> |
| 76 | + <snapshots> |
| 77 | + <enabled>false</enabled> |
| 78 | + </snapshots> |
| 79 | + </repository> |
| 80 | + </repositories> |
63 | 81 |
|
| 82 | + <pluginRepositories> |
| 83 | + <!-- Prefer Google Cloud mirror, which has higher rate limits --> |
| 84 | + <pluginRepository> |
| 85 | + <id>gcs-maven-central-mirror</id> |
| 86 | + <name>GCS Maven Central mirror</name> |
| 87 | + <url>https://maven-central.storage-download.googleapis.com/maven2/</url> |
| 88 | + <releases> |
| 89 | + <enabled>true</enabled> |
| 90 | + </releases> |
| 91 | + <snapshots> |
| 92 | + <enabled>false</enabled> |
| 93 | + </snapshots> |
| 94 | + </pluginRepository> |
| 95 | + <!-- Fall back to Maven upstream for packages not found in GCS mirror --> |
| 96 | + <pluginRepository> |
| 97 | + <id>central</id> |
| 98 | + <name>Maven Plugin Repository</name> |
| 99 | + <url>https://repo.maven.apache.org/maven2</url> |
| 100 | + <releases> |
| 101 | + <enabled>true</enabled> |
| 102 | + </releases> |
| 103 | + <snapshots> |
| 104 | + <enabled>false</enabled> |
| 105 | + </snapshots> |
| 106 | + </pluginRepository> |
| 107 | + </pluginRepositories> |
64 | 108 |
|
65 | 109 | <dependencies> |
66 | 110 |
|
|
204 | 248 | </execution> |
205 | 249 | </executions> |
206 | 250 | </plugin> |
207 | | - <plugin> |
208 | | - <groupId>org.sonatype.plugins</groupId> |
209 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
210 | | - <version>1.6.7</version> |
211 | | - <extensions>true</extensions> |
212 | | - <configuration> |
213 | | - <serverId>ossrh</serverId> |
214 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
215 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
216 | | - </configuration> |
217 | | - </plugin> |
218 | 251 | <plugin> |
219 | 252 | <groupId>com.diffplug.spotless</groupId> |
220 | 253 | <artifactId>spotless-maven-plugin</artifactId> |
|
0 commit comments