dist: specify maven repo directory

Fixes #10.

Signed-off-by: Takuya ASADA <syuu@scylladb.com>
This commit is contained in:
Takuya ASADA 2015-11-24 19:23:54 +09:00 committed by Pekka Enberg
parent dd2192ef97
commit bfe07efa6d

5
debian/rules vendored
View File

@ -2,12 +2,13 @@
DOC = $(CURDIR)/debian/scylla-jmx/usr/share/doc/scylla-jmx
DEST = $(CURDIR)/debian/scylla-jmx/usr/lib/scylla/jmx
M2_REPO= $(CURDIR)/m2
override_dh_auto_build:
mvn install
mvn -Dmaven.repo.local=$(M2_REPO) install
override_dh_auto_clean:
rm -rf target
rm -rf target m2
override_dh_auto_install:
mkdir -p $(CURDIR)/debian/scylla-jmx/etc/default/ && \