From 87d56f724633562723a222528ae79c067584b038 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Wed, 26 Jul 2017 07:49:55 +0200 Subject: [PATCH] #396 - 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 139f617d..2723ac42 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