[
https://issues.apache.org/jira/browse/OFBIZ-12171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17298855#comment-17298855
]
Michael Brohl commented on OFBIZ-12171:
---------------------------------------
It's weird but can someone please check and confirm:
With latest trunk and blocked jcenter.bintray.com (set to 127.0.0.1 in
/etc/hosts) OFBiz is not building anymore. There are several artefacts which
Gradle tries to load from JCenter again:
{code:java}
~/Projects/apache-ofbiz/ofbiz-framework ⑂trunk* ./gradlew cleanAll build
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'ofbiz'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve se.patrikerdes:gradle-use-latest-versions-plugin:0.2.15.
Required by:
project : >
se.patrikerdes.use-latest-versions:se.patrikerdes.use-latest-versions.gradle.plugin:0.2.15
> Could not resolve se.patrikerdes:gradle-use-latest-versions-plugin:0.2.15.
> Could not get resource
> 'https://plugins.gradle.org/m2/se/patrikerdes/gradle-use-latest-versions-plugin/0.2.15/gradle-use-latest-versions-plugin-0.2.15.module'.
> Could not GET
> 'https://jcenter.bintray.com/se/patrikerdes/gradle-use-latest-versions-plugin/0.2.15/gradle-use-latest-versions-plugin-0.2.15.module'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1] failed:
> Connection refused (Connection refused)
> Could not resolve com.github.jakemarsden:git-hooks-gradle-plugin:0.0.2.
Required by:
project : >
com.github.jakemarsden.git-hooks:com.github.jakemarsden.git-hooks.gradle.plugin:0.0.2
> Could not resolve com.github.jakemarsden:git-hooks-gradle-plugin:0.0.2.
> Could not get resource
> 'https://plugins.gradle.org/m2/com/github/jakemarsden/git-hooks-gradle-plugin/0.0.2/git-hooks-gradle-plugin-0.0.2.module'.
> Could not GET
> 'https://jcenter.bintray.com/com/github/jakemarsden/git-hooks-gradle-plugin/0.0.2/git-hooks-gradle-plugin-0.0.2.module'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1] failed:
> Connection refused (Connection refused)
> Could not resolve org.codehaus.groovy:groovy-all:2.4.7.
Required by:
project : > at.bxm.svntools:at.bxm.svntools.gradle.plugin:2.2.1 >
at.bxm.gradleplugins:gradle-svntools-plugin:2.2.1
> Could not resolve org.codehaus.groovy:groovy-all:2.4.7.
> Could not get resource
> 'https://plugins.gradle.org/m2/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.pom'.
> Could not GET
> 'https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1] failed:
> Connection refused (Connection refused)
> Could not resolve org.tmatesoft.svnkit:svnkit:1.8.12.
Required by:
project : > at.bxm.svntools:at.bxm.svntools.gradle.plugin:2.2.1 >
at.bxm.gradleplugins:gradle-svntools-plugin:2.2.1
> Could not resolve org.tmatesoft.svnkit:svnkit:1.8.12.
> Could not get resource
> 'https://plugins.gradle.org/m2/org/tmatesoft/svnkit/svnkit/1.8.12/svnkit-1.8.12.pom'.
> Could not GET
> 'https://jcenter.bintray.com/org/tmatesoft/svnkit/svnkit/1.8.12/svnkit-1.8.12.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1] failed:
> Connection refused (Connection refused)
> Could not resolve org.ysb33r.gradle:grolifant:0.12.1.
Required by:
project : >
org.asciidoctor.convert:org.asciidoctor.convert.gradle.plugin:2.4.0 >
org.asciidoctor:asciidoctor-gradle-jvm:2.4.0
project : >
org.asciidoctor.convert:org.asciidoctor.convert.gradle.plugin:2.4.0 >
org.asciidoctor:asciidoctor-gradle-jvm:2.4.0 >
org.asciidoctor:asciidoctor-gradle-base:2.4.0
> Could not resolve org.ysb33r.gradle:grolifant:0.12.1.
> Could not get resource
> 'https://plugins.gradle.org/m2/org/ysb33r/gradle/grolifant/0.12.1/grolifant-0.12.1.pom'.
> Could not GET
> 'https://jcenter.bintray.com/org/ysb33r/gradle/grolifant/0.12.1/grolifant-0.12.1.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1] failed:
> Connection refused (Connection refused)
> Could not resolve org.owasp:dependency-check-core:6.0.3.
Required by:
project : >
org.owasp.dependencycheck:org.owasp.dependencycheck.gradle.plugin:6.0.3 >
org.owasp:dependency-check-gradle:6.0.3
> Could not resolve org.owasp:dependency-check-core:6.0.3.
> Could not get resource
> 'https://plugins.gradle.org/m2/org/owasp/dependency-check-core/6.0.3/dependency-check-core-6.0.3.pom'.
> Could not GET
> 'https://jcenter.bintray.com/org/owasp/dependency-check-core/6.0.3/dependency-check-core-6.0.3.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1] failed:
> Connection refused (Connection refused)
> Could not resolve org.owasp:dependency-check-utils:6.0.3.
Required by:
project : >
org.owasp.dependencycheck:org.owasp.dependencycheck.gradle.plugin:6.0.3 >
org.owasp:dependency-check-gradle:6.0.3
> Could not resolve org.owasp:dependency-check-utils:6.0.3.
> Could not get resource
> 'https://plugins.gradle.org/m2/org/owasp/dependency-check-utils/6.0.3/dependency-check-utils-6.0.3.pom'.
> Could not GET
> 'https://jcenter.bintray.com/org/owasp/dependency-check-utils/6.0.3/dependency-check-utils-6.0.3.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1] failed:
> Connection refused (Connection refused)
> Could not resolve net.gpedro.integrations.slack:slack-webhook:1.4.0.
Required by:
project : >
org.owasp.dependencycheck:org.owasp.dependencycheck.gradle.plugin:6.0.3 >
org.owasp:dependency-check-gradle:6.0.3
> Could not resolve net.gpedro.integrations.slack:slack-webhook:1.4.0.
> Could not get resource
> 'https://plugins.gradle.org/m2/net/gpedro/integrations/slack/slack-webhook/1.4.0/slack-webhook-1.4.0.pom'.
> Could not GET
> 'https://jcenter.bintray.com/net/gpedro/integrations/slack/slack-webhook/1.4.0/slack-webhook-1.4.0.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1] failed:
> Connection refused (Connection refused)
> Could not resolve com.thoughtworks.xstream:xstream:1.4.10.
Required by:
project : >
com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.36.0
> com.github.ben-manes:gradle-versions-plugin:0.36.0
> Could not resolve com.thoughtworks.xstream:xstream:1.4.10.
> Could not get resource
> 'https://plugins.gradle.org/m2/com/thoughtworks/xstream/xstream/1.4.10/xstream-1.4.10.pom'.
> Could not GET
> 'https://jcenter.bintray.com/com/thoughtworks/xstream/xstream/1.4.10/xstream-1.4.10.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1] failed:
> Connection refused (Connection refused)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 23s
{code}
Please check, I want to exclude a problem on my side.
Thanks,
> Handling the JCenter shutdown
> -----------------------------
>
> Key: OFBIZ-12171
> URL: https://issues.apache.org/jira/browse/OFBIZ-12171
> Project: OFBiz
> Issue Type: Improvement
> Components: ALL APPLICATIONS, ALL COMPONENTS, ALL PLUGINS
> Affects Versions: Release Branch 18.12, Trunk, 17.12.05
> Reporter: Michael Brohl
> Assignee: Michael Brohl
> Priority: Major
> Labels: backport-needed
> Fix For: 18.12.01, Upcoming Branch, 17.12.06
>
> Attachments: OFBIZ-12171-1712-README.patch
>
>
> Citing Taher's message at [2]:
> Hello Everyone,
>
> I received emails and checked resources [1] that seem to confirm JCenter from
> JFrog is going down and that the last day of operation for the repository is
> going to be May 1st 2021.
>
> This is a big deal as many running instances will crash unless updated, so
> not only do future versions of OFBiz need to adapt, but also existing
> installations.
>
> I'm not sure how to best handle this? Especially for production instances out
> there on older versions of OFBiz. Maybe one solution is to host the existing
> libraries in some temporary location or try to migrate them to MavenCentral
> ... Whatever is the solution I think we should make a fast move.
>
> [1]
> [https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter]
>
> [https://www.infoq.com/news/2021/02/jfrog-jcenter-bintray-closure]
> [2]
> [https://lists.apache.org/thread.html/rf8e883ca8b90d51ad9d6d48c46f8f1fcc1cb82cce802daeeab0b910a%40%3Cdev.ofbiz.apache.org%3E]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)