You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2021/06/15 15:55:54 UTC

[qpid-jms] branch main updated: NO-JIRA: enforce use of Maven 3.5.0+, overriding apache parent pom execution checking for 3.0.5

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

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


The following commit(s) were added to refs/heads/main by this push:
     new df50221  NO-JIRA: enforce use of Maven 3.5.0+, overriding apache parent pom execution checking for 3.0.5
df50221 is described below

commit df50221a5db3ddeeb2ca150ab4dfc828bf4153a3
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Tue Jun 15 16:54:38 2021 +0100

    NO-JIRA: enforce use of Maven 3.5.0+, overriding apache parent pom execution checking for 3.0.5
---
 pom.xml | 50 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 34 insertions(+), 16 deletions(-)

diff --git a/pom.xml b/pom.xml
index a5f0b7b..8f894cb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -299,22 +299,6 @@
           <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>
-                    <message>You must use Java 11+ to build</message>
-                  </requireJavaVersion>
-                </rules>
-              </configuration>
-            </execution>
-          </executions>
         </plugin>
         <plugin>
           <groupId>org.apache.felix</groupId>
@@ -391,6 +375,40 @@
           </excludes>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-java-version</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireJavaVersion>
+                  <version>[11,)</version>
+                  <message>You must use Java 11+ to build</message>
+                </requireJavaVersion>
+              </rules>
+            </configuration>
+            </execution>
+            <execution>
+              <id>enforce-maven-version</id>
+              <goals>
+                <goal>enforce</goal>
+              </goals>
+              <configuration>
+                <rules>
+                  <requireMavenVersion>
+                    <version>3.5.0</version>
+                    <message>You must use Maven 3.5.0+ to build</message>
+                  </requireMavenVersion>
+                </rules>
+              </configuration>
+            </execution>
+        </executions>
+        </plugin>
     </plugins>
   </build>
 

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