[jboss-modules] 08/12: Build with Java 9

Markus Koschany apo at moszumanska.debian.org
Sun Feb 18 18:09:46 UTC 2018


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

apo pushed a commit to branch master
in repository jboss-modules.

commit 45c7ce1b3c58327706bd1bb76bbfa3f0ea25f216
Author: Markus Koschany <apo at debian.org>
Date:   Sun Feb 18 18:47:49 2018 +0100

    Build with Java 9
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4002e30..f8144ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ jboss-modules (1.7.0-1) unstable; urgency=medium
   * Use compat level 11.
   * Declare compliance with Debian Policy 4.1.3.
   * Build-depend on libjboss-bridger-java.
+  * Build with Java 9.
 
  -- Markus Koschany <apo at debian.org>  Sun, 18 Feb 2018 18:40:33 +0100
 
diff --git a/debian/control b/debian/control
index 678ae2a..c0d0fd3 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Markus Koschany <apo at debian.org>
 Build-Depends:
  debhelper (>= 11),
- default-jdk,
+ openjdk-9-jdk,
  default-jdk-doc,
  junit4,
  libjboss-bridger-java,
diff --git a/debian/rules b/debian/rules
index 105f627..94cfbc7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+export JAVA_HOME=/usr/lib/jvm/java-9-openjdk-amd64
 
 %:
 	dh $@ --buildsystem=maven

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



More information about the pkg-java-commits mailing list