Hello Giovanni, There is no need to rename the pom file with the version, mh_install* does it for you. If you upload your changes to experimental, then you can use the new conveniences in maven-repo-helper, and your patch will look like this:
* add file debian/libwoodstock-java.poms with this line: src/maven/wstx-lgpl.pom --has-package-version --artifact=build/wstx-lgpl-*.jar --java-lib * remove debian/install --- libwoodstox-java-3.9.2.dfsg/debian/control 2010-05-08 12:46:18.000000000 +0200 +++ libwoodstox-java-3.9.2.dfsg/debian/control 2011-01-30 20:10:43.000000000 +0100 @@ -4,7 +4,7 @@ Maintainer: Debian Java Maintainers <pkg-java-maintain...@lists.alioth.debian.org> Uploaders: Vincent Fourmond <fourm...@debian.org> Build-Depends-Indep: ant, ant-optional, default-jdk, junit -Build-Depends: cdbs, debhelper (>= 5) +Build-Depends: cdbs, debhelper (>= 5), maven-repo-helper (>= 1.4) * no need for the patch on build.xml --- libwoodstox-java-3.9.2.dfsg/debian/rules 2010-05-08 12:44:00.000000000 +0200 +++ libwoodstox-java-3.9.2.dfsg/debian/rules 2011-01-31 01:01:20.000000000 +0100 @@ -15,6 +15,11 @@ clean:: -rm -Rf build doc test dist + mh_clean + +install/libwoodstox-java:: + mh_install Ludovic On 31/01/11 01:13, Giovanni Mascellani wrote: > Package: libwoodstox-java > Version: 1:3.9.2.dfsg-2 > Severity: normal > Tags: patch > > Hi. > > This patch makes libwoodstox-java install the POM file associated with > the distributed jar. Having it makes it easier to compile project that > use maven or ivy as build system (osmosis v. 0.38, in my case). Could > you please apply it to the package? > > BTW, I'm aware that the package is team maintained, but I nonetheless > prefer to receive some feedback before actually upload the package. > > Thanks, Giovanni. > > --- System information. --- > Architecture: amd64 > Kernel: Linux 2.6.32-5-amd64 > > Debian Release: 6.0 > 500 unstable www.debian-multimedia.org > 500 unstable poisson.phc.unipi.it > 500 unstable mi.mirror.garr.it > 500 testing mi.mirror.garr.it > 500 stable volatile.debian.org > 500 stable security.debian.org > 1 experimental mi.mirror.garr.it > > --- Package information. --- > Depends (Version) | Installed > =====================================-+-=========== > default-jre-headless | 1:1.6-40 > OR java2-runtime-headless | > > > Package's Recommends field is empty. > > Package's Suggests field is empty. > > > > > > > __ > This is the maintainer address of Debian's Java team > <http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. > Please use > debian-j...@lists.debian.org for discussions and questions. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org