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 2022/03/31 07:01:27 UTC

[maven-install-plugin] 01/01: [MINSTALL-172] - Upgrade maven-plugin parent to 35 - cleanup

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

sjaranowski pushed a commit to branch MINSTALL-172-clenup
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git

commit eaba4682bd5bd4ef6d8b6c1b737bf07e5e2c6740
Author: Slawomir Jaranowski <sl...@payu.pl>
AuthorDate: Thu Mar 31 08:29:07 2022 +0200

    [MINSTALL-172] - Upgrade maven-plugin parent to 35 - cleanup
---
 pom.xml | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)

diff --git a/pom.xml b/pom.xml
index b2f365f..27169dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,7 +66,6 @@
     <mavenVersion>3.2.5</mavenVersion>
     <slf4jVersion>1.7.32</slf4jVersion>
     <aetherVersion>1.1.0</aetherVersion>
-    <surefire.version>2.22.2</surefire.version>
     <javaVersion>7</javaVersion>
     <project.build.outputTimestamp>2020-04-07T21:04:00Z</project.build.outputTimestamp>
   </properties>
@@ -176,6 +175,29 @@
     </contributor>
   </contributors>
 
+  <build>
+    <!-- TODO check with next parent pom -->
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>3.10.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-pmd-plugin</artifactId>
+          <version>3.16.0</version>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>taglist-maven-plugin</artifactId>
+          <version>3.0.0</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
   <profiles>
     <profile>
       <id>run-its</id>
@@ -185,27 +207,17 @@
             <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-invoker-plugin</artifactId>
-              <version>3.2.2</version>
               <configuration>
-                <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
                 <cloneClean>true</cloneClean>
                 <pomIncludes>
                   <pomInclude>*/pom.xml</pomInclude>
                   <pomInclude>*/non-default-pom.xml</pomInclude>
                 </pomIncludes>
-                <preBuildHookScript>setup</preBuildHookScript>
-                <postBuildHookScript>verify</postBuildHookScript>
-                <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
-                <settingsFile>src/it/settings.xml</settingsFile>
                 <addTestClassPath>true</addTestClassPath>
                 <goals>
                   <goal>clean</goal>
                   <goal>install</goal>
                 </goals>
-                <properties>
-                  <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
-                  <https.protocols>${https.protocols}</https.protocols>
-                </properties>
               </configuration>
             </plugin>
           </plugins>