This is an automated email from the ASF dual-hosted git repository.

mbrohl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 2b118ce6432c377b89a7cf2a5f4fed7e71a07ec2
Author: Michael Brohl <michael.br...@ecomify.de>
AuthorDate: Wed Feb 10 00:55:34 2021 +0100

    Improved: Switch from jCenter to mavenCentral to handle the jCenter
    shutdown (OFBIZ-12171)
    
    See comments in build.gradle for details.
---
 build.gradle | 29 ++++++++++++++++++++++++++---
 1 file changed, 26 insertions(+), 3 deletions(-)

diff --git a/build.gradle b/build.gradle
index f40f89a..0963962 100644
--- a/build.gradle
+++ b/build.gradle
@@ -128,8 +128,31 @@ defaultTasks 'jar', 'test'
 
 allprojects {
     repositories{
-        jcenter()
-        mavenLocal()
+        mavenCentral()
+        // the switch from jCenter to mavenCentral needs some additional 
repositories to be configured here
+        // this should be checked frequently to remove obsolete configurations 
if the artifacts are available
+        // on mavenCentral directly
+        maven {
+            // org.restlet and org.restlet.ext.servlet
+            url "https://maven.restlet.talend.com";
+        }
+        maven {
+            // net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11
+            url "https://packages.atlassian.com/maven-3rdparty/";
+        }
+        maven {
+            // org/milyn/flute/1.3/flute-1.3.jar
+            // need artifact only because of wrong pom metadata in maven 
central
+            url "https://repo1.maven.org/maven2";
+            metadataSources {
+                artifact()
+            }
+        }
+        maven {
+            // com.springsource.com.sun.syndication
+            url "https://repo.spring.io/plugins-release";
+        }
+
     }
 }
 
@@ -170,7 +193,7 @@ dependencies {
     implementation 'commons-net:commons-net:3.7.2'
     implementation 'commons-validator:commons-validator:1.7'
     implementation 'de.odysseus.juel:juel-impl:2.2.7'
-    implementation 'net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11'
+    implementation 'net.fortuna.ical4j:ical4j:1.0-rc4-atlassian-12'
     implementation 'net.lingala.zip4j:zip4j:2.6.4'
     implementation 'org.apache.ant:ant-junit:1.10.9'
     implementation 'org.apache.commons:commons-collections4:4.4'

Reply via email to