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

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-toolchains-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 897b708  [MTOOLCHAINS-50] Update parent pom to 41 (#19)
897b708 is described below

commit 897b708e22b2c14b08388a9ba39ca1b661a92446
Author: Elliotte Rusty Harold <elh...@users.noreply.github.com>
AuthorDate: Wed Feb 28 07:29:01 2024 -0500

    [MTOOLCHAINS-50] Update parent pom to 41 (#19)
    
    * Spotless should only be run on JDK >= 11, so just use the pluginManagement
    ---------
    Co-authored-by: Guillaume Nodet <gno...@gmail.com>
---
 pom.xml | 42 ++++++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 20 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7a36744..308e10f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@ under the License.
   <parent>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-plugins</artifactId>
-    <version>39</version>
+    <version>41</version>
     <relativePath />
   </parent>
 
@@ -93,24 +93,26 @@ under the License.
   </dependencies>
 
   <build>
-    <plugins>
-      <plugin>
-        <groupId>com.diffplug.spotless</groupId>
-        <artifactId>spotless-maven-plugin</artifactId>
-        <configuration>
-          <pom>
-            <includes>
-              <include>pom.xml</include>
-              <include>src/it/**/pom.xml</include>
-            </includes>
-          </pom>
-          <java>
-            <includes>
-              <include>src/**/*.java</include>
-            </includes>
-          </java>
-        </configuration>
-      </plugin>
-    </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>com.diffplug.spotless</groupId>
+          <artifactId>spotless-maven-plugin</artifactId>
+          <configuration>
+            <pom>
+              <includes>
+                <include>pom.xml</include>
+                <include>src/it/**/pom.xml</include>
+              </includes>
+            </pom>
+            <java>
+              <includes>
+                <include>src/**/*.java</include>
+              </includes>
+            </java>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
 </project>

Reply via email to