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/12/14 14:31:13 UTC
[qpid-jms] 05/16: 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 0.x
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git
commit 0d1876d7db504d2ca24c99bbefe856748f65d766
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Tue Dec 14 13:14:05 2021 +0000
NO-JIRA: enforce use of Maven 3.5.0+, overriding apache parent pom execution checking for 3.0.5
(cherry picked from commit df50221a5db3ddeeb2ca150ab4dfc828bf4153a3 with fixups)
---
pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/pom.xml b/pom.xml
index 70627a7..eab27b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,6 +61,7 @@
<maven-eclipse-plugin-version>2.10</maven-eclipse-plugin-version>
<maven-idea-plugin-version>2.5</maven-idea-plugin-version>
<maven-bundle-plugin-version>5.1.2</maven-bundle-plugin-version>
+ <maven-enforcer-plugin-version>3.0.0-M3</maven-enforcer-plugin-version>
<findbugs-maven-plugin-version>3.0.2</findbugs-maven-plugin-version>
<jacoco-plugin-version>0.8.6</jacoco-plugin-version>
<surefire.version>2.22.2</surefire.version>
@@ -295,6 +296,11 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>${maven-enforcer-plugin-version}</version>
+ </plugin>
+ <plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven-bundle-plugin-version}</version>
@@ -369,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>[1.8,)</version>
+ <message>You must use Java 8+ 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