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

reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf-build-utils.git


The following commit(s) were added to refs/heads/main by this push:
     new 4c43710  Add separate headers for *.java and *.properties files
4c43710 is described below

commit 4c43710950125fcd8a1c30648d08cff1ea037801
Author: Andriy Redko <[email protected]>
AuthorDate: Thu Feb 12 21:35:06 2026 -0500

    Add separate headers for *.java and *.properties files
---
 buildtools/src/main/resources/cxf-checkstyle-corba.xml | 1 +
 buildtools/src/main/resources/cxf-checkstyle.xml       | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/buildtools/src/main/resources/cxf-checkstyle-corba.xml 
b/buildtools/src/main/resources/cxf-checkstyle-corba.xml
index f46f07f..44a7d9d 100644
--- a/buildtools/src/main/resources/cxf-checkstyle-corba.xml
+++ b/buildtools/src/main/resources/cxf-checkstyle-corba.xml
@@ -296,6 +296,7 @@
     <module name="Header">
       <property name="header"
                 value="/**\n * Licensed to the Apache Software Foundation 
(ASF) under one\n * or more contributor license agreements. See the NOTICE 
file\n * distributed with this work for additional information\n * regarding 
copyright ownership. The ASF licenses this file\n * to you under the Apache 
License, Version 2.0 (the\n * &quot;License&quot;); you may not use this file 
except in compliance\n * with the License. You may obtain a copy of the License 
at\n *\n * http://www.apache.org [...]
+      <property name="fileExtensions" value="java"/>
     </module>
     <!-- <module name="RegexpHeader"/> -->
     <module name="FileLength">
diff --git a/buildtools/src/main/resources/cxf-checkstyle.xml 
b/buildtools/src/main/resources/cxf-checkstyle.xml
index 0883111..2c0b197 100644
--- a/buildtools/src/main/resources/cxf-checkstyle.xml
+++ b/buildtools/src/main/resources/cxf-checkstyle.xml
@@ -298,6 +298,12 @@
     <module name="Header">
       <property name="header"
                 value="/**\n * Licensed to the Apache Software Foundation 
(ASF) under one\n * or more contributor license agreements. See the NOTICE 
file\n * distributed with this work for additional information\n * regarding 
copyright ownership. The ASF licenses this file\n * to you under the Apache 
License, Version 2.0 (the\n * &quot;License&quot;); you may not use this file 
except in compliance\n * with the License. You may obtain a copy of the License 
at\n *\n * http://www.apache.org [...]
+      <property name="fileExtensions" value="java"/>
+    </module>
+    <module name="RegexpHeader">
+      <property name="header" 
+                value="#\n#\n#    Licensed to the Apache Software Foundation 
\(ASF\) under one\n^#    or more contributor license agreements\. See the 
NOTICE file\n^#    distributed with this work for additional information\n^#    
regarding copyright ownership\. The ASF licenses this file\n^#    to you under 
the Apache License, Version 2\.0 \(the\n^#    &quot;License&quot;\)\; you may 
not use this file except in compliance\n^#    with the License\.\n^#\n^#    
http://www\.apache\.org/lice [...]
+      <property name="fileExtensions" value="properties"/>
     </module>
     <module name="SuppressionFilter">
         <property name="file" value="${checkstyle.suppressions.file}" />

Reply via email to