summaryrefslogtreecommitdiff
path: root/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
commit35c4fde67eb87db3ad27855701544b043104b22a (patch)
tree734b5ca44e4949f24d1997b6ad244766366af568 /java/common.xml
parentd3a27de39c6de4bf3d1797683b6f8f01c30a4fbb (diff)
downloadqpid-python-35c4fde67eb87db3ad27855701544b043104b22a.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/qpid@1068445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common.xml')
-rw-r--r--java/common.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/common.xml b/java/common.xml
index b1f28dc062..066859b29f 100644
--- a/java/common.xml
+++ b/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"/>