From 4e4226da8eee38515932b85e7e9c122457a0f55c Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Thu, 28 Jan 2016 14:37:35 +0100 Subject: [PATCH] #212 - Tweak Artifactory Maven plugin to make it easy for sub-projects to use. Individual projects need to declare a Maven profile named release and declare the Artifactory Maven plugin for it. Configuration is then pulled into the project from the parent pom. --- pom.xml | 61 ++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 36 insertions(+), 25 deletions(-) diff --git a/pom.xml b/pom.xml index 959a6844..9c413622 100644 --- a/pom.xml +++ b/pom.xml @@ -64,38 +64,49 @@ release + + + + + org.jfrog.buildinfo + artifactory-maven-plugin + 2.4.0 + + + build-info + + publish + + + + false + + + {{artifactory.server}} + {{artifactory.username}} + {{artifactory.password}} + {{artifactory.staging-repository}} + {{artifactory.staging-repository}} + + + {{artifactory.build-name}} + {{artifactory.build-number}} + + + + + + + + org.jfrog.buildinfo artifactory-maven-plugin - 2.4.0 false - - - build-info - - publish - - - - false - - - {{artifactory.server}} - {{artifactory.username}} - {{artifactory.password}} - {{artifactory.staging-repository}} - {{artifactory.staging-repository}} - - - {{artifactory.build-name}} - {{artifactory.build-number}} - - - - +