Skip to content

Commit

Permalink
Revert "Exclude log4j-slf4j-impl dependency"
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinperera00 committed Sep 15, 2024
1 parent c320046 commit 5d5cb88
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion bvm/ballerina-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ configurations {
exclude group: 'org.apache.servicemix.bundles', module: 'org.apache.servicemix.bundles.commons-beanutils'
exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-log4j2'
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
}

Expand Down
2 changes: 1 addition & 1 deletion cli/ballerina-cli-module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ configurations {
birJar
bir
birJarCompile { transitive false }
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion cli/ballerina-packerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ configurations {
birJar
bir
birJarCompile { transitive false }
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/balNativeLibProject.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ publishing {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion langlib/langlib-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ test {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion observelib/observe/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ configurations.testCompileClasspath {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/crypto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ configurations.testCompileClasspath {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/database/jdbc2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ dependencies {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/email/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ createBalo {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/encoding/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ configurations.testCompileClasspath {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/file/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ createBalo {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/grpc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ configurations.testCompileClasspath {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/http/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ createBalo {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/io/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ createBalo {
description = 'Ballerina - I/O'

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ dependencies {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/jsonutils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ createBalo {
description = 'Ballerina - Json Utils'

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/jwt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ configurations.testCompileClasspath {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/ldap/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ configurations.testCompileClasspath {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/math/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ createBalo {
description = 'Ballerina - Math'

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/messaging/kafka/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ dependencies {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/messaging/nats/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ configurations.testCompileClasspath {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/messaging/rabbitmq/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ dependencies {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/mime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ configurations.testCompileClasspath {

configurations {
tests
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/oauth2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ configurations.testCompileClasspath {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/socket/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/task/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ configurations.testCompileClasspath {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/time/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ createBalo {
description = 'Ballerina - Time'

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/transactions/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ dependencies {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/xmlutils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ createBalo {
description = 'Ballerina - Xmlutils'

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ballerina-compiler-plugin-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ test {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
2 changes: 1 addition & 1 deletion tests/ballerina-spec-conformance-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test {
}

configurations {
testImplementation.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testImplementation.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testImplementation.exclude group: 'com.fasterxml.woodstox', module: 'woodstox-core'
testImplementation.exclude group: 'org.codehaus.woodstox', module: 'stax2-api'
}
2 changes: 1 addition & 1 deletion tests/ballerina-test-utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ shadowJar {
exclude(dependency('org.ops4j.pax.logging:pax-logging-api'))
exclude(dependency('org.wso2.eclipse.osgi:org.eclipse.osgi'))
exclude(dependency('org.wso2.eclipse.osgi:org.eclipse.osgi.services'))
exclude(dependency('org.apache.logging.log4j:log4j-slf4j-impl'))
exclude(dependency('org.slf4j:slf4j-log4j12'))
exclude(dependency('org.slf4j:slf4j-simple'))
exclude(dependency('org.apache.logging.log4j:log4j-slf4j-impl'))
exclude(dependency('io.netty:netty-common'))
Expand Down
2 changes: 1 addition & 1 deletion tests/ballerina-tools-integration-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ test {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
}

Expand Down
2 changes: 1 addition & 1 deletion tests/jballerina-bstring-unit-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ test {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down
2 changes: 1 addition & 1 deletion tests/jballerina-unit-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ test {
}

configurations {
testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12'
testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple'
testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api'
}
Expand Down

0 comments on commit 5d5cb88

Please sign in to comment.