You might also try ./gradlew build --refresh-dependencies if this happens
again.

On Wed, Jan 23, 2019 at 9:38 AM Kirk Lund <kl...@apache.org> wrote:

> I saw the same problem a few weeks ago. I ended up deleting the directories
> in my .m2 repository and rebuilding. That seemed to fix it.
>
> The cause seems to have something to do with that log4j core tests jar, but
> I'm not sure why our build would be looking for the corresponding sources
> jar. If anyone knows what would cause this, let me know!
>
> On Tue, Jan 22, 2019 at 5:49 PM Galen O'Sullivan <gosulli...@pivotal.io>
> wrote:
>
> > I'm getting the following failure building Geode on the latest develop.
> > I've tried `rm -r .gradle ~/.gradle`, to no avail. Any ideas?
> >
> > Thanks,
> > Galen
> >
> > ---
> >
> > ./gradlew dev
> > > Task :geode-core:compileIntegrationTestJava FAILED
> >
> > FAILURE: Build failed with an exception.
> >
> > * What went wrong:
> > Execution failed for task ':geode-core:compileIntegrationTestJava'.
> > > Could not resolve all files for configuration
> > ':geode-core:integrationTestCompileClasspath'.
> >    > Could not find log4j-core-tests.jar
> > (org.apache.logging.log4j:log4j-core:2.11.1).
> >      Searched in the following locations:
> >
> >
> >
> file:/Users/gosullivan/.m2/repository/org/apache/logging/log4j/log4j-core/2.11.1/log4j-core-2.11.1-tests.jar
> >    > Could not find log4j-core-test-sources.jar
> > (org.apache.logging.log4j:log4j-core:2.11.1).
> >      Searched in the following locations:
> >
> >
> >
> file:/Users/gosullivan/.m2/repository/org/apache/logging/log4j/log4j-core/2.11.1/log4j-core-2.11.1-test-sources.jar
> >
> > * 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://urldefense.proofpoint.com/v2/url?u=https-3A__help.gradle.org&d=DwIBaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=oz-4MoNONnm7XFd0NWMb3g&m=xgO6NyJSiftex8QXD5QJ4pgduD0C7W-ovrychCh4GmU&s=ajS6jzRPUeYjdT-R2p1HDX_9A_660FRZjsJ4cRMD-_Y&e=
> >
> > Deprecated Gradle features were used in this build, making it
> incompatible
> > with Gradle 6.0.
> > Use '--warning-mode all' to show the individual deprecation warnings.
> > See
> >
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.gradle.org_5.0_userguide_command-5Fline-5Finterface.html-23sec-3Acommand-5Fline-5Fwarnings&d=DwIBaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=oz-4MoNONnm7XFd0NWMb3g&m=xgO6NyJSiftex8QXD5QJ4pgduD0C7W-ovrychCh4GmU&s=ZeKKsj9s-7D4ccqAPBX7hJddwZPlMHkGll8cCJayDbQ&e=
> >
> > BUILD FAILED in 24s
> >
>

Reply via email to