Skip to content

Commit

Permalink
Mirror the Cloudera Maven repository (#12239)
Browse files Browse the repository at this point in the history
Mirror the Cloudera Maven repository to the internal Maven repository to
speed up builds for CI/CD

This change only affects the CI/CD build script by adding 'mvn -s
jenkins/settings.xml.'

Signed-off-by: timl <timl@nvidia.com>
  • Loading branch information
NvTimLiu authored Feb 28, 2025
1 parent 1b0bce5 commit a6196a4
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion jenkins/settings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
Copyright (c) 2020-2025, NVIDIA CORPORATION. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -99,6 +99,26 @@
</repository>
</repositories>
</profile>
<profile>
<id>mirror-cloudera-to-urm</id>
<repositories>
<repository>
<id>cloudera-repo</id>
<name>sw-spark-maven</name>
<url>${env.URM_URL}</url>
</repository>
</repositories>
</profile>
<profile>
<id>mirror-cloudera-fallback-to-urm</id>
<repositories>
<repository>
<id>cloudera-repo-fallback</id>
<name>sw-spark-maven</name>
<url>${env.URM_URL}</url>
</repository>
</repositories>
</profile>
<profile>
<id>deploy-to-urm</id>
<properties>
Expand All @@ -111,6 +131,8 @@
<activeProfile>mirror-apache-to-urm</activeProfile>
<activeProfile>mirror-apache-https-to-urm</activeProfile>
<activeProfile>mirror-apache2-to-urm</activeProfile>
<activeProfile>mirror-cloudera-to-urm</activeProfile>
<activeProfile>mirror-cloudera-fallback-to-urm</activeProfile>
<activeProfile>deploy-to-urm</activeProfile>
</activeProfiles>
</settings>

0 comments on commit a6196a4

Please sign in to comment.