瀏覽代碼

Fix the ingest attachment license (#87189)

This commit fixesx the license/notice files for ingest attachment
dependency to account for both tika-langdetect and tika-langdetect-tika
jars when building dependency info.
Ryan Ernst 3 年之前
父節點
當前提交
e2e241ec01

+ 1 - 0
plugins/ingest-attachment/build.gradle

@@ -84,6 +84,7 @@ restResources {
 
 tasks.named("dependencyLicenses").configure {
   mapping from: /apache-mime4j-.*/, to: 'apache-mime4j'
+  mapping from: /tika-langdetect-.*/, to: 'tika-langdetect'
 }
 
 tasks.named("forbiddenPatterns").configure {

+ 0 - 0
plugins/ingest-attachment/licenses/tika-langdetect-tika-LICENSE.txt → plugins/ingest-attachment/licenses/tika-langdetect-LICENSE.txt


+ 0 - 0
plugins/ingest-attachment/licenses/tika-langdetect-tika-NOTICE.txt → plugins/ingest-attachment/licenses/tika-langdetect-NOTICE.txt