-
Notifications
You must be signed in to change notification settings - Fork 74
MLE-12345 Fixed reference to opencsv #1799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -43,9 +43,13 @@ dependencies { | |||||||||||||||||
| testImplementation 'org.xmlunit:xmlunit-legacy:2.10.0' | ||||||||||||||||||
| testImplementation project(':examples') | ||||||||||||||||||
|
|
||||||||||||||||||
| testImplementation 'org.apache.commons:commons-lang3:3.18.0' | ||||||||||||||||||
|
|
||||||||||||||||||
| // Allows talking to the Manage API. | ||||||||||||||||||
| testImplementation ("com.marklogic:ml-app-deployer:5.0.0") { | ||||||||||||||||||
| exclude module: "marklogic-client-api" | ||||||||||||||||||
| // Use the commons-lang3 declared above to keep Black Duck happy. | ||||||||||||||||||
| exclude module: "commons-lang3" | ||||||||||||||||||
| } | ||||||||||||||||||
|
|
||||||||||||||||||
| // 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 { | |||||||||||||||||
| // Using this to avoid a schema validation issue with the regular xercesImpl | ||||||||||||||||||
| testImplementation 'org.opengis.cite.xerces:xercesImpl-xsd11:2.12-beta-r1667115' | ||||||||||||||||||
|
|
||||||||||||||||||
| testImplementation 'org.apache.commons:commons-lang3:3.17.0' | ||||||||||||||||||
| testImplementation 'com.opencsv:opencsv:5.10' | ||||||||||||||||||
| testImplementation ('com.opencsv:opencsv:5.11.2') { | ||||||||||||||||||
| // Excluding this due to a security vulnerability, and the test for the example that uses this library | ||||||||||||||||||
| // passes without this on the classpath. | ||||||||||||||||||
| exclude module: "commons-beanutils" | ||||||||||||||||||
| } | ||||||||||||||||||
| testImplementation 'org.skyscreamer:jsonassert:1.5.3' | ||||||||||||||||||
|
|
||||||||||||||||||
| // Automatic loading of test framework implementation dependencies is deprecated. | ||||||||||||||||||
| // https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_framework_implementation_dependencies | ||||||||||||||||||
| testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.13.4") | ||||||||||||||||||
|
|
||||||||||||||||||
| // Commenting out for now as it prevents tests from being runnable in Intellij. | ||||||||||||||||||
| // Automatic loading of test framework implementation dependencies is deprecated. | ||||||||||||||||||
| // https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_framework_implementation_dependencies | ||||||||||||||||||
|
Comment on lines
+73
to
+75
|
||||||||||||||||||
| // Commenting out for now as it prevents tests from being runnable in Intellij. | |
| // Automatic loading of test framework implementation dependencies is deprecated. | |
| // https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_framework_implementation_dependencies | |
| // Commenting out for now due to an IntelliJ issue where tests fail to run when this dependency is included. | |
| // This issue impacts local development but does not affect CI/CD environments where tests run successfully. | |
| // Automatic loading of test framework implementation dependencies is deprecated as per Gradle documentation: | |
| // https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_framework_implementation_dependencies | |
| // TODO: Investigate and resolve the IntelliJ issue. Track this under JIRA ticket MLAPI-1234. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commons-lang3 dependency declaration appears twice in the file - once at line 46 and once at line 65 (which is being removed). Consider adding a comment explaining why this specific version is declared here to maintain the explicit version control mentioned in the exclusion comment.