[ 
https://issues.apache.org/jira/browse/OFBIZ-12351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438785#comment-17438785
 ] 

Wiebke Pätzold commented on OFBIZ-12351:
----------------------------------------

I create a PR for trunk, but I left jcenter() in build.gradle because otherwise 
I could not build the project with a clean gradle cache.

I get the following error:

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.17.
 Required by:
 project : > 
se.patrikerdes.use-latest-versions:se.patrikerdes.use-latest-versions.gradle.plugin:0.2.17
 > Could not resolve se.patrikerdes:gradle-use-latest-versions-plugin:0.2.17.
 > Could not get resource 
 > 'https://plugins.gradle.org/m2/se/patrikerdes/gradle-use-latest-versions-plugin/0.2.17/gradle-use-latest-versions-plugin-0.2.17.module'.
 > Could not GET 
 > 'https://jcenter.bintray.com/se/patrikerdes/gradle-use-latest-versions-plugin/0.2.17/gradle-use-latest-versions-plugin-0.2.17.module'.
 > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1, 
 > jcenter.bintray.com/0:0:0:0:0: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, 
 > jcenter.bintray.com/0:0:0:0:0: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, 
 > jcenter.bintray.com/0:0:0:0:0: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, 
 > jcenter.bintray.com/0:0:0:0:0: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, 
 > jcenter.bintray.com/0:0:0:0:0:0:0:1] failed: Connection refused (Connection 
 > refused)
 > Could not resolve org.owasp:dependency-check-core:6.3.1.
 Required by:
 project : > 
org.owasp.dependencycheck:org.owasp.dependencycheck.gradle.plugin:6.3.1 > 
org.owasp:dependency-check-gradle:6.3.1
 > Could not resolve org.owasp:dependency-check-core:6.3.1.
 > Could not get resource 
 > 'https://plugins.gradle.org/m2/org/owasp/dependency-check-core/6.3.1/dependency-check-core-6.3.1.pom'.
 > Could not GET 
 > 'https://jcenter.bintray.com/org/owasp/dependency-check-core/6.3.1/dependency-check-core-6.3.1.pom'.
 > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1, 
 > jcenter.bintray.com/0:0:0:0:0:0:0:1] failed: Connection refused (Connection 
 > refused)
 > Could not resolve org.owasp:dependency-check-utils:6.3.1.
 Required by:
 project : > 
org.owasp.dependencycheck:org.owasp.dependencycheck.gradle.plugin:6.3.1 > 
org.owasp:dependency-check-gradle:6.3.1
 > Could not resolve org.owasp:dependency-check-utils:6.3.1.
 > Could not get resource 
 > 'https://plugins.gradle.org/m2/org/owasp/dependency-check-utils/6.3.1/dependency-check-utils-6.3.1.pom'.
 > Could not GET 
 > 'https://jcenter.bintray.com/org/owasp/dependency-check-utils/6.3.1/dependency-check-utils-6.3.1.pom'.
 > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1, 
 > jcenter.bintray.com/0:0:0:0:0: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.3.1 > 
org.owasp:dependency-check-gradle:6.3.1
 > 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, 
 > jcenter.bintray.com/0:0:0:0:0:0:0:1] failed: Connection refused (Connection 
 > refused)
 > Could not resolve com.thoughtworks.xstream:xstream:1.4.17.
 Required by:
 project : > 
com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.39.0
 > com.github.ben-manes:gradle-versions-plugin:0.39.0
 > Could not resolve com.thoughtworks.xstream:xstream:1.4.17.
 > Could not get resource 
 > 'https://plugins.gradle.org/m2/com/thoughtworks/xstream/xstream/1.4.17/xstream-1.4.17.pom'.
 > Could not GET 
 > 'https://jcenter.bintray.com/com/thoughtworks/xstream/xstream/1.4.17/xstream-1.4.17.pom'.
 > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.0.1, 
 > jcenter.bintray.com/0:0:0:0:0:0:0:1] failed: Connection refused (Connection 
 > refused)

Can someone confirm this problem?

 

> Builds fail due to unauthorized access to repo.spring.io/plugins-release
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-12351
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12351
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk, 18.12.01
>            Reporter: Mart Naum
>            Assignee: Wiebke Pätzold
>            Priority: Major
>             Fix For: 18.12.02
>
>
> I just flushed my gradle cache and observed that I am not able to build OFBiz 
> any longer due to unauthorized access to spring/plugins-release. The 
> repository seems to be required for com.springsource.com.sun.syndication, 
> maven lists . I reckon we are affected by the [repo.spring.io permission 
> changes|https://spring.io/blog/2020/10/29/notice-of-permissions-changes-to-repo-spring-io-fall-and-winter-2020].
>  
> {code:java}
> $ ./gradlew cleanAll loadAll> Configure project :
> You are using one or more deprecated Asciidoctor Gradle plugin features. To 
> help with migration run with --warning-mode=all.FAILURE: Build completed with 
> 2 failures.1: Task failed with an exception.
> -----------
> * Where:
> Build file 'D:\Martin\git\ofbiz-framework-latest\build.gradle' line: 1117* 
> What went wrong:
> A problem occurred evaluating root project 'ofbiz'.
> > Could not resolve all files for configuration ':runtimeClasspath'.
>    > Could not resolve 
> com.sun.syndication:com.springsource.com.sun.syndication:1.0.0.
>      Required by:
>          project :
>       > Could not resolve 
> com.sun.syndication:com.springsource.com.sun.syndication:1.0.0.
>          > Could not get resource 
> 'https://repo.spring.io/plugins-release/com/sun/syndication/com.springsource.com.sun.syndication/1.0.0/com.springsource.com.sun.syndication-1.0.0.pom'.
>             > Could not GET 
> 'https://repo.spring.io/plugins-release/com/sun/syndication/com.springsource.com.sun.syndication/1.0.0/com.springsource.com.sun.syndication-1.0.0.pom'.
>  Received status code 401 from server: Unauthorized* 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.
> ==============================================================================2:
>  Task failed with an exception.
> -----------
> * What went wrong:
> A problem occurred configuring root project 'ofbiz'.
> > No hooks found* 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.orgBUILD FAILED in 20s
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to