Package: jaligner Severity: wishlist Tags: patch Dear Debian Med Team,
Please consider providing maven artifact information with maven-repo-helper to allow other the maven-based build systems of other packages that depend upon jaligner to automatically resolve dependency information. The attached patch(es) can be applied with 'git am' accomplish this. (You can ignore the second patch and modify the debian/changelog as you deem fit. Alternately, I can perform an NMU upload if you would prefer.) NB: The mhap pom.xml refers to jaligner with groupId 'com.jaligner'. However, the groupId for jaligner should simply be 'jaligner', which corresponds to the actual classpath (and is how others [1] resolve it). Therefore, the mhap source package should be modified to auto-resolve jaligner by adding the following to debian/maven.rules: s/com.jaligner/jaligner/ jaligner * * * * Cheers, tony
From a300a8975fc2c8dae8240bcce9b505b337fd001d Mon Sep 17 00:00:00 2001 From: tony mancill <tmanc...@debian.org> Date: Sun, 10 Jul 2016 18:28:59 -0700 Subject: [PATCH 1/2] install maven coordinates for jaligner.jar This commit modifies the package build to use maven-repo-helper to install a POM file beneath /usr/share/maven-repo/jaligner/. --- debian/control | 3 ++- debian/jaligner-1.0.pom | 8 ++++++++ debian/jaligner.poms | 1 + debian/rules | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 debian/jaligner-1.0.pom create mode 100644 debian/jaligner.poms diff --git a/debian/control b/debian/control index 70175bc..21d762f 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 9), Build-Depends-Indep: junit4, javahelper, icedtea-netx-common, - asciidoctor + asciidoctor, + maven-repo-helper Standards-Version: 3.9.8 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/jaligner.git Vcs-Git: https://anonscm.debian.org/git/debian-med/jaligner.git diff --git a/debian/jaligner-1.0.pom b/debian/jaligner-1.0.pom new file mode 100644 index 0000000..2e3bd6a --- /dev/null +++ b/debian/jaligner-1.0.pom @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <groupId>jaligner</groupId> + <artifactId>jaligner</artifactId> + <version>1.0</version> +</project> diff --git a/debian/jaligner.poms b/debian/jaligner.poms new file mode 100644 index 0000000..04220ac --- /dev/null +++ b/debian/jaligner.poms @@ -0,0 +1 @@ +debian/jaligner-1.0.pom --usj-name=jaligner diff --git a/debian/rules b/debian/rules index 844b6be..054ed1c 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ export CLASSPATH=/usr/share/icedtea-web/netx.jar %: - dh $@ --with javahelper + dh $@ --with javahelper --with jh_maven_repo_helper override_dh_auto_build: #cp -a debian/images/*.gif src/jaligner/ui/images/gifs -- 2.8.1
From 8de1687c08982ba1867bad8610fd4d37b8b3c124 Mon Sep 17 00:00:00 2001 From: tony mancill <tmanc...@debian.org> Date: Sun, 10 Jul 2016 18:29:20 -0700 Subject: [PATCH 2/2] interim changelog --- debian/changelog | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index a2b3cf3..e11014f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +jaligner (1.0+dfsg-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add maven coordinates: + - Add build-dependency upon maven-repo-helper + - Add debian/jaligner.pom + - Update debian/rules to build with jh_maven_repo_helper + + -- tony mancill <tmanc...@debian.org> Sun, 10 Jul 2016 18:23:34 -0700 + jaligner (1.0+dfsg-3) unstable; urgency=medium * flip the reproducible switch for asciidoctor -- 2.8.1
signature.asc
Description: PGP signature