You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2021/02/27 13:44:05 UTC
[ofbiz-framework] 03/03: Improved: Switch from jCenter to
mavenCentral to handle the jCenter shutdown (OFBIZ-12171)
This is an automated email from the ASF dual-hosted git repository.
mbrohl pushed a commit to branch release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit ec4bff76a0dabf8f3be44606d3707c79b2fc5a8d
Author: Michael Brohl <mi...@ecomify.de>
AuthorDate: Thu Feb 18 21:58:42 2021 +0100
Improved: Switch from jCenter to mavenCentral to handle the jCenter
shutdown (OFBIZ-12171)
---
build.gradle | 43 ++++++++++++++++++++++++++++++++++++++-----
1 file changed, 38 insertions(+), 5 deletions(-)
diff --git a/build.gradle b/build.gradle
index e301d16..a0c915a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -25,7 +25,10 @@ import org.asciidoctor.gradle.AsciidoctorTask
* ======================================================== */
buildscript {
repositories {
- jcenter()
+ mavenCentral()
+ maven {
+ url "https://plugins.gradle.org/m2/"
+ }
}
dependencies {
classpath 'at.bxm.gradleplugins:gradle-svntools-plugin:2.2.1'
@@ -79,8 +82,34 @@ defaultTasks 'build'
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 {
+ // apache-xerces:xercesImpl:2.9.1
+ url "https://maven.repository.redhat.com/ga/"
+ }
+ maven {
+ // net.fortuna.ical4j:ical4j:1.0-rc4-atlassian-12
+ 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"
+ }
}
}
@@ -116,7 +145,7 @@ dependencies {
compile 'com.ibm.icu:icu4j:60.2'
compile 'com.lowagie:itext:2.1.7' // Don't update due to license change in newer versions, see OFBIZ-10455
compile 'com.sun.mail:javax.mail:1.6.0'
- compile 'com.sun.syndication:com.springsource.com.sun.syndication:0.9.0'
+ compile 'com.sun.syndication:com.springsource.com.sun.syndication:1.0.0'
compile 'com.thoughtworks.xstream:xstream:1.4.10'
compile 'commons-cli:commons-cli:1.4'
compile 'commons-net:commons-net:3.6'
@@ -127,12 +156,15 @@ dependencies {
compile 'javax.servlet:javax.servlet-api:4.0.0'
compile 'javax.servlet.jsp:javax.servlet.jsp-api:2.3.2-b02'
compile 'junit:junit-dep:4.11'
- compile 'net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11'
+ compile 'net.fortuna.ical4j:ical4j:1.0-rc4-atlassian-12'
compile 'org.apache.ant:ant-junit:1.10.1'
compile 'org.apache.axis2:axis2-kernel:1.7.7'
compile 'org.apache.commons:commons-collections4:4.1'
compile 'org.apache.commons:commons-csv:1.5'
compile 'org.apache.commons:commons-dbcp2:2.1.1'
+ compile ('commons-io:commons-io:2.5') {
+ force = true
+ }
compile 'org.apache.commons:commons-text:1.6'
compile 'org.apache.geronimo.components:geronimo-transaction:3.1.4'
compile 'org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1'
@@ -177,6 +209,7 @@ dependencies {
runtime 'org.apache.logging.log4j:log4j-core:2.10.0' // the implementation of the log4j 2 API
runtime 'org.apache.logging.log4j:log4j-jul:2.10.0' // for external jars using the java.util.logging: routes logging to log4j 2
runtime 'org.apache.logging.log4j:log4j-slf4j-impl:2.10.0' // for external jars using slf4j: routes logging to log4j 2
+ runtime 'org.apache.logging.log4j:log4j-jcl:2.10.0' // need to constrain to version to avoid classpath conflict (ReflectionUtil)
runtime 'org.codeartisans.thirdparties.swing:batik-all:1.8pre-r1084380'
// plugin libs