[med-svn] [mhap] 01/01: First attempt at updating package for maven
Afif Elghraoui
afif at moszumanska.debian.org
Sat Jul 9 22:18:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch topic/maven-buildsystem
in repository mhap.
commit d36693ad9b9e4e9e69d30b270ea8e2641578b0d5
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Sat Jul 9 15:15:22 2016 -0700
First attempt at updating package for maven
---
debian/control | 3 ++-
debian/mhap.poms | 28 ++++++++++++++++++++++++++++
debian/rules | 2 +-
3 files changed, 31 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 9433787..4103fd4 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,9 @@ Uploaders: Afif Elghraoui <afif at debian.org>
Build-Depends:
debhelper (>= 9),
javahelper,
+ maven-debian-helper,
+# libmaven-shade-plugin-java,
openjdk-8-jdk,
- ant,
libcommons-compress-java,
libfastutil-java,
libguava-java,
diff --git a/debian/mhap.poms b/debian/mhap.poms
new file mode 100644
index 0000000..0417132
--- /dev/null
+++ b/debian/mhap.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 --has-package-version
diff --git a/debian/rules b/debian/rules
index d7b3f9b..0b655dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ export LC_ALL=C.UTF-8
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-$(DEB_HOST_ARCH)
%:
- dh $@ --with javahelper
+ dh $@ --with javahelper --buildsystem=maven
override_dh_link:
dh_link usr/share/java/mhap-$(DEB_VERSION_UPSTREAM).jar usr/bin/mhap
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mhap.git
More information about the debian-med-commit
mailing list