You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2015/03/05 16:27:20 UTC

[02/13] git commit: updated refs/heads/master to 8e5fefc

Specify maven repo location.

By default it chooses a location based on $HOME which is not guranteed to
have a proper value on buildds.

We also need to take care of cleaning it up after the build.

Signed-off-by: Wido den Hollander <wi...@widodh.nl>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6e0867b3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6e0867b3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6e0867b3

Branch: refs/heads/master
Commit: 6e0867b307e86b6823a316d66084a8916696ab9d
Parents: f1301a2
Author: Felix Geyer <fe...@credativ.de>
Authored: Mon Feb 16 12:41:47 2015 +0100
Committer: Wido den Hollander <wi...@widodh.nl>
Committed: Thu Mar 5 14:35:52 2015 +0100

----------------------------------------------------------------------
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6e0867b3/debian/rules
----------------------------------------------------------------------
diff --git a/debian/rules b/debian/rules
index 08fca4c..d55d251 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,7 @@ build-indep: build-indep-stamp
 build-indep-stamp: configure
 	mvn -T C1.5 clean package -Pawsapi -DskipTests -Dsystemvm \
         -Dcs.replace.properties=replace.properties.tmp \
+		-Dmaven.repo.local=$(CURDIR)/mavenrepo \
 		${ACS_BUILD_OPTS}
 	touch $@
 
@@ -45,6 +46,7 @@ clean:
 	dh_testroot
 	rm -f build-arch-stamp build-indep-stamp configure-stamp
 	rm -f replace.properties.tmp
+	rm -rf mavenrepo
 	dh_clean
 
 install: