You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ma...@apache.org on 2021/07/27 20:34:36 UTC
[activemq] branch main updated: [AMQ-8336] Add
maven-enforcer-plugin and set min maven version to v3.0.5
This is an automated email from the ASF dual-hosted git repository.
mattrpav pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new ae88a10 [AMQ-8336] Add maven-enforcer-plugin and set min maven version to v3.0.5
new 8214ec3 Merge pull request #692 from mattrpav/AMQ-8336
ae88a10 is described below
commit ae88a1052d50f473452ed1f2c1e645613329e718
Author: Matt Pavlovich <ma...@hyte.io>
AuthorDate: Fri Jul 16 14:07:18 2021 -0500
[AMQ-8336] Add maven-enforcer-plugin and set min maven version to v3.0.5
---
pom.xml | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/pom.xml b/pom.xml
index 4c7b6b0..c9d090f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -128,6 +128,7 @@
<maven-assembly-plugin-version>3.3.0</maven-assembly-plugin-version>
<maven-release-plugin-version>2.4.1</maven-release-plugin-version>
<maven-eclipse-plugin-version>2.10</maven-eclipse-plugin-version>
+ <maven-enforcer-plugin-version>3.0.0-M3</maven-enforcer-plugin-version>
<maven-war-plugin-version>3.2.2</maven-war-plugin-version>
<maven-compiler-plugin-version>3.8.1</maven-compiler-plugin-version>
<maven-jar-plugin-version>3.1.0</maven-jar-plugin-version>
@@ -1071,6 +1072,11 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>${maven-enforcer-plugin-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin-version}</version>
<configuration>
@@ -1287,6 +1293,25 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-maven</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.0.5</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>