[jansi] 07/26: Switch from Ant to Maven build system.

Markus Koschany apo at moszumanska.debian.org
Wed Oct 19 19:19:50 UTC 2016


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

apo pushed a commit to branch master
in repository jansi.

commit ba9899ead46ef0f782b6cc3cc005f7274c821a1b
Author: Markus Koschany <apo at debian.org>
Date:   Wed Oct 19 16:24:43 2016 +0200

    Switch from Ant to Maven build system.
---
 debian/control |  5 +----
 debian/rules   | 24 ++----------------------
 2 files changed, 3 insertions(+), 26 deletions(-)

diff --git a/debian/control b/debian/control
index 8090452..f28c4d3 100644
--- a/debian/control
+++ b/debian/control
@@ -5,15 +5,12 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
 Uploaders:
  Miguel Landaeta <miguel at miguel.cc>
 Build-Depends:
- ant,
- ant-optional,
  debhelper (>= 10),
  default-jdk,
- javahelper,
  junit4,
  libhawtjni-runtime-java,
  libjansi-native-java,
- maven-repo-helper
+ maven-debian-helper
 Standards-Version: 3.9.8
 Homepage: http://jansi.fusesource.org/
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/jansi.git
diff --git a/debian/rules b/debian/rules
index c71ece6..c41b8d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,28 +1,8 @@
 #!/usr/bin/make -f
 
-export JAVA_HOME=/usr/lib/jvm/default-java
-export CLASSPATH=/usr/share/java/jansi-native.jar:/usr/share/java/hawtjni-runtime.jar
-
 %:
-	dh --with javahelper --with maven-repo-helper $@
-
-override_dh_auto_build:
-	jh_build jansi.jar src/main/java
-
-override_dh_auto_clean:
-	dh_auto_clean
-	ant -f debian/build.xml clean
+	dh $@
 
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	ant -f debian/build.xml test
-endif
 
 get-orig-source:
-	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
-	uscan \
-		--verbose \
-		--no-symlink \
-		--destdir $(CURDIR)      \
-		--watchfile debian/watch \
-		--force-download
+	uscan --download-current-version --force-download

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



More information about the pkg-java-commits mailing list