Skip to content

Commit 785c110

Browse files
authored
Merge pull request #1799 from marklogic/feature/opencsv-fix
MLE-12345 Fixed reference to opencsv
2 parents 6bf1119 + 7f88960 commit 785c110

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

marklogic-client-api/build.gradle

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ dependencies {
4343
testImplementation 'org.xmlunit:xmlunit-legacy:2.10.0'
4444
testImplementation project(':examples')
4545

46+
testImplementation 'org.apache.commons:commons-lang3:3.18.0'
47+
4648
// Allows talking to the Manage API.
4749
testImplementation ("com.marklogic:ml-app-deployer:5.0.0") {
4850
exclude module: "marklogic-client-api"
51+
// Use the commons-lang3 declared above to keep Black Duck happy.
52+
exclude module: "commons-lang3"
4953
}
5054

5155
// Starting with mockito 5.x, Java 11 is required, so sticking with 4.x as we have to support Java 8.
@@ -59,14 +63,17 @@ dependencies {
5963
// Using this to avoid a schema validation issue with the regular xercesImpl
6064
testImplementation 'org.opengis.cite.xerces:xercesImpl-xsd11:2.12-beta-r1667115'
6165

62-
testImplementation 'org.apache.commons:commons-lang3:3.17.0'
63-
testImplementation 'com.opencsv:opencsv:5.10'
66+
testImplementation ('com.opencsv:opencsv:5.11.2') {
67+
// Excluding this due to a security vulnerability, and the test for the example that uses this library
68+
// passes without this on the classpath.
69+
exclude module: "commons-beanutils"
70+
}
6471
testImplementation 'org.skyscreamer:jsonassert:1.5.3'
6572

66-
// Automatic loading of test framework implementation dependencies is deprecated.
67-
// https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
68-
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.13.4")
69-
73+
// Commenting out for now as it prevents tests from being runnable in Intellij.
74+
// Automatic loading of test framework implementation dependencies is deprecated.
75+
// https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
76+
// testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.13.4")
7077
}
7178

7279
// Ensure that mlHost and mlPassword can override the defaults of localhost/admin if they've been modified

0 commit comments

Comments
 (0)