This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch TIKA-2725 in repository https://gitbox.apache.org/repos/asf/tika.git
commit 383dcefe230136b41e24cd43537175d62a0ed67b Author: TALLISON <[email protected]> AuthorDate: Fri Sep 14 11:43:38 2018 -0400 Fix missing license headers; h/t rat! --- tika-bundle/pom.xml | 10 ++++++++++ .../main/java/org/apache/tika/utils/ProcessUtils.java | 16 ++++++++++++++++ .../org/apache/tika/fork/UpperCasingContentHandler.java | 16 ++++++++++++++++ .../tika/fork/unusedpackage/ClassInUnusedPackage.java | 16 ++++++++++++++++ 4 files changed, 58 insertions(+) diff --git a/tika-bundle/pom.xml b/tika-bundle/pom.xml index cbc6e35..6e5838c 100644 --- a/tika-bundle/pom.xml +++ b/tika-bundle/pom.xml @@ -520,6 +520,16 @@ </systemPropertyVariables> </configuration> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>src/main/resources/META-INF/MANIFEST.MF</exclude> + </excludes> + </configuration> + </plugin> + </plugins> </build> diff --git a/tika-core/src/main/java/org/apache/tika/utils/ProcessUtils.java b/tika-core/src/main/java/org/apache/tika/utils/ProcessUtils.java index 588a00b..83beda2 100644 --- a/tika-core/src/main/java/org/apache/tika/utils/ProcessUtils.java +++ b/tika-core/src/main/java/org/apache/tika/utils/ProcessUtils.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 + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * 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.utils; diff --git a/tika-core/src/test/java/org/apache/tika/fork/UpperCasingContentHandler.java b/tika-core/src/test/java/org/apache/tika/fork/UpperCasingContentHandler.java index 035288a..3870c12 100644 --- a/tika-core/src/test/java/org/apache/tika/fork/UpperCasingContentHandler.java +++ b/tika-core/src/test/java/org/apache/tika/fork/UpperCasingContentHandler.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 + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * 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.fork; import org.xml.sax.SAXException; diff --git a/tika-core/src/test/java/org/apache/tika/fork/unusedpackage/ClassInUnusedPackage.java b/tika-core/src/test/java/org/apache/tika/fork/unusedpackage/ClassInUnusedPackage.java index d82f08a..37b272f 100644 --- a/tika-core/src/test/java/org/apache/tika/fork/unusedpackage/ClassInUnusedPackage.java +++ b/tika-core/src/test/java/org/apache/tika/fork/unusedpackage/ClassInUnusedPackage.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 + * <p> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p> + * 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.fork.unusedpackage; public class ClassInUnusedPackage {
