You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by le...@apache.org on 2023/07/20 13:27:05 UTC

[incubator-baremaps] branch 731-configure-maven-rat updated: Apply spotless

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

leonardcs pushed a commit to branch 731-configure-maven-rat
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git


The following commit(s) were added to refs/heads/731-configure-maven-rat by this push:
     new 96d90285 Apply spotless
96d90285 is described below

commit 96d902855cedeae8f650669dd466913575db70f9
Author: Leonard <le...@gmail.com>
AuthorDate: Thu Jul 20 15:27:00 2023 +0200

    Apply spotless
---
 pom.xml | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8ff050e1..c759dd0f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,6 +68,7 @@
   </distributionManagement>
 
   <properties>
+    <apache-rat-plugin.version>0.15</apache-rat-plugin.version>
     <maven.compiler.source>17</maven.compiler.source>
     <maven.compiler.target>17</maven.compiler.target>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -134,7 +135,7 @@
     <version.plugin.os-maven-plugin>1.7.0</version.plugin.os-maven-plugin>
     <version.plugin.protobuf-maven-plugin>0.6.1</version.plugin.protobuf-maven-plugin>
     <version.plugin.spotless-maven-plugin>2.33.0</version.plugin.spotless-maven-plugin>
-    <apache-rat-plugin.version>0.15</apache-rat-plugin.version> <!-- overrides parent -->
+    <!-- overrides parent -->
   </properties>
 
   <dependencyManagement>
@@ -655,14 +656,6 @@
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
         <version>${apache-rat-plugin.version}</version>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
         <configuration>
           <!-- This allows to manage exclusions in parent module.
                This messes some default exclusions based on basedir for submodules (e.g target folder),
@@ -681,6 +674,14 @@
             <exclude>**/test/**</exclude>
           </excludes>
         </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <phase>verify</phase>
+          </execution>
+        </executions>
       </plugin>
       <plugin>
         <groupId>org.jacoco</groupId>