You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2025/11/04 16:03:17 UTC

(myfaces-tobago) branch tobago-4.x updated: build: update rat plugin (#6857)

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

lofwyr pushed a commit to branch tobago-4.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/tobago-4.x by this push:
     new 811feb6114 build: update rat plugin (#6857)
811feb6114 is described below

commit 811feb611473b2ae2607bc2f6d4d9ebf637ca94c
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Tue Nov 4 17:03:12 2025 +0100

    build: update rat plugin (#6857)
    
    apache-rat-plugin 0.17
---
 pom.xml | 243 ++++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 128 insertions(+), 115 deletions(-)

diff --git a/pom.xml b/pom.xml
index 88f42eb416..bd192dc600 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,8 @@
  * 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">
+<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>
   <parent>
     <groupId>org.apache.myfaces</groupId>
@@ -27,7 +28,10 @@
   <packaging>pom</packaging>
   <name>Apache Tobago</name>
   <version>4.7.0-SNAPSHOT</version>
-  <description>The goal of Tobago is to provide the community with a well-designed set of user interface components based on JSF and run on MyFaces.</description>
+  <description>
+    The goal of Tobago is to provide the community with a well-designed set of user interface components
+    based on JSF and run on MyFaces.
+  </description>
   <url>http://myfaces.apache.org/tobago</url>
   <inceptionYear>2002</inceptionYear>
 
@@ -89,7 +93,10 @@
       <name>Myfaces Developer List (use [Tobago] prefix)</name>
       <subscribe>dev-subscribe@myfaces.apache.org</subscribe>
       <unsubscribe>dev-unsubscribe@myfaces.apache.org</unsubscribe>
-      <post>List for posting patches and discussing internal code implementation issues. Subscribe to this list before posting</post>
+      <post>
+        List for posting patches and discussing internal code implementation issues.
+        Subscribe to this list before posting
+      </post>
       <archive>https://lists.apache.org/list.html?dev@myfaces.apache.org</archive>
       <otherArchives>
         <otherArchive>http://mail-archives.apache.org/mod_mbox/myfaces-dev</otherArchive>
@@ -117,7 +124,8 @@
       <archive>https://lists.apache.org/list.html?notifications@myfaces.apache.org</archive>
       <otherArchives>
         <otherArchive>http://mail-archives.apache.org/mod_mbox/myfaces-notifications</otherArchive>
-        <otherArchive>http://myfaces.markmail.org/search/?q=#query:list%3Aorg.apache.myfaces.notifications</otherArchive>
+        <otherArchive>http://myfaces.markmail.org/search/?q=#query:list%3Aorg.apache.myfaces.notifications
+        </otherArchive>
       </otherArchives>
     </mailingList>
     <mailingList>
@@ -312,21 +320,21 @@
     </dependency>
 
     <!-- you may want to add this for debugging -->
-<!--
-    <dependency>
-    	<groupId>org.jboss.portletbridge</groupId>
-    	<artifactId>portletbridge-api</artifactId>
-    	<version>3.2.1.Final</version>
-      <scope>provided</scope>
-    </dependency>
+    <!--
+        <dependency>
+          <groupId>org.jboss.portletbridge</groupId>
+          <artifactId>portletbridge-api</artifactId>
+          <version>3.2.1.Final</version>
+          <scope>provided</scope>
+        </dependency>
 
-    <dependency>
-    	<groupId>org.jboss.portletbridge</groupId>
-    	<artifactId>portletbridge-impl</artifactId>
-    	<version>3.2.1.Final</version>
-      <scope>provided</scope>
-    </dependency>
--->
+        <dependency>
+          <groupId>org.jboss.portletbridge</groupId>
+          <artifactId>portletbridge-impl</artifactId>
+          <version>3.2.1.Final</version>
+          <scope>provided</scope>
+        </dependency>
+    -->
 
   </dependencies>
 
@@ -445,36 +453,36 @@
           </execution>
         </executions>
       </plugin>
-<!--
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        &lt;!&ndash; XXX better use antrun? &ndash;&gt;
-        <artifactId>maven-resources-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>copy-config-schema</id>
-&lt;!&ndash; XXX why it is not possible to use the site phase here? &ndash;&gt;
-            &lt;!&ndash;<phase>site</phase>&ndash;&gt;
-            <phase>package</phase>
-            <goals>
-              <goal>copy-resources</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${project.build.directory}/site</outputDirectory>
-              <resources>
-                <resource>
-                  <directory>tobago-core/src/main/resources/org/apache/myfaces/tobago/config</directory>
-                  <includes>
-                    <include>**/*.xsd</include>
-                    <include>**/*.dtd</include>
-                  </includes>
-                </resource>
-              </resources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
--->
+      <!--
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              &lt;!&ndash; XXX better use antrun? &ndash;&gt;
+              <artifactId>maven-resources-plugin</artifactId>
+              <executions>
+                <execution>
+                  <id>copy-config-schema</id>
+      &lt;!&ndash; XXX why it is not possible to use the site phase here? &ndash;&gt;
+                  &lt;!&ndash;<phase>site</phase>&ndash;&gt;
+                  <phase>package</phase>
+                  <goals>
+                    <goal>copy-resources</goal>
+                  </goals>
+                  <configuration>
+                    <outputDirectory>${project.build.directory}/site</outputDirectory>
+                    <resources>
+                      <resource>
+                        <directory>tobago-core/src/main/resources/org/apache/myfaces/tobago/config</directory>
+                        <includes>
+                          <include>**/*.xsd</include>
+                          <include>**/*.dtd</include>
+                        </includes>
+                      </resource>
+                    </resources>
+                  </configuration>
+                </execution>
+              </executions>
+            </plugin>
+      -->
     </plugins>
     <pluginManagement>
       <plugins>
@@ -582,10 +590,10 @@
             <childDelegation>false</childDelegation>
             <forkMode>perTest</forkMode>
             -->
-<!--
-            <argLine>-Xdebug -Xnoagent -Djava.compiler=NONE
-            -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y</argLine>
--->
+            <!--
+                        <argLine>-Xdebug -Xnoagent -Djava.compiler=NONE
+                        -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y</argLine>
+            -->
           </configuration>
         </plugin>
         <plugin>
@@ -600,10 +608,10 @@
           <configuration>
             <!-- switched off check in Java 8 -->
             <additionalparam>
-                -Xdoclint:accessibility
-                -Xdoclint:html
-                -Xdoclint:reference
-                -Xdoclint:syntax
+              -Xdoclint:accessibility
+              -Xdoclint:html
+              -Xdoclint:reference
+              -Xdoclint:syntax
             </additionalparam>
           </configuration>
         </plugin>
@@ -664,77 +672,78 @@
         <plugin>
           <groupId>org.apache.rat</groupId>
           <artifactId>apache-rat-plugin</artifactId>
-          <version>0.16.1</version>
+          <version>0.17</version>
           <configuration>
-            <excludes>
+            <inputExcludes>
               <!-- This file is created during a release and needs no licensing text -->
-              <exclude>DEPENDENCIES</exclude>
+              <inputExclude>DEPENDENCIES</inputExclude>
 
               <!-- bootstrap -->
-              <exclude>**/tobago/*/bootstrap/**/bootstrap*.*</exclude>
-              <exclude>**/tobago/*/tobago-bootstrap/**/bootstrap*.*</exclude>
-              <exclude>**/append-tobago-theme-to-bootstrap.patch</exclude>
+              <inputExclude>**/tobago/*/bootstrap/**/bootstrap*.*</inputExclude>
+              <inputExclude>**/tobago/*/tobago-bootstrap/**/bootstrap*.*</inputExclude>
+              <inputExclude>**/append-tobago-theme-to-bootstrap.patch</inputExclude>
 
               <!-- popper js -->
-              <exclude>**/tobago/**/popper*.*</exclude>
+              <inputExclude>**/tobago/**/popper*.*</inputExclude>
 
               <!-- bootstrap datetimepicker -->
-              <exclude>**/tobago/standard/bootstrap-datetimepicker/**/bootstrap*.*</exclude>
+              <inputExclude>**/tobago/standard/bootstrap-datetimepicker/**/bootstrap*.*</inputExclude>
 
               <!-- font-awesome -->
-              <exclude>**/tobago/standard/font-awesome/**/font*awesome*.*</exclude>
+              <inputExclude>**/tobago/standard/font-awesome/**/font*awesome*.*</inputExclude>
 
               <!-- jQuery -->
-              <exclude>**/tobago/standard/jquery/**/jquery*.*</exclude>
+              <inputExclude>**/tobago/standard/jquery/**/jquery*.*</inputExclude>
 
               <!-- jQuery UI -->
-              <exclude>**/tobago/standard/jquery-ui/**/jquery*.*</exclude>
+              <inputExclude>**/tobago/standard/jquery-ui/**/jquery*.*</inputExclude>
 
               <!-- moment -->
-              <exclude>**/tobago/standard/moment/**/moment*.*</exclude>
+              <inputExclude>**/tobago/standard/moment/**/moment*.*</inputExclude>
 
               <!-- typeahead -->
-              <exclude>**/tobago/standard/typeahead/**/typeahead*.*</exclude>
+              <inputExclude>**/tobago/standard/typeahead/**/typeahead*.*</inputExclude>
 
               <!-- prism (tobago-example-demo) -->
-              <exclude>**/src/main/webapp/script/prism*.*</exclude>
-              <exclude>**/src/main/webapp/style/prism*.*</exclude>
+              <inputExclude>**/src/main/webapp/script/prism*.*</inputExclude>
+              <inputExclude>**/src/main/webapp/style/prism*.*</inputExclude>
 
               <!-- qunit (tobago-example-demo) -->
-              <exclude>**/src/main/webapp/script/qunit*.*</exclude>
-              <exclude>**/src/main/webapp/style/qunit*.*</exclude>
+              <inputExclude>**/src/main/webapp/script/qunit*.*</inputExclude>
+              <inputExclude>**/src/main/webapp/style/qunit*.*</inputExclude>
 
               <!-- log files -->
-              <exclude>**/*.log</exclude>
+              <inputExclude>**/*.log</inputExclude>
 
               <!-- maven -->
-              <exclude>**/target/**/*</exclude>
+              <inputExclude>**/target/**/*</inputExclude>
 
               <!-- idea -->
-              <exclude>.idea/**/*</exclude>
-              <exclude>**/*.iml</exclude>
-              <exclude>**/*.ipr</exclude>
-              <exclude>**/*.iws</exclude>
+              <inputExclude>.idea/**/*</inputExclude>
+              <inputExclude>**/*.iml</inputExclude>
+              <inputExclude>**/*.ipr</inputExclude>
+              <inputExclude>**/*.iws</inputExclude>
 
               <!-- json -->
-              <exclude>**/*.json</exclude>
+              <inputExclude>**/*.json</inputExclude>
 
               <!-- photo shop -->
-              <exclude>**/*.psd</exclude>
+              <inputExclude>**/*.psd</inputExclude>
 
               <!-- sample -->
-              <exclude>**/x-sample.txt</exclude>
+              <inputExclude>**/x-sample.txt</inputExclude>
+              <inputExclude>**/x-sample.pdf</inputExclude>
 
               <!-- md files -->
-              <exclude>**/*.md</exclude>
+              <inputExclude>**/*.md</inputExclude>
 
               <!-- jetty key store for testing -->
-              <exclude>**/jettykeystore</exclude>
+              <inputExclude>**/jettykeystore</inputExclude>
 
               <!-- tobago-vm index page -->
-              <exclude>**/tobago-vm/docker/apache-proxy/jquery*.js</exclude>
-              <exclude>**/tobago-vm/docker/apache-proxy/bootstrap*.css</exclude>
-            </excludes>
+              <inputExclude>**/tobago-vm/docker/apache-proxy/jquery*.js</inputExclude>
+              <inputExclude>**/tobago-vm/docker/apache-proxy/bootstrap*.css</inputExclude>
+            </inputExcludes>
           </configuration>
         </plugin>
 
@@ -833,20 +842,20 @@
 
   <!-- Use this to include the staging repository for testing a new unreleased myfaces core.
   Change the number 1100 the the current for that. -->
-<!--
-  <repositories>
-    <repository>
-      <id>myfaces-staging</id>
-      <url>https://repository.apache.org/content/repositories/orgapachemyfaces-1100/</url>
-    </repository>
-  </repositories>
-  <pluginRepositories>
-    <pluginRepository>
-      <id>myfaces-staging</id>
-      <url>https://repository.apache.org/content/repositories/orgapachemyfaces-1100/</url>
-    </pluginRepository>
-  </pluginRepositories>
--->
+  <!--
+    <repositories>
+      <repository>
+        <id>myfaces-staging</id>
+        <url>https://repository.apache.org/content/repositories/orgapachemyfaces-1100/</url>
+      </repository>
+    </repositories>
+    <pluginRepositories>
+      <pluginRepository>
+        <id>myfaces-staging</id>
+        <url>https://repository.apache.org/content/repositories/orgapachemyfaces-1100/</url>
+      </pluginRepository>
+    </pluginRepositories>
+  -->
 
   <profiles>
     <profile>
@@ -955,7 +964,9 @@
             <executions>
               <execution>
                 <id>attach-javadoc</id>
-                <goals><goal>jar</goal></goals>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
               </execution>
             </executions>
           </plugin>
@@ -965,7 +976,9 @@
             <executions>
               <execution>
                 <id>attach-source</id>
-                <goals><goal>jar</goal></goals>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
               </execution>
             </executions>
           </plugin>
@@ -999,20 +1012,20 @@
       </build>
     </profile>
 
-<!--
-    Attention: The next profiles should only be changed by a clean build.
-    They define the JSF version which are generally incompatible.
-    They also define the JSF implementation used to compile and for runtime.
+    <!--
+        Attention: The next profiles should only be changed by a clean build.
+        They define the JSF version which are generally incompatible.
+        They also define the JSF implementation used to compile and for runtime.
 
-    Usage for a standard build (jsf-2.0):
-    mvn
+        Usage for a standard build (jsf-2.0):
+        mvn
 
-    Usage for specific build:
-    mvn -Pjsf-2.1
-    mvn -Pjsf-2.2
-    mvn -Pjsf-2.3
+        Usage for specific build:
+        mvn -Pjsf-2.1
+        mvn -Pjsf-2.2
+        mvn -Pjsf-2.3
 
--->
+    -->
 
     <profile>
       <id>jsf-2.1</id>
@@ -1183,7 +1196,7 @@
       </activation>
       <dependencyManagement>
         <dependencies>
-         <dependency>
+          <dependency>
             <groupId>org.glassfish</groupId>
             <artifactId>jakarta.faces</artifactId>
             <version>${mojarra23.version}</version>