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 3ad2a12fd TIKA-4573 -- try to fix spotless locally and in ci (#2453)
3ad2a12fd is described below

commit 3ad2a12fd0d178ab0a0b0546fcb2ac1ff7bee3c4
Author: Tim Allison <[email protected]>
AuthorDate: Mon Dec 15 17:38:19 2025 -0500

    TIKA-4573 -- try to fix spotless locally and in ci (#2453)
---
 tika-parent/pom.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index a0c8d7c87..070c3cc59 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -309,7 +309,7 @@
     <rat.version>0.17</rat.version>
     <scm.version>2.2.1</scm.version>
     <spotless.goal>apply</spotless.goal>
-
+    
<spotless.header.file>${maven.multiModuleProjectDirectory}/tika-parent/license-header.txt</spotless.header.file>
     <!-- dependency versions -->
     <!-- change threetenbp exclusion version -->
     <google.cloud.version>2.60.0</google.cloud.version>
@@ -1457,7 +1457,7 @@
               <exclude>**/XMPRights.java</exclude>
             </excludes>
             <licenseHeader>
-              
<file>${session.executionRootDirectory}/tika-parent/license-header.txt</file>
+              <file>${spotless.header.file}</file>
               <delimiter>package</delimiter>
             </licenseHeader>
             <indent>
@@ -1609,6 +1609,7 @@
       <properties>
         <!-- Override the Spotless goal when this profile is active -->
         <spotless.goal>check</spotless.goal>
+        
<spotless.header.file>${session.executionRootDirectory}/tika-parent/license-header.txt</spotless.header.file>
       </properties>
     </profile>
     <profile>

Reply via email to