summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Zschocke <florian.zschocke@devolo.de>2020-01-28 13:53:39 +0100
committerFlorian Zschocke <florian.zschocke@devolo.de>2020-01-28 13:53:39 +0100
commit89ef6880b39a3f3ba521984c0630b26fc6850358 (patch)
treeb52da9317c180421c353984f49b8f205765e0cdc
parent0cdc0a00d3a99050a4ac2acdfd7d1e7732f2581c (diff)
downloadgitblit-89ef6880b39a3f3ba521984c0630b26fc6850358.tar.gz
gitblit-89ef6880b39a3f3ba521984c0630b26fc6850358.zip
Add Maven Central to registeredRepositories
Moxie does have these defined by default, but with transport HTTP. Since January 2020, Maven Central only accepts HTTPS, no HTTP anymore. So we add them here explicitly, with `https://`. We add it to the `build.moxie` file, instead of keeping it in a local `settings.moxie`, so that a CI server can immediately use it.
-rw-r--r--build.moxie2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.moxie b/build.moxie
index f4297923..d95db89a 100644
--- a/build.moxie
+++ b/build.moxie
@@ -94,6 +94,8 @@ dependencyDirectory: ext
# Register the Eclipse JGit Maven repositories
registeredRepositories:
+- { id: central, url: 'https://repo1.maven.org/maven2' }
+- { id: mavencentral, url: 'https://repo1.maven.org/maven2' }
- { id: eclipse, url: 'http://repo.eclipse.org/content/groups/releases' }
- { id: eclipse-snapshots, url: 'http://repo.eclipse.org/content/groups/snapshots' }
- { id: gitblit, url: 'http://gitblit.github.io/gitblit-maven' }