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

alien11689 pushed a commit to branch ARIES-2229-prepare-for-release
in repository https://gitbox.apache.org/repos/asf/aries-rsa.git

commit 70c8e2455405cb5b54f46b66ad75ee5a7f986be2
Author: Dominik Przybysz <[email protected]>
AuthorDate: Wed May 27 17:13:20 2026 +0200

    ARIES-2229: Configure RAT plugin run by default
---
 parent/pom.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 pom.xml        | 11 -----------
 2 files changed, 52 insertions(+), 11 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 0cf6c2a8..bac69e7b 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -420,6 +420,58 @@
                     <failOnMissing>false</failOnMissing>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    
<reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
+                    <excludeSubProjects>false</excludeSubProjects>
+                    <excludes>
+                        <exclude>**/target/**/*</exclude>
+                        <exclude>**/appended-resources/**/*</exclude>
+                        <exclude>**/dependency-reduced-pom.xml</exclude>
+                        <exclude>**/velocity.log</exclude>
+                        <exclude>**/DEPENDENCIES</exclude>
+                        <!-- exclude IntelliJ IDEA generated files -->
+                        <exclude>**/*.iml</exclude>
+                        <exclude>**/*.ipr</exclude>
+                        <exclude>**/*.iws</exclude>
+                        <exclude>**/.idea/**/*</exclude>
+                        <!-- exclude Eclipse IDE generated files -->
+                        <exclude>**/.project</exclude>
+                        <exclude>**/.classpath</exclude>
+                        <exclude>**/.settings/**</exclude>
+                        <exclude>**/eclipse-classes/**/*</exclude>
+                        <!-- manifest files don't support comments so don't 
contain the ASL2.0 header -->
+                        <exclude>**/*.MF</exclude>
+                        <!-- RAT doesn't recognize various licenses -->
+                        <exclude>**/xml.xsd</exclude>
+                        <exclude>.gitignore</exclude>
+                        <exclude>README.md</exclude>
+                        <exclude>**/*.cfg</exclude>
+                        <exclude>**/README.md</exclude>
+                        <exclude>**/Readme.md</exclude>
+                        <exclude>**/NOTICE.vm</exclude>
+                        <!-- Binary and generated files -->
+                        <exclude>**/*.proto</exclude>
+                        <exclude>**/*.class</exclude>
+                        <exclude>**/*.jar</exclude>
+                        <exclude>**/*.zip</exclude>
+                        <exclude>**/*.tar.gz</exclude>
+                        <!-- Properties files and generated files -->
+                        <exclude>**/*.properties</exclude>
+                        <exclude>**/generated/**/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 
diff --git a/pom.xml b/pom.xml
index 237c4c7b..10abd1b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,17 +58,6 @@
         <module>itests</module>
     </modules>
 
-    <profiles>
-        <profile>
-            <id>rat</id>
-            <build>
-                <plugins>
-
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
     <build>
         <defaultGoal>install</defaultGoal>
         <plugins>

Reply via email to