You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2023/10/22 22:45:37 UTC

[maven-compiler-plugin] 01/01: [MCOMPILER-551] Upgrade Parent to 40

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

sjaranowski pushed a commit to branch MCOMPILER-551
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit 5d8f72e3e56b8ef6e2d11f158c4a584b6651e323
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Mon Oct 23 00:45:18 2023 +0200

    [MCOMPILER-551] Upgrade Parent to 40
---
 pom.xml | 42 ++++++++++++++++++++++++------------------
 1 file changed, 24 insertions(+), 18 deletions(-)

diff --git a/pom.xml b/pom.xml
index 927eed4..8276711 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>40</version>
     <relativePath />
   </parent>
 
@@ -68,10 +68,6 @@ under the License.
 
   <properties>
     <mavenVersion>3.2.5</mavenVersion>
-    <!--
-      ! The following property is used in the integration tests MCOMPILER-157
-    -->
-    <mavenPluginPluginVersion>3.5</mavenPluginPluginVersion>
     <plexusCompilerVersion>2.13.0</plexusCompilerVersion>
 
     <groovyVersion>2.4.21</groovyVersion>
@@ -180,6 +176,13 @@ under the License.
       <version>${mavenVersion}</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <!-- used by maven-plugin-testing-harness -->
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-xml</artifactId>
+      <version>3.0.0</version>
+      <scope>test</scope>
+    </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
       <artifactId>mockito-core</artifactId>
@@ -208,22 +211,27 @@ under the License.
   </repositories>
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>com.diffplug.spotless</groupId>
+          <artifactId>spotless-maven-plugin</artifactId>
+          <configuration>
+            <java>
+              <includes>
+                <include>src/**/*.java</include>
+              </includes>
+            </java>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+
     <plugins>
       <plugin>
         <groupId>org.eclipse.sisu</groupId>
         <artifactId>sisu-maven-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>com.diffplug.spotless</groupId>
-        <artifactId>spotless-maven-plugin</artifactId>
-        <configuration>
-          <java>
-            <includes>
-              <include>src/**/*.java</include>
-            </includes>
-          </java>
-        </configuration>
-      </plugin>
     </plugins>
   </build>
 
@@ -236,8 +244,6 @@ under the License.
             <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-invoker-plugin</artifactId>
-              <!-- TODO: verify the version override is still needed when upgrading parent -->
-              <version>3.5.0</version>
               <executions>
                 <execution>
                   <id>integration-test</id>