[
https://issues.apache.org/jira/browse/GEODE-6753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16835917#comment-16835917
]
Mark Hanson commented on GEODE-6753:
------------------------------------
Here is what happens when you strip out the ":tests"
e.g.
{noformat}
diff --git a/extensions/geode-modules-session/build.gradle
b/extensions/geode-modules-session/build.gradle
index 67f4821612..a685afbb2d 100644
--- a/extensions/geode-modules-session/build.gradle
+++ b/extensions/geode-modules-session/build.gradle
@@ -47,9 +47,9 @@ dependencies {
integrationTestCompile('junit:junit')
integrationTestCompile('org.apache.tomcat:jasper:' +
DependencyConstraints.get('tomcat6.version'))
integrationTestCompile('org.assertj:assertj-core')
- integrationTestCompile('org.eclipse.jetty:jetty-http:' +
DependencyConstraints.get('jetty.version') + ':tests')
+ integrationTestCompile('org.eclipse.jetty:jetty-http:' +
DependencyConstraints.get('jetty.version'))
integrationTestCompile('org.eclipse.jetty:jetty-server')
- integrationTestCompile('org.eclipse.jetty:jetty-servlet:' +
DependencyConstraints.get('jetty.version') + ':tests')
+ integrationTestCompile('org.eclipse.jetty:jetty-servlet:' +
DependencyConstraints.get('jetty.version'))
integrationTestCompile('org.eclipse.jetty:jetty-servlet:' +
DependencyConstraints.get('jetty.version'))
integrationTestCompile('org.eclipse.jetty:jetty-util')
integrationTestCompile('org.httpunit:httpunit') {
diff --git a/geode-assembly/build.gradle b/geode-assembly/build.gradle
index df61f63f70..83929b3c29 100755
--- a/geode-assembly/build.gradle
+++ b/geode-assembly/build.gradle
@@ -215,8 +215,7 @@ dependencies {
distributedTestCompile('org.springframework:spring-web')
distributedTestCompile(project(':geode-management'))
distributedTestCompile(project(':geode-web-management'))
- distributedTestCompile('org.apache.logging.log4j:log4j-core::tests')
- distributedTestCompile('org.apache.logging.log4j:log4j-core::test-sources')
+ distributedTestCompile('org.apache.logging.log4j:log4j-core')
distributedTestRuntime(project(':extensions:geode-modules-session-internal')) {
exclude group: 'org.apache.tomcat'
diff --git a/geode-core/build.gradle b/geode-core/build.gradle
index dee3620fb4..c09cb7c9eb 100755
--- a/geode-core/build.gradle
+++ b/geode-core/build.gradle
@@ -378,8 +378,7 @@ dependencies {
}
integrationTestCompile(project(':geode-concurrency-test'))
integrationTestCompile('org.apache.bcel:bcel')
- integrationTestCompile('org.apache.logging.log4j:log4j-core::tests')
- integrationTestCompile('org.apache.logging.log4j:log4j-core::test-sources')
+ integrationTestCompile('org.apache.logging.log4j:log4j-core')
integrationTestCompile('org.powermock:powermock-core')
integrationTestCompile('org.powermock:powermock-module-junit4')
integrationTestCompile('org.powermock:powermock-api-mockito2')
gi
2019-05-08 14:25:47 ⌚ |2.4.1| mhanson-mbpro in ~/workspace/geode
± |develop → origin ↓4 U:3 ✗| → git status
On branch develop
Your branch is behind 'origin/develop' by 4 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: extensions/geode-modules-session/build.gradle
modified: geode-assembly/build.gradle
modified: geode-core/build.gradle{noformat}
{noformat}
> Task :geode-assembly:compileDistributedTestJava FAILED
/Users/mhanson/workspace/geode/geode-assembly/src/distributedTest/java/org/apache/geode/management/internal/rest/ManagementRequestLoggingDUnitTest.java:27:
error: package org.apache.logging.log4j.test.appender does not exist
import org.apache.logging.log4j.test.appender.ListAppender;
^
1 error
> Task :extensions:geode-modules-session:compileIntegrationTestJava FAILED
/Users/mhanson/workspace/geode/extensions/geode-modules-session/src/integrationTest/java/org/apache/geode/modules/session/internal/filter/SessionReplicationIntegrationJUnitTest.java:41:
error: cannot find symbol
import org.eclipse.jetty.http.HttpTester;
^
symbol: class HttpTester
location: package org.eclipse.jetty.http
/Users/mhanson/workspace/geode/extensions/geode-modules-session/src/integrationTest/java/org/apache/geode/modules/session/internal/filter/MyServletTester.java:18:
error: cannot find symbol
import org.eclipse.jetty.servlet.ServletTester;
^
symbol: class ServletTester
location: package org.eclipse.jetty.servlet
/Users/mhanson/workspace/geode/extensions/geode-modules-session/src/integrationTest/java/org/apache/geode/modules/session/internal/filter/MyServletTester.java:24:
error: cannot find symbol
public class MyServletTester extends ServletTester {
^
symbol: class ServletTester
/Users/mhanson/workspace/geode/extensions/geode-modules-session/src/integrationTest/java/org/apache/geode/modules/session/internal/filter/SessionReplicationIntegrationJUnitTest.java:70:
error: package HttpTester does not exist
private HttpTester.Request request;
^
/Users/mhanson/workspace/geode/extensions/geode-modules-session/src/integrationTest/java/org/apache/geode/modules/session/internal/filter/SessionReplicationIntegrationJUnitTest.java:72:
error: package HttpTester does not exist
private HttpTester.Response response;
^
/Users/mhanson/workspace/geode/extensions/geode-modules-session/src/integrationTest/java/org/apache/geode/modules/session/internal/filter/SessionReplicationIntegrationJUnitTest.java:1069:
error: package HttpTester does not exist
private List<Cookie> getCookies(HttpTester.Response response) {
^
6 errors
> Task :geode-core:compileIntegrationTestJava
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogWriterAppenderWithLimitsIntegrationTest.java:27:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogWriterAppenderWithLimitsIntegrationTest.java:68:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class LogWriterAppenderWithLimitsIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterAcceptIntegrationTest.java:26:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterAcceptIntegrationTest.java:27:
error: package org.apache.logging.log4j.test.appender does not exist
import org.apache.logging.log4j.test.appender.ListAppender;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterAcceptIntegrationTest.java:53:
error: cannot find symbol
private ListAppender listAppender;
^
symbol: class ListAppender
location: class GemfireVerboseMarkerFilterAcceptIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterAcceptIntegrationTest.java:61:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class GemfireVerboseMarkerFilterAcceptIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogServiceWithCustomLogConfigIntegrationTest.java:28:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogServiceWithCustomLogConfigIntegrationTest.java:29:
error: package org.apache.logging.log4j.test.appender does not exist
import org.apache.logging.log4j.test.appender.ListAppender;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogServiceWithCustomLogConfigIntegrationTest.java:61:
error: cannot find symbol
private ListAppender listAppender;
^
symbol: class ListAppender
location: class LogServiceWithCustomLogConfigIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogServiceWithCustomLogConfigIntegrationTest.java:73:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class LogServiceWithCustomLogConfigIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/AlertAppenderIntegrationTest.java:38:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/AlertAppenderIntegrationTest.java:83:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class AlertAppenderIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterDenyIntegrationTest.java:24:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterDenyIntegrationTest.java:25:
error: package org.apache.logging.log4j.test.appender does not exist
import org.apache.logging.log4j.test.appender.ListAppender;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterDenyIntegrationTest.java:51:
error: cannot find symbol
private ListAppender listAppender;
^
symbol: class ListAppender
location: class GemfireVerboseMarkerFilterDenyIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterDenyIntegrationTest.java:59:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class GemfireVerboseMarkerFilterDenyIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeConsoleAppenderWithSystemOutRuleIntegrationTest.java:26:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeConsoleAppenderWithSystemOutRuleIntegrationTest.java:70:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class GeodeConsoleAppenderWithSystemOutRuleIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/ConsoleAppenderWithLoggerContextRuleIntegrationTest.java:33:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/ConsoleAppenderWithLoggerContextRuleIntegrationTest.java:70:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class ConsoleAppenderWithLoggerContextRuleIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogWriterAppenderWithMemberNameInXmlIntegrationTest.java:37:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogWriterAppenderWithMemberNameInXmlIntegrationTest.java:77:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class LogWriterAppenderWithMemberNameInXmlIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeVerboseMarkerFilterDenyIntegrationTest.java:26:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeVerboseMarkerFilterDenyIntegrationTest.java:27:
error: package org.apache.logging.log4j.test.appender does not exist
import org.apache.logging.log4j.test.appender.ListAppender;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeVerboseMarkerFilterDenyIntegrationTest.java:53:
error: cannot find symbol
private ListAppender listAppender;
^
symbol: class ListAppender
location: class GeodeVerboseMarkerFilterDenyIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeVerboseMarkerFilterDenyIntegrationTest.java:61:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class GeodeVerboseMarkerFilterDenyIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/DistributedSystemWithLogLevelChangesIntegrationTest.java:34:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/DistributedSystemWithLogLevelChangesIntegrationTest.java:78:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class DistributedSystemWithLogLevelChangesIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeConsoleAppenderWithCacheIntegrationTest.java:32:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeConsoleAppenderWithCacheIntegrationTest.java:66:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class GeodeConsoleAppenderWithCacheIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/CacheWithCustomLogConfigIntegrationTest.java:33:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/CacheWithCustomLogConfigIntegrationTest.java:34:
error: package org.apache.logging.log4j.test.appender does not exist
import org.apache.logging.log4j.test.appender.ListAppender;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/CacheWithCustomLogConfigIntegrationTest.java:72:
error: cannot find symbol
private ListAppender listAppender;
^
symbol: class ListAppender
location: class CacheWithCustomLogConfigIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/CacheWithCustomLogConfigIntegrationTest.java:84:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class CacheWithCustomLogConfigIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/BothLogWriterAppendersIntegrationTest.java:29:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/BothLogWriterAppendersIntegrationTest.java:74:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class BothLogWriterAppendersIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/ConfigurationWithLogLevelChangesIntegrationTest.java:32:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/ConfigurationWithLogLevelChangesIntegrationTest.java:76:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class ConfigurationWithLogLevelChangesIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogWriterAppenderIntegrationTest.java:34:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/LogWriterAppenderIntegrationTest.java:72:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class LogWriterAppenderIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeConsoleAppenderIntegrationTest.java:33:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeConsoleAppenderIntegrationTest.java:69:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class GeodeConsoleAppenderIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/SecurityLogWriterAppenderIntegrationTest.java:28:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/SecurityLogWriterAppenderIntegrationTest.java:71:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class SecurityLogWriterAppenderIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/DistributedSystemWithBothLogWriterAppendersIntegrationTest.java:30:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/DistributedSystemWithBothLogWriterAppendersIntegrationTest.java:75:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class DistributedSystemWithBothLogWriterAppendersIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeVerboseMarkerFilterAcceptIntegrationTest.java:26:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeVerboseMarkerFilterAcceptIntegrationTest.java:27:
error: package org.apache.logging.log4j.test.appender does not exist
import org.apache.logging.log4j.test.appender.ListAppender;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeVerboseMarkerFilterAcceptIntegrationTest.java:53:
error: cannot find symbol
private ListAppender listAppender;
^
symbol: class ListAppender
location: class GeodeVerboseMarkerFilterAcceptIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GeodeVerboseMarkerFilterAcceptIntegrationTest.java:61:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class GeodeVerboseMarkerFilterAcceptIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/FastLoggerIntegrationTest.java:33:
error: package org.apache.logging.log4j.junit does not exist
import org.apache.logging.log4j.junit.LoggerContextRule;
^
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/FastLoggerIntegrationTest.java:80:
error: cannot find symbol
public LoggerContextRule loggerContextRule = new
LoggerContextRule(configFilePath);
^
symbol: class LoggerContextRule
location: class FastLoggerIntegrationTest
/Users/mhanson/workspace/geode/geode-core/src/integrationTest/java/org/apache/geode/management/internal/cli/commands/GfshCommandIntegrationTest.java:25:
error: package org.apache.logging.log4j.test.appender does not exist
import org.apache.logging.log4j.test.appender.ListAppender;
^
53 errors
> Task :geode-core:compileIntegrationTestJava FAILED
FAILURE: Build completed with 3 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':geode-assembly:compileDistributedTestJava'.
> Compilation failed; see the compiler error output for details.
* 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:
Execution failed for task
':extensions:geode-modules-session:compileIntegrationTestJava'.
> Compilation failed; see the compiler error output for details.
* 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.
==============================================================================
3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':geode-core:compileIntegrationTestJava'.
> Compilation failed; see the compiler error output for details.
* 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
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://docs.gradle.org/5.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 16s
257 actionable tasks: 3 executed, 254 up-to-date
2019-05-08 14:21:33 ⌚ |2.4.1| mhanson-mbpro in ~/workspace/geode
{noformat}
> Use of mavenLocal in gradle may cause build to fail with missing tests
> dependencies
> -----------------------------------------------------------------------------------
>
> Key: GEODE-6753
> URL: https://issues.apache.org/jira/browse/GEODE-6753
> Project: Geode
> Issue Type: Bug
> Components: build
> Reporter: Kirk Lund
> Assignee: Patrick Rhomberg
> Priority: Major
>
> This reproduces easily for me with:
> {noformat}
> $ ./gradlew build -x test -x javadoc -x pmdMain
> {noformat}
> I'm not sure why this doesn't reproduce consistently for everyone, but it
> seems to be caused by working on multiple software projects that use both
> gradle and maven. If I delete my .m2 directory or remove the mavenLocal line
> from geode/build.gradle then the build completes without failure.
> If I then use maven to build any project that depends on jetty-http or
> log4j-core, then my .m2 directory is recreated and the problem reproduces
> until I remove mavenLocal or delete my .m2 directory.
> In my case, it seems to be specific to tests dependencies: jetty-http:tests
> and log4j-core:tests.
> Based on feedback from gradle developers regarding this type of problem, I
> believe we should remove mavenLocal use from Geode's gradle build:
> https://discuss.gradle.org/t/gradle-fails-to-download-dependencies-if-not-present-in-mavenlocal/2532/16
> {noformat}
> 1: Task failed with an exception.
> -----------
> * What went wrong:
> Execution failed for task
> ':extensions:geode-modules-session:compileIntegrationTestJava'.
> > Could not resolve all files for configuration
> > ':extensions:geode-modules-session:integrationTestCompileClasspath'.
> > Could not find jetty-http-tests.jar
> (org.eclipse.jetty:jetty-http:9.4.12.v20180830).
> Searched in the following locations:
>
> file:/Users/klund/.m2/repository/org/eclipse/jetty/jetty-http/9.4.12.v20180830/jetty-http-9.4.12.v20180830-tests.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.
> ==============================================================================
> 2: Task failed with an exception.
> -----------
> * What went wrong:
> Execution failed for task ':geode-assembly:compileDistributedTestJava'.
> > Could not resolve all files for configuration
> > ':geode-assembly:distributedTestCompileClasspath'.
> > Could not find log4j-core-tests.jar
> (org.apache.logging.log4j:log4j-core:2.11.1).
> Searched in the following locations:
>
> file:/Users/klund/.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/klund/.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.
> ==============================================================================
> 3: Task 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/klund/.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/klund/.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.
> ==============================================================================
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)