[caliper] 02/02: Commit work in progress on packaging

Tim Potter tpot-guest at moszumanska.debian.org
Mon Nov 24 02:13:11 GMT 2014


This is an automated email from the git hooks/post-receive script.

tpot-guest pushed a commit to branch master
in repository caliper.

commit 025310aa8f590adede39466c9599683dde0445b3
Author: Tim Potter <tpot at hp.com>
Date:   Mon Nov 24 13:10:26 2014 +1100

    Commit work in progress on packaging
    
    Rules file based on tricks found in the libapache2-mime4j-java
    packaging.
---
 debian/rules | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index ed933e6..c5f260f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,18 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
+
+export DH_VERBOSE=1
+export JAVA_HOME=/usr/lib/jvm/default-java
+export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
 
 %:
-	dh $@
+	dh $@ --buildsystem=maven --with javahelper
+
+override_dh_auto_build:
+	mh_patchpoms -plibcaliper-java
+	mvn -o -s /etc/maven2/settings-debian.xml -f caliper/pom.xml
+
+override_dh_auto_clean:
+	dh_auto_clean
+	mh_clean
+	mh_unpatchpoms -plibcaliper-java -v
+	-rm -rf target */target apidocs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/caliper.git



More information about the pkg-java-commits mailing list