summaryrefslogtreecommitdiff
path: root/qpid/java/common.xml
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2011-02-08 15:37:06 +0000
committerRobert Gemmell <robbie@apache.org>2011-02-08 15:37:06 +0000
commitd80f4226896d197e9b1a1927f91834645acf3767 (patch)
tree3007fe12cd00931b354d3977ce77613774441281 /qpid/java/common.xml
parenta29776890132dd509cdfd2ce12459d9016b6683c (diff)
downloadqpid-python-d80f4226896d197e9b1a1927f91834645acf3767.tar.gz
QPID-1916: default to using a local repo in the scratch dir (configurable with maven.local.repo), generate poms into the scratch dir, make the artifacts a SNAPSHOT version by default (configurable with maven.snapshot), and tweak the SNAPSHOT output version naming not to be unique (configurable with maven.unique.version)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1068445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common.xml')
-rw-r--r--qpid/java/common.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/java/common.xml b/qpid/java/common.xml
index b1f28dc062..066859b29f 100644
--- a/qpid/java/common.xml
+++ b/qpid/java/common.xml
@@ -70,6 +70,13 @@
</fileset>
</path>
+ <property name="maven.local.repo" value="${build.scratch}/maven-local-repo"/>
+ <property name="maven.unique.version" value="false"/>
+ <property name="maven.snapshot" value="true"/>
+ <condition property="maven.version.suffix" value="" else="-SNAPSHOT">
+ <isfalse value="${maven.snapshot}"/>
+ </condition>
+
<macrodef name="indirect">
<attribute name="name"/>
<attribute name="variable"/>