Hi,
I think the Jacopo's suggest will be a good improvement. The last years
I told with a Herve Boutemy (hboutemy, maven-pmc) that explain me why
it's better to use maven central :) . But historically we resolved all
jar dependencies on jcenter and personally I didn't check yet if all jar
resolution done with jcenter are also present on maven central.
Nicolas
On 22/03/2019 08:40, Swapnil M Mane wrote:
Hello team,
Yesterday JCenter was down for some time, due to which I was unable to
start the OFBiz server (because the build was failed).
Status of JCenter can be found at [1].
This is a severe issue because it may be possible during any production
deployment, JCenter is down. Do we have any solution for the issue?
Please let me know if I am missing anything.
[1] https://status.bintray.com/
Here is stacktrace of build failure.
======================================
*> Task :compileTestJava* FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileTestJava'.
Could not resolve all files for configuration ':testCompileClasspath'.
> Could not resolve org.mockito:mockito-core:2.+.
Required by:
project :
> Failed to list versions for org.mockito:mockito-core.
> Unable to load Maven meta-data from
https://jcenter.bintray.com/org/mockito/mockito-core/maven-metadata.xml
<https://www.google.com/url?q=https://jcenter.bintray.com/org/mockito/mockito-core/maven-metadata.xml&sa=D&source=hangouts&ust=1553323118761000&usg=AFQjCNG-BdHXv5XipPli0zc2Lzk033SwEg>
.
> Could not HEAD '
https://jcenter.bintray.com/org/mockito/mockito-core/maven-metadata.xml
<https://www.google.com/url?q=https://jcenter.bintray.com/org/mockito/mockito-core/maven-metadata.xml&sa=D&source=hangouts&ust=1553323118761000&usg=AFQjCNG-BdHXv5XipPli0zc2Lzk033SwEg>
'.
> jcenter.bintray.com
> Failed to list versions for org.mockito:mockito-core.
> Unable to load Maven meta-data from
https://jcenter.bintray.com/org/mockito/mockito-core/maven-metadata.xml
<https://www.google.com/url?q=https://jcenter.bintray.com/org/mockito/mockito-core/maven-metadata.xml&sa=D&source=hangouts&ust=1553323118761000&usg=AFQjCNG-BdHXv5XipPli0zc2Lzk033SwEg>
.
> Could not HEAD '
https://jcenter.bintray.com/org/mockito/mockito-core/maven-metadata.xml
<https://www.google.com/url?q=https://jcenter.bintray.com/org/mockito/mockito-core/maven-metadata.xml&sa=D&source=hangouts&ust=1553323118761000&usg=AFQjCNG-BdHXv5XipPli0zc2Lzk033SwEg>
'.
> jcenter.bintray.com
* 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
<https://www.google.com/url?q=https://help.gradle.org&sa=D&source=hangouts&ust=1553323118761000&usg=AFQjCNF7cVissA1Dr2SsZDCnovsUYDUE7Q>*
*BUILD FAILED* in 1m 14s
======================================
- Best Regards,
Swapnil M Mane,
www.hotwax.co