[fest-swing-1.x] 01/01: Switch in Maven-based dh plugin
Tim Potter
tpot-guest at moszumanska.debian.org
Mon Apr 27 07:33:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
tpot-guest pushed a commit to branch master
in repository fest-swing-1.x.
commit 5ed293bcfbac70eee6ac526600a551b36287a317
Author: Tim Potter <tpot at hp.com>
Date: Mon Apr 27 17:32:19 2015 +1000
Switch in Maven-based dh plugin
---
...fest-swing-java-1.x.poms => libfest-swing1.x-java.poms} | 0
debian/rules | 14 +++++++++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/debian/libfest-swing-java-1.x.poms b/debian/libfest-swing1.x-java.poms
similarity index 100%
rename from debian/libfest-swing-java-1.x.poms
rename to debian/libfest-swing1.x-java.poms
diff --git a/debian/rules b/debian/rules
index 2d33f6a..7d6f9aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,16 @@
#!/usr/bin/make -f
+export JAVA_HOME=/usr/lib/jvm/default-java
+export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
+
%:
- dh $@
+ dh $@ --buildsystem=maven --with javahelper
+
+override_dh_auto_build:
+ mh_patchpoms -plibfest-swing1.x-java
+ mvn -o -s /etc/maven2/settings-debian.xml -f fest-swing/pom.xml package
+
+override_dh_auto_clean:
+ dh_auto_clean
+ mh_clean
+ mh_unpatchpoms -plibfest-swing1.x-java -v
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/fest-swing-1.x.git
More information about the pkg-java-commits
mailing list