Merge pull request #692 from mattrpav/AMQ-8336

[AMQ-8336] Add maven-enforcer-plugin and set min maven version to v3.0.5
This commit is contained in:
Matt Pavlovich 2021-07-27 15:34:26 -05:00 committed by GitHub
commit 8214ec37d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
pom.xml
View File

@ -128,6 +128,7 @@
<maven-assembly-plugin-version>3.3.0</maven-assembly-plugin-version> <maven-assembly-plugin-version>3.3.0</maven-assembly-plugin-version>
<maven-release-plugin-version>2.4.1</maven-release-plugin-version> <maven-release-plugin-version>2.4.1</maven-release-plugin-version>
<maven-eclipse-plugin-version>2.10</maven-eclipse-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-war-plugin-version>3.2.2</maven-war-plugin-version>
<maven-compiler-plugin-version>3.8.1</maven-compiler-plugin-version> <maven-compiler-plugin-version>3.8.1</maven-compiler-plugin-version>
<maven-jar-plugin-version>3.1.0</maven-jar-plugin-version> <maven-jar-plugin-version>3.1.0</maven-jar-plugin-version>
@ -1069,6 +1070,11 @@
<tarLongFileMode>posix</tarLongFileMode> <tarLongFileMode>posix</tarLongFileMode>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin-version}</version>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
@ -1285,6 +1291,25 @@
<showWarnings>true</showWarnings> <showWarnings>true</showWarnings>
</configuration> </configuration>
</plugin> </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> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>