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

twolf pushed a commit to branch dev_3.0
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git

commit ceff4912898e0cafc7b1aed1f61b75491d600f84
Author: Thomas Wolf <[email protected]>
AuthorDate: Thu Aug 28 17:25:29 2025 +0200

    [releng] Simplify skipping install/deploy/japicmp for some artifacts
    
    Use properties instead of <plugin> elements to set skip=true.
---
 sshd-benchmarks/pom.xml | 28 ++++------------------------
 sshd-site/pom.xml       | 35 +++++------------------------------
 sshd-test/pom.xml       | 26 +++-----------------------
 3 files changed, 12 insertions(+), 77 deletions(-)

diff --git a/sshd-benchmarks/pom.xml b/sshd-benchmarks/pom.xml
index cecfcebb2..04f0a4d51 100644
--- a/sshd-benchmarks/pom.xml
+++ b/sshd-benchmarks/pom.xml
@@ -33,6 +33,9 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <jmh.version>1.37</jmh.version>
         <uberjar.name>benchmarks</uberjar.name>
+        <maven.install.skip>true</maven.install.skip>
+        <maven.deploy.skip>true</maven.deploy.skip>
+        <japicmp.skip>true</japicmp.skip>
     </properties>
 
     <dependencies>
@@ -53,7 +56,7 @@
             <artifactId>args4j</artifactId>
             <version>2.37</version>
         </dependency>
-        
+
         <dependency>
             <groupId>org.apache.sshd</groupId>
             <artifactId>sshd-common</artifactId>
@@ -156,29 +159,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>com.github.siom79.japicmp</groupId>
-                <artifactId>japicmp-maven-plugin</artifactId>
-                <version>${japicmp.version}</version>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-            <!-- Don't install or deploy this. -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-install-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
 </project>
diff --git a/sshd-site/pom.xml b/sshd-site/pom.xml
index cd2c23b3a..ba3c89ebb 100644
--- a/sshd-site/pom.xml
+++ b/sshd-site/pom.xml
@@ -34,6 +34,9 @@
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
+        <maven.install.skip>true</maven.install.skip>
+        <maven.deploy.skip>true</maven.deploy.skip>
+        <pmd.skip>true</pmd.skip>
     </properties>
 
     <build>
@@ -48,25 +51,8 @@
                 </plugin>
             </plugins>
         </pluginManagement>
-        <plugins>
-            <!-- Don't install or deploy this. -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-install-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
     </build>
-    
+
     <profiles>
         <profile>
             <id>japicmp</id>
@@ -165,7 +151,7 @@
             </build>
         </profile>
     </profiles>
-    
+
     <reporting>
         <plugins>
             <plugin>
@@ -178,17 +164,6 @@
                     </reportSet>
                 </reportSets>
             </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-pmd-plugin</artifactId>
-                <reportSets>
-                    <reportSet>
-                        <configuration>
-                            <skip>true</skip>
-                        </configuration>
-                    </reportSet>
-                </reportSets>
-            </plugin>
         </plugins>
     </reporting>
 
diff --git a/sshd-test/pom.xml b/sshd-test/pom.xml
index cb1f5de2a..339617ca5 100644
--- a/sshd-test/pom.xml
+++ b/sshd-test/pom.xml
@@ -33,6 +33,9 @@
 
     <properties>
         <projectRoot>${project.basedir}/..</projectRoot>
+        <maven.install.skip>true</maven.install.skip>
+        <maven.deploy.skip>true</maven.deploy.skip>
+        <japicmp.skip>true</japicmp.skip>
     </properties>
 
     <dependencies>
@@ -118,29 +121,6 @@
 
     <build>
         <plugins>
-            <plugin>
-                <groupId>com.github.siom79.japicmp</groupId>
-                <artifactId>japicmp-maven-plugin</artifactId>
-                <version>${japicmp.version}</version>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-            <!-- Don't install or deploy this. -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-install-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>

Reply via email to