diff --git a/eng/pipelines/client.yml b/eng/pipelines/client.yml index 7fc3fda5fb570..12c08140c139e 100644 --- a/eng/pipelines/client.yml +++ b/eng/pipelines/client.yml @@ -5,7 +5,7 @@ trigger: - master variables: - DefaultOptions: '--batch-mode -Dmaven.wagon.http.pool=false' + DefaultOptions: '--batch-mode -Dmaven.wagon.http.pool=false --settings eng/settings.xml' LoggingOptions: '-Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' jobs: diff --git a/eng/pipelines/templates/variables/globals.yml b/eng/pipelines/templates/variables/globals.yml index 995b5ded8d605..f8fbff4a8c081 100644 --- a/eng/pipelines/templates/variables/globals.yml +++ b/eng/pipelines/templates/variables/globals.yml @@ -1,4 +1,4 @@ variables: - DefaultOptions: '--batch-mode -Dmaven.wagon.http.pool=false' + DefaultOptions: '--batch-mode -Dmaven.wagon.http.pool=false --settings eng/settings.xml' LoggingOptions: '-Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' skipComponentGovernanceDetection: true \ No newline at end of file diff --git a/eng/settings.xml b/eng/settings.xml new file mode 100644 index 0000000000000..4df5c0bcc9742 --- /dev/null +++ b/eng/settings.xml @@ -0,0 +1,11 @@ + + + + repo-maven-apache-org-mirror + https://repo-maven-apache-org.azurefd.net/maven2 + central + + + \ No newline at end of file