dist: specify maven repo directory
This commit is contained in:
parent
dd2192ef97
commit
b007b3ae1b
5
debian/rules
vendored
5
debian/rules
vendored
@ -2,12 +2,13 @@
|
|||||||
|
|
||||||
DOC = $(CURDIR)/debian/scylla-jmx/usr/share/doc/scylla-jmx
|
DOC = $(CURDIR)/debian/scylla-jmx/usr/share/doc/scylla-jmx
|
||||||
DEST = $(CURDIR)/debian/scylla-jmx/usr/lib/scylla/jmx
|
DEST = $(CURDIR)/debian/scylla-jmx/usr/lib/scylla/jmx
|
||||||
|
M2_REPO= $(CURDIR)/m2
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
mvn install
|
mvn -Dmaven.repo.local=$(M2_REPO) install
|
||||||
|
|
||||||
override_dh_auto_clean:
|
override_dh_auto_clean:
|
||||||
rm -rf target
|
rm -rf target m2
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
mkdir -p $(CURDIR)/debian/scylla-jmx/etc/default/ && \
|
mkdir -p $(CURDIR)/debian/scylla-jmx/etc/default/ && \
|
||||||
|
Loading…
Reference in New Issue
Block a user