Skip to content

Commit

Permalink
Remove exclude from Apache Geode dependencies on 'org.apache.logging.…
Browse files Browse the repository at this point in the history
…log4j:log4j-core'.

Resolves gh-48.
  • Loading branch information
jxblum committed Sep 18, 2020
1 parent b30db08 commit af843a4
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 56 deletions.
25 changes: 7 additions & 18 deletions apache-geode-extensions/apache-geode-extensions.gradle
Expand Up @@ -4,31 +4,20 @@ description = "Apache Geode Extensions"

dependencies {

compile("org.apache.geode:geode-core:$apacheGeodeVersion") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}

compile("org.apache.geode:geode-cq:$apacheGeodeVersion") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}

compile("org.apache.geode:geode-lucene:$apacheGeodeVersion") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}

compile("org.apache.geode:geode-wan:$apacheGeodeVersion") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compile "org.apache.geode:geode-core:$apacheGeodeVersion"
compile "org.apache.geode:geode-cq:$apacheGeodeVersion"
compile "org.apache.geode:geode-lucene:$apacheGeodeVersion"
compile "org.apache.geode:geode-wan:$apacheGeodeVersion"

compile "com.fasterxml.jackson.core:jackson-databind"

testCompile "org.apache.geode:geode-membership:$apacheGeodeVersion"
testCompile "org.apache.geode:geode-serialization:$apacheGeodeVersion"

testCompile "junit:junit"
testCompile "org.assertj:assertj-core"
testCompile "org.mockito:mockito-core"
testCompile "org.projectlombok:lombok"
testCompile "edu.umd.cs.mtc:multithreadedtc"

testCompile "org.apache.geode:geode-membership:$apacheGeodeVersion"
testCompile "org.apache.geode:geode-serialization:$apacheGeodeVersion"

}
@@ -1,7 +1,7 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE

description = "Spring Boot for Apache Geode Actuator Auto-Configuration"
description = "Spring Boot Actuator Auto-Configuration for Apache Geode"

dependencies {

Expand All @@ -15,10 +15,7 @@ dependencies {
testCompile "org.mockito:mockito-core"
testCompile "org.projectlombok:lombok"
testCompile "org.springframework.boot:spring-boot-starter-test"
testCompile "org.springframework.data:spring-data-geode-test"
testCompile "edu.umd.cs.mtc:multithreadedtc"

testCompile("org.springframework.data:spring-data-geode-test") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}

}
7 changes: 2 additions & 5 deletions spring-geode-actuator/spring-geode-actuator.gradle
@@ -1,7 +1,7 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE

description = "Spring Boot for Apache Geode Actuator"
description = "Spring Boot Actuator for Apache Geode"

dependencies {

Expand All @@ -17,10 +17,7 @@ dependencies {
testCompile "org.mockito:mockito-core"
testCompile "org.projectlombok:lombok"
testCompile "org.springframework.boot:spring-boot-starter-test"
testCompile "org.springframework.data:spring-data-geode-test"
testCompile "edu.umd.cs.mtc:multithreadedtc"

testCompile("org.springframework.data:spring-data-geode-test") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}

}
13 changes: 4 additions & 9 deletions spring-geode-autoconfigure/spring-geode-autoconfigure.gradle
Expand Up @@ -5,7 +5,7 @@ plugins {
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE

description = "Spring Boot for Apache Geode Auto-Configuration"
description = "Spring Boot Auto-Configuration for Apache Geode"

dependencies {

Expand All @@ -17,10 +17,7 @@ dependencies {

optional "org.springframework.boot:spring-boot-autoconfigure-processor"
optional "org.springframework.boot:spring-boot-configuration-processor"

optional("org.springframework.session:spring-session-data-geode") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
optional "org.springframework.session:spring-session-data-geode"

testCompile "jakarta.servlet:jakarta.servlet-api"
testCompile "junit:junit"
Expand All @@ -29,12 +26,9 @@ dependencies {
testCompile "org.projectlombok:lombok"
testCompile "org.springframework.boot:spring-boot-starter-test"
testCompile "org.springframework.boot:spring-boot-starter-web"
testCompile "org.springframework.data:spring-data-geode-test"
testCompile "edu.umd.cs.mtc:multithreadedtc"

testCompile("org.springframework.data:spring-data-geode-test") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}

testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"

testRuntime "javax.cache:cache-api"
Expand All @@ -48,4 +42,5 @@ dependencies {
//testRuntime("io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry:2.0.3.RELEASE") {
// exclude group: "org.apache.logging.log4j", module: "log4j-core"
//}

}
Expand Up @@ -9,10 +9,7 @@ description = "Spring Geode Sample demonstrating the use of Spring Boot Actuator
dependencies {

compile project(":spring-geode-starter-actuator")

compile(project(":spring-geode-starter-test")) {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compile project(":spring-geode-starter-test")

compile "org.springframework.boot:spring-boot-starter-web"

Expand Down
Expand Up @@ -7,8 +7,6 @@ dependencies {

compile project(':spring-geode-starter')

compile('org.springframework.session:spring-session-data-geode') {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compile 'org.springframework.session:spring-session-data-geode'

}
5 changes: 1 addition & 4 deletions spring-geode-starter-test/spring-geode-starter-test.gradle
Expand Up @@ -8,9 +8,6 @@ dependencies {
compile project(':spring-geode-starter')

compile "org.springframework.boot:spring-boot-starter-test"

compile('org.springframework.data:spring-data-geode-test') {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compile 'org.springframework.data:spring-data-geode-test'

}
10 changes: 2 additions & 8 deletions spring-geode/spring-geode.gradle
Expand Up @@ -14,10 +14,7 @@ dependencies {
compile "org.springframework:spring-context-support"
compile "org.springframework:spring-jcl"
compile "org.springframework.boot:spring-boot-starter"

compile("org.springframework.data:spring-data-geode") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compile "org.springframework.data:spring-data-geode"

compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"

Expand All @@ -36,10 +33,7 @@ dependencies {

testCompile "org.springframework.boot:spring-boot-starter-data-jpa"
testCompile "org.springframework.boot:spring-boot-starter-data-cassandra"

testCompile("org.springframework.data:spring-data-geode-test") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
testCompile "org.springframework.data:spring-data-geode-test"

testRuntime "org.hsqldb:hsqldb"

Expand Down

0 comments on commit af843a4

Please sign in to comment.