Author: fanningpj
Date: Tue Sep 13 11:26:51 2022
New Revision: 1904045

URL: http://svn.apache.org/viewvc?rev=1904045&view=rev
Log:
try to fix hamcrest module issue affecting poi-ooxml test compile

Modified:
    poi/trunk/poi-excelant/build.gradle
    poi/trunk/poi-integration/build.gradle
    poi/trunk/poi-ooxml/build.gradle

Modified: poi/trunk/poi-excelant/build.gradle
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-excelant/build.gradle?rev=1904045&r1=1904044&r2=1904045&view=diff
==============================================================================
--- poi/trunk/poi-excelant/build.gradle (original)
+++ poi/trunk/poi-excelant/build.gradle Tue Sep 13 11:26:51 2022
@@ -46,7 +46,9 @@ dependencies {
         exclude group: 'org.apache.poi', module: 'poi-scratchpad'
     }
     testImplementation 'com.google.guava:guava:31.1-jre'
-    testImplementation 
"org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
+    testImplementation 
("org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}") {
+        exclude group: 'org.hamcrest', module: 'hamcrest-core'
+    }
     testImplementation 'org.slf4j:slf4j-simple:2.0.0'
     testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
 

Modified: poi/trunk/poi-integration/build.gradle
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-integration/build.gradle?rev=1904045&r1=1904044&r2=1904045&view=diff
==============================================================================
--- poi/trunk/poi-integration/build.gradle (original)
+++ poi/trunk/poi-integration/build.gradle Tue Sep 13 11:26:51 2022
@@ -77,7 +77,9 @@ dependencies {
         }
     }
     testImplementation project(path: ':poi-ooxml-lite-agent', configuration: 
'archives')
-    testImplementation 
"org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
+    testImplementation 
("org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}") {
+        exclude group: 'org.hamcrest', module: 'hamcrest-core'
+    }
     testImplementation 'org.slf4j:slf4j-simple:2.0.0'
     testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
 

Modified: poi/trunk/poi-ooxml/build.gradle
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/build.gradle?rev=1904045&r1=1904044&r2=1904045&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/build.gradle (original)
+++ poi/trunk/poi-ooxml/build.gradle Tue Sep 13 11:26:51 2022
@@ -144,7 +144,9 @@ dependencies {
 
     // prevent slf4j warnings coming from xmlsec -> slf4j-api 1.7.x dependency
     // see https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/
-    testImplementation 
"org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
+    testImplementation 
("org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}") {
+        exclude group: 'org.hamcrest', module: 'hamcrest-core'
+    }
     testImplementation 'org.slf4j:slf4j-simple:2.0.0'
 
     if (SAXON_TEST) {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to