This is an automated email from the ASF dual-hosted git repository.
tallison pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git.
from 7c68eb2 Merge pull request #337 from JoaoGFarias/patch-1
new 811330f TIKA-3160 -- run surefire tests headless
new 4e05727 TIKA-3153 -- add MinShouldMatchClause to allow more
flexibility in defining rfc822 detection
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../java/org/apache/tika/mime/MimeTypesReader.java | 57 ++++++++++++---
.../apache/tika/mime/MimeTypesReaderMetKeys.java | 2 +
.../{OrClause.java => MinShouldMatchClause.java} | 35 ++++++++--
.../org/apache/tika/mime/tika-mimetypes.xml | 81 +++++++++++++---------
.../org/apache/tika/mime/MimeTypesReaderTest.java | 73 ++++++++++++++++++-
...xml => custom-mimetypes-badMinShouldMatch1.xml} | 21 ++++--
...xml => custom-mimetypes-badMinShouldMatch2.xml} | 21 ++++--
...xml => custom-mimetypes-badMinShouldMatch3.xml} | 21 ++++--
...xml => custom-mimetypes-badMinShouldMatch4.xml} | 16 +++--
.../custom-mimetypes-minShouldMatch.xml} | 30 +++++---
tika-parent/pom.xml | 2 +-
.../apache/tika/parser/mail/RFC822ParserTest.java | 2 +-
12 files changed, 288 insertions(+), 73 deletions(-)
copy tika-core/src/main/java/org/apache/tika/mime/{OrClause.java =>
MinShouldMatchClause.java} (55%)
copy tika-core/src/test/resources/org/apache/tika/mime/{custom-mimetypes2.xml
=> custom-mimetypes-badMinShouldMatch1.xml} (61%)
copy tika-core/src/test/resources/org/apache/tika/mime/{custom-mimetypes2.xml
=> custom-mimetypes-badMinShouldMatch2.xml} (61%)
copy tika-core/src/test/resources/org/apache/tika/mime/{custom-mimetypes2.xml
=> custom-mimetypes-badMinShouldMatch3.xml} (60%)
copy tika-core/src/test/resources/org/apache/tika/mime/{custom-mimetypes2.xml
=> custom-mimetypes-badMinShouldMatch4.xml} (76%)
copy
tika-core/src/test/resources/org/apache/tika/{config/TIKA-1986-bad-values.xml
=> mime/custom-mimetypes-minShouldMatch.xml} (60%)