http://ofbiz.116.s1.nabble.com/Strong-dependency-of-OFBiz-build-on-JCenter-tp4733256p4733298.html
and ensured correct behavior. This way differences in names or transitive
> Just to clarify, I was suggesting that we could add more repositories, not
> replace Jcenter with another one: the redundancy would mitigate the risk of
> unavailability.
>
> Jacopo
>
> On Fri, Mar 22, 2019 at 6:07 PM Taher Alkhateeb <
>
[hidden email]>
> wrote:
>
> > Whatever repository you choose, there is always the risk of going down.
> >
> > To mitigate this risk, you can (after deploying the system) use the -
> > -offline flag when running gradle. Alternatively you can simply run the
> > java - jar command.
> >
> > On Fri, Mar 22, 2019, 10:41 AM Swapnil M Mane <
> >
[hidden email]> 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
> > >
> >
>