This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new e5a0265ff fix rat checks
e5a0265ff is described below

commit e5a0265ff6737d96f8f1730f8c544a112ce3386f
Author: tallison <[email protected]>
AuthorDate: Tue Jul 9 17:19:54 2024 -0400

    fix rat checks
---
 tika-handlers/pom.xml                              | 14 ++++++++++
 tika-parent/intellij-code-style.xml                | 18 +++++++++++++
 tika-pipes/tika-grpc/example-dockerfile/Dockerfile | 12 +++++++++
 .../tika-grpc/example-dockerfile/docker-build.sh   | 13 +++++++++-
 tika-pipes/tika-grpc/pom.xml                       | 30 ++++++++++++++++++++++
 5 files changed, 86 insertions(+), 1 deletion(-)

diff --git a/tika-handlers/pom.xml b/tika-handlers/pom.xml
index 716f4f377..8fd24068c 100644
--- a/tika-handlers/pom.xml
+++ b/tika-handlers/pom.xml
@@ -43,4 +43,18 @@
       <scope>provided</scope>
     </dependency>
   </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>${rat.version}</version>
+        <configuration>
+          <excludes>
+            <exclude>README.md</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
\ No newline at end of file
diff --git a/tika-parent/intellij-code-style.xml 
b/tika-parent/intellij-code-style.xml
index 9768e08ba..1026b7256 100644
--- a/tika-parent/intellij-code-style.xml
+++ b/tika-parent/intellij-code-style.xml
@@ -1,3 +1,21 @@
+<!--
+   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.
+-->
 <code_scheme name="tika" version="173">
   <JavaCodeStyleSettings>
     <option name="ANNOTATION_PARAMETER_WRAP" value="1" />
diff --git a/tika-pipes/tika-grpc/example-dockerfile/Dockerfile 
b/tika-pipes/tika-grpc/example-dockerfile/Dockerfile
index 64c46cc94..c10b4aa8b 100644
--- a/tika-pipes/tika-grpc/example-dockerfile/Dockerfile
+++ b/tika-pipes/tika-grpc/example-dockerfile/Dockerfile
@@ -1,3 +1,15 @@
+
+# Licensed 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.
 FROM ubuntu:latest
 COPY libs/ /tika/libs/
 COPY tika-config.xml /tika/config/tika-config.xml
diff --git a/tika-pipes/tika-grpc/example-dockerfile/docker-build.sh 
b/tika-pipes/tika-grpc/example-dockerfile/docker-build.sh
index 7f9934759..3fa51c9d8 100644
--- a/tika-pipes/tika-grpc/example-dockerfile/docker-build.sh
+++ b/tika-pipes/tika-grpc/example-dockerfile/docker-build.sh
@@ -1,4 +1,15 @@
-TAG_NAME=$1
+# Licensed 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.
+# TAG_NAME=$1
 
 if [ -z "${TAG_NAME}" ]; then
     echo "Single command line argument is required which will be used as the 
-t parameter of the docker build command"
diff --git a/tika-pipes/tika-grpc/pom.xml b/tika-pipes/tika-grpc/pom.xml
index 693af2159..a401c6033 100644
--- a/tika-pipes/tika-grpc/pom.xml
+++ b/tika-pipes/tika-grpc/pom.xml
@@ -1,3 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
@@ -288,6 +307,17 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>${rat.version}</version>
+        <configuration>
+          <excludes>
+            <exclude>src/test/resources/certs/**</exclude>
+            <exclude>README.md</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>

Reply via email to