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

sseifert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resource-filter.git

commit a4b4e07bde9032dab86492a7ff6701126291345f
Author: Stefan Seifert <[email protected]>
AuthorDate: Wed Nov 26 13:54:08 2025 +0100

    SLING-13013 spotless: ignore javacc-generated code
---
 pom.xml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index ec43117..25d551f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -88,13 +88,25 @@
                             <goal>javacc</goal>
                         </goals>
                         <configuration>
-                            <jdkVersion>1.8</jdkVersion>
+                            <jdkVersion>${sling.java.version}</jdkVersion>
                             
<javadocFriendlyComments>true</javadocFriendlyComments>
                             
<outputDirectory>${basedir}/src/main/java</outputDirectory>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>com.diffplug.spotless</groupId>
+                <artifactId>spotless-maven-plugin</artifactId>
+                <configuration>
+                    <java>
+                        <excludes>
+                            <!-- ignore javacc-generated code -->
+                            
<exclude>src/main/java/org/apache/sling/resource/filter/impl/script/*.java</exclude>
+                        </excludes>
+                    </java>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>

Reply via email to