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 + +