From 814c8c040dfbb34623d484b70e6495f35766a8c6 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Wed, 26 Jul 2017 07:49:55 +0200 Subject: [PATCH] #397 - The release profile now ensures that no snapshot versions are referenced in the build. The build profile deploying to Artifactory is now named "artifactory" to be consistent with it's "central" counterpart for Maven Central deployments. The "release" profile now registers the Maven Enforcer plugin to make sure a release only contains references to non-snapshot dependencies. --- pom.xml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/pom.xml b/pom.xml index 44690855..6872d03a 100644 --- a/pom.xml +++ b/pom.xml @@ -60,13 +60,54 @@ + + + release + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-release-rules + + enforce + + + + + [1.8,1.9) + + + + + + + + + + + + + + + + + artifactory + + + org.jfrog.buildinfo artifactory-maven-plugin