You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2019/05/13 15:41:27 UTC
[tika] branch master updated: update license headers/exclusions for
RAT
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/master by this push:
new 68d2faa update license headers/exclusions for RAT
68d2faa is described below
commit 68d2faa070a4650da67ab683f616f4c6cab1657d
Author: TALLISON <ta...@apache.org>
AuthorDate: Mon May 13 11:41:14 2019 -0400
update license headers/exclusions for RAT
---
tika-nlp/pom.xml | 4 +++-
tika-parsers/pom.xml | 1 +
.../apache/tika/parser/microsoft/FormattingUtils.java | 16 ++++++++++++++++
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/tika-nlp/pom.xml b/tika-nlp/pom.xml
index 3b5ef2a..208ace1 100644
--- a/tika-nlp/pom.xml
+++ b/tika-nlp/pom.xml
@@ -264,7 +264,9 @@
<artifactId>apache-rat-plugin</artifactId>
<version>${rat.version}</version>
<configuration>
- <excludes />
+ <excludes>
+ <exclude>model/org/apache/tika/parser/recognition/**</exclude>
+ </excludes>
</configuration>
</plugin>
<!-- to get the OpenNLP models in the right place for AgeRecogniser: TODO: fix AgeRecogniser in next version to load from classpath -->
diff --git a/tika-parsers/pom.xml b/tika-parsers/pom.xml
index c4cd45b..b810059 100644
--- a/tika-parsers/pom.xml
+++ b/tika-parsers/pom.xml
@@ -905,6 +905,7 @@
<excludes>
<exclude>src/main/java/org/apache/tika/parser/txt/Charset*.java</exclude>
<exclude>src/test/resources/test-documents/**</exclude>
+ <exclude>src/test/resources/org/apache/tika/parser/recognition/*.bin</exclude>
<exclude>src/test/resources/META-INF/services/org.apache.tika.parser.Parser</exclude>
</excludes>
</configuration>
diff --git a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/FormattingUtils.java b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/FormattingUtils.java
index 1dbed08..7bbc5df 100644
--- a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/FormattingUtils.java
+++ b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/FormattingUtils.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.tika.parser.microsoft;
import org.apache.poi.wp.usermodel.CharacterRun;