PATCH-1 Exlude mime4j depedencies via sword2 #197
Merged
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.
Exlude mime4j depedencies via sword2, as they win out over the correct versions
Issue: IQSS#9077
What this PR does / why we need it:
Re-appying the PATCH-1 we had on version 6.0
Part of upgrading from 6.0 to 6.2
More patches are needed
Suggestions on how to test this:
Prepare a system with the patched version of Dataverse.
Use another PR on dans-core-systems (https://github.com/DANS-KNAW/dans-core-systems/pull/30) for that; it will provide for the following to update:
start-preprovisioned-box.py -s dev_archaeology
.deploy.py --playbook provisioning/patches/upgrade-dataverse/to-6.2.yml dev_archaeology
.mvnci
.deploy.py --dataverse-war external/dataverse/target/dataverse
.Then test it with a file that would show the error if it was not fixed.
Full-text indexing for email.txt failed due to Error: java.lang.NoClassDefFoundError : org/apache/james/mime4j/stream/MimeConfig$Builder
.