You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2022/08/30 19:27:09 UTC

[qpid-protonj2] branch main updated: PROTON-2598 Update build configuration for enforcer and checksums

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

tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git


The following commit(s) were added to refs/heads/main by this push:
     new d55f9f94 PROTON-2598 Update build configuration for enforcer and checksums
d55f9f94 is described below

commit d55f9f94027e1b927ece22cc7396d0a19fb4558c
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Tue Aug 30 15:27:00 2022 -0400

    PROTON-2598 Update build configuration for enforcer and checksums
    
    Update build to reflect changes in the Apache parent enforcer and
    checksum plugin configurations and versions.
---
 apache-qpid-protonj2/pom.xml | 19 ++++++++-----------
 pom.xml                      | 26 ++++----------------------
 2 files changed, 12 insertions(+), 33 deletions(-)

diff --git a/apache-qpid-protonj2/pom.xml b/apache-qpid-protonj2/pom.xml
index d3ea8b09..47fce32d 100644
--- a/apache-qpid-protonj2/pom.xml
+++ b/apache-qpid-protonj2/pom.xml
@@ -95,19 +95,16 @@
               <execution>
                 <id>source-release-checksum</id>
                 <goals>
-                  <goal>files</goal>
+                  <goal>artifacts</goal>
                 </goals>
                 <configuration>
-                  <fileSets>
-                    <fileSet>
-                      <directory>${project.build.directory}</directory>
-                      <includes>
-                        <include>apache-qpid-protonj2-${project.version}-src.tar.gz</include>
-                        <include>apache-qpid-protonj2-${project.version}-bin.tar.gz</include>
-                      </includes>
-                    </fileSet>
-                  </fileSets>
-                  <failIfNoFiles>true</failIfNoFiles>
+                  <algorithms>
+                    <algorithm>SHA-512</algorithm>
+                  </algorithms>
+                  <includeClassifiers>src,bin</includeClassifiers>
+                  <excludeMainArtifact>true</excludeMainArtifact>
+                  <csvSummary>false</csvSummary>
+                  <attachChecksums>true</attachChecksums>
                 </configuration>
               </execution>
             </executions>
diff --git a/pom.xml b/pom.xml
index 21989f52..ca8d34cc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,9 @@
     <maven.compiler.source>11</maven.compiler.source>
     <maven.compiler.target>11</maven.compiler.target>
 
+    <minimalMavenBuildVersion>3.5.0</minimalMavenBuildVersion>
+    <minimalJavaBuildVersion>11</minimalJavaBuildVersion>
+
     <!-- Test dependency versions -->
     <junit.jupiter.version>5.9.0</junit.jupiter.version>
     <junit.vintage.version>5.9.0</junit.vintage.version>
@@ -49,8 +52,7 @@
 
     <!-- Plugin versions -->
     <maven.bundle.plugin.version>5.1.1</maven.bundle.plugin.version>
-    <jacoco.plugin.version>0.8.7</jacoco.plugin.version>
-    <maven.enforcer.plugin.version>3.0.0-M3</maven.enforcer.plugin.version>
+    <jacoco.plugin.version>0.8.8</jacoco.plugin.version>
 
     <!-- Test properties -->
     <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
@@ -305,26 +307,6 @@
             </lifecycleMappingMetadata>
           </configuration>
         </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-enforcer-plugin</artifactId>
-          <version>${maven.enforcer.plugin.version}</version>
-          <executions>
-            <execution>
-              <id>enforce-java-version</id>
-              <goals>
-                <goal>enforce</goal>
-              </goals>
-              <configuration>
-                <rules>
-                  <requireJavaVersion>
-                    <version>[11,)</version>
-                  </requireJavaVersion>
-                </rules>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-release-plugin</artifactId>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org