From dc4c8993056df56d23011cd028c10681321e6f98 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 13 Jul 2020 11:23:14 +0200 Subject: [PATCH] Ensure no snapshots get referenced in release builds [resolves #299] --- pom.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pom.xml b/pom.xml index 073a20d9..5a2a67c9 100644 --- a/pom.xml +++ b/pom.xml @@ -292,6 +292,27 @@ maven-deploy-plugin 2.8.2 + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M3 + + + enforce-no-snapshots + + enforce + + + + + true + No Snapshots in releases allowed! + + + + + + org.apache.maven.plugins maven-javadoc-plugin