Allow for multiple branches of documentation to be deployed on sites 13/22413/2
authorMathieu Lemay <mlemay@inocybe.com>
Wed, 10 Jun 2015 18:44:12 +0000 (14:44 -0400)
committerColin Dixon <colin@colindixon.com>
Thu, 11 Jun 2015 21:36:06 +0000 (17:36 -0400)
Change-Id: I3076446a127f1a3a45dbe7cab0f581aac3440343
Signed-off-by: Mathieu Lemay <mlemay@inocybe.com>
(cherry picked from commit 7245b8dfef24ba8e884ba26653b9d1aad9530a81)

pom.xml

diff --git a/pom.xml b/pom.xml
index c3532e25850899b33f0b5f5cdd32703f2b93b095..58dc0a182902a8604fa4705338c7ecb4e10592bc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
   </scm>
   <properties>
     <asciidoctor.version>0.1.4</asciidoctor.version>
+    <current.branch>master</current.branch>
     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <sitedeploy>${nexusproxy}/sites/site/${project.groupId}/master/${project.artifactId}</sitedeploy>
+    <sitedeploy>${nexusproxy}/sites/site/${project.groupId}/${current.branch}/${project.artifactId}</sitedeploy>
   </properties>
   <modules>
     <module>manuals</module>