]> source.dussan.org Git - gitblit.git/commitdiff
Add Maven Central to registeredRepositories
authorFlorian Zschocke <florian.zschocke@devolo.de>
Tue, 28 Jan 2020 12:53:39 +0000 (13:53 +0100)
committerFlorian Zschocke <florian.zschocke@devolo.de>
Tue, 28 Jan 2020 12:53:39 +0000 (13:53 +0100)
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.

build.moxie

index f42979233f17eaea6dce97219167c7f1cd7f0231..d95db89ae019afbbd9a2d12ee042e86a230865cb 100644 (file)
@@ -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' }