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 <wido@widodh.nl>
This commit is contained in:
Felix Geyer 2015-02-16 12:41:47 +01:00 committed by Wido den Hollander
parent f1301a2c5d
commit 6e0867b307

2
debian/rules vendored
View File

@ -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: