From 19f1eb4ca345173e1cc585f51a9405d98b4e0a64 Mon Sep 17 00:00:00 2001 From: George Cao Date: Thu, 31 Mar 2022 23:30:09 +0800 Subject: [PATCH] Fix #199 by adding new repo url https://s01.oss.sonatype.org to sonatype repo list (#201) --- index.test.js | 20 ++++++++++++++++++++ settings.test.js | 20 ++++++++++++++++++++ templates/sonatype-snapshot.xml | 20 ++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/index.test.js b/index.test.js index 67963b47..739374bb 100644 --- a/index.test.js +++ b/index.test.js @@ -137,6 +137,16 @@ test('run with all feature', () => { true + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + false + + + true + + @@ -149,6 +159,16 @@ test('run with all feature', () => { true + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + false + + + true + + diff --git a/settings.test.js b/settings.test.js index b2e0605d..226b9ec7 100644 --- a/settings.test.js +++ b/settings.test.js @@ -504,6 +504,16 @@ test('addSonatypeSnapshots', () => { true + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + false + + + true + + @@ -516,6 +526,16 @@ test('addSonatypeSnapshots', () => { true + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + false + + + true + + `); }); diff --git a/templates/sonatype-snapshot.xml b/templates/sonatype-snapshot.xml index 285f73c6..ba2607e1 100644 --- a/templates/sonatype-snapshot.xml +++ b/templates/sonatype-snapshot.xml @@ -15,6 +15,16 @@ true + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + false + + + true + + @@ -27,5 +37,15 @@ true + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + false + + + true + +