[libjsonp-java] 01/01: Try mavenhelper
Andreas Tille
tille at debian.org
Thu Jan 14 22:19:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libjsonp-java.
commit 2d2602980a9a91852672cf7d62c2236964dd6b58
Author: Andreas Tille <tille at debian.org>
Date: Thu Jan 14 23:18:59 2016 +0100
Try mavenhelper
---
debian/control | 1 +
debian/poms | 28 ++++++++++++++++++++++++++++
debian/rules | 8 +++-----
3 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index c3708da..037d634 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ XS-Autobuild: no
Priority: optional
Build-Depends: debhelper (>= 9),
javahelper,
+ maven-debian-helper,
default-jdk,
ant
Standards-Version: 3.9.6
diff --git a/debian/poms b/debian/poms
new file mode 100644
index 0000000..4c16dce
--- /dev/null
+++ b/debian/poms
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+# --ignore: ignore this POM and its artifact if any
+# --ignore-pom: don't install the POM. To use on POM files that are created
+# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+# --no-parent: remove the <parent> tag from the POM
+# --package=<package>: an alternative package to use when installing this POM
+# and its artifact
+# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+# of the version for the package.
+# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+# during a clean operation with mh_cleanpom or mh_installpom
+# --artifact=<path>: path to the build artifact associated with this POM,
+# it will be installed when using the command mh_install. [mh_install]
+# --java-lib: install the jar into /usr/share/java to comply with Debian
+# packaging guidelines
+# --usj-name=<name>: name to use when installing the library in /usr/share/java
+# --usj-version=<version>: version to use when installing the library in /usr/share/java
+# --no-usj-versionless: don't install the versionless link in /usr/share/java
+# --dest-jar=<path>: the destination for the real jar.
+# It will be installed with mh_install. [mh_install]
+# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+# Empty by default. [mh_install]
+#
+pom.xml
diff --git a/debian/rules b/debian/rules
index 6da1c79..a16d5b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,12 +2,10 @@
# DH_VERBOSE := 1
-%:
- dh $@ --with javahelper
+JAVA_HOME=/usr/lib/jvm/default-java
-override_dh_auto_build:
- ant jar
- ant javadoc
+%:
+ dh $@ --buildsystem=maven --with javahelper
get-orig-source:
. debian/get-orig-source
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjsonp-java.git
More information about the pkg-java-commits
mailing list