From b00220a6f75c5f4aa94b7303425697da82cbce0e Mon Sep 17 00:00:00 2001 From: Benoit Maggi Date: Fri, 5 Apr 2024 13:20:12 +0200 Subject: [PATCH] Add enforcer plugin * this will remove error when using 'mvn versions:display-plugin-updates' * also add explicit version to instead of the one proposed by the executed maven --- pom.xml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 58 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 086cc08..5a067b5 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,5 @@ - + 4.0.0 com.github.bmaggi eclipse-tycho-archetype @@ -10,6 +11,8 @@ 2018 UTF-8 + 17 + 3.6.3 @@ -67,7 +70,8 @@ - + + org.apache.maven.plugins maven-resources-plugin 3.3.1 @@ -104,6 +108,27 @@ + org.apache.maven.plugins + maven-clean-plugin + 3.3.2 + + + org.apache.maven.plugins + maven-install-plugin + 3.1.1 + + + org.apache.maven.plugins + maven-site-plugin + 3.12.1 + + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.1 + + + org.apache.maven.plugins maven-archetype-plugin 3.2.1 @@ -172,8 +197,38 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.4.1 + + + enforce-requirements + + enforce + + + + + + ${min.jdk.version} + + + ${min.maven.version} + + + + + + + + + + maven-enforcer-plugin + + @@ -181,7 +236,7 @@ org.apache.maven.plugins maven-javadoc-plugin 3.5.0 - +