From cad1e191f7259350804916519192b5d3df645002 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Mon, 27 Jan 2020 09:35:33 -0500 Subject: [PATCH] Check both -snapshot and not -snapshot in release/staging. --- pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pom.xml b/pom.xml index cf66caa..aa89165 100644 --- a/pom.xml +++ b/pom.xml @@ -331,6 +331,20 @@ ${project.version} .*-SNAPSHOT$ true + false + + + + + fail-helper-regex-is-snapshot-used + validate + + regex-property + + + fail.when.is.snapshot.used + ${project.version} + ^((?!.*-SNAPSHOT).)*$ true @@ -440,6 +454,20 @@ ${project.version} .*-SNAPSHOT$ true + false + + + + + fail-helper-regex-is-snapshot-used + validate + + regex-property + + + fail.when.is.snapshot.used + ${project.version} + ^((?!.*-SNAPSHOT).)*$ true