From d25cc1086a11533df237af7a2abd85ad034e26b7 Mon Sep 17 00:00:00 2001 From: Anaël Closson Date: Mon, 28 Aug 2017 15:43:22 +0200 Subject: Force oparent users to use release dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch adds an enforcer to force users of oparent as parent to use release versions of artifacts. Current rules are quite loose to avoid breaking too much project. Following options might be removed when needed : : when at least oparent changes its version : when most project have removed their snapshot dependencies Change-Id: I1f9824557c5bbaae9f4a1378c3bc223edd4b5da4 Issue-id: INT-122 Signed-off-by: Anaël Closson --- pom.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/pom.xml b/pom.xml index ab67a2f..cc9da52 100644 --- a/pom.xml +++ b/pom.xml @@ -82,6 +82,27 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M1 + + + enforce-no-snapshots + + enforce + + + + + false + true + + + + + + org.codehaus.mojo versions-maven-plugin @@ -114,6 +135,10 @@ org.apache.maven.plugins maven-site-plugin + + org.apache.maven.plugins + maven-enforcer-plugin + org.codehaus.mojo versions-maven-plugin -- cgit 1.2.3-korg