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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
