The following commit has been merged in the master branch: commit 74f59f99e013631d680a0aa0642a8df2dc108e4f Author: Andrew Harvey <andrew.harv...@gmail.com> Date: Sun Jan 22 09:29:37 2012 +1100
install to maven-repo diff --git a/debian/control b/debian/control index bb8c7ea..865a0fb 100644 --- a/debian/control +++ b/debian/control @@ -8,6 +8,8 @@ Build-Depends: , debhelper (>= 8~) , default-jdk , junit + , maven-repo-helper + , maven-ant-helper Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/pkg-java/libpjl-comp-filter-java.git Vcs-Browser: http://git.debian.org/?p=pkg-java/libpjl-comp-filter-java.git diff --git a/debian/libpjl-comp-filter-java.pom b/debian/libpjl-comp-filter-java.pom new file mode 100644 index 0000000..2fa7295 --- /dev/null +++ b/debian/libpjl-comp-filter-java.pom @@ -0,0 +1,48 @@ +<!-- + This file is in the public domain, furnished “as is”, without technical + support, and with no warranty, express or implied, as to its usefulness for + any purpose. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>net.sourceforge</groupId> + <artifactId>pjl-comp-filter</artifactId> + <version>1.7</version> + <packaging>jar</packaging> + + <name>PJL Compressing Filter</name> + <description>PJL Compressing Filter</description> + <url>http://sourceforge.net/projects/pjl-comp-filter/</url> + + <licenses> + <license> + <name>Apache 2</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging-api</artifactId> + <version>1.1.1</version> + </dependency> + <dependency> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + <version>2.1</version> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.5</version> + </dependency> + </dependencies> +</project> diff --git a/debian/libpjl-comp-filter-java.poms b/debian/libpjl-comp-filter-java.poms new file mode 100644 index 0000000..9ed0402 --- /dev/null +++ b/debian/libpjl-comp-filter-java.poms @@ -0,0 +1 @@ +debian/libpjl-comp-filter-java.pom diff --git a/debian/patches/02-addpom.patch b/debian/patches/02-addpom.patch deleted file mode 100644 index 576041b..0000000 --- a/debian/patches/02-addpom.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- /dev/null -+++ b/pom.xml -@@ -0,0 +1,48 @@ -+<!-- -+ This file is in the public domain, furnished “as is”, without technical -+ support, and with no warranty, express or implied, as to its usefulness for -+ any purpose. -+--> -+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> -+ <modelVersion>4.0.0</modelVersion> -+ <groupId>net.sourceforge</groupId> -+ <artifactId>pjl-comp-filter</artifactId> -+ <version>1.7</version> -+ <packaging>jar</packaging> -+ -+ <name>PJL Compressing Filter</name> -+ <description>PJL Compressing Filter</description> -+ <url>http://sourceforge.net/projects/pjl-comp-filter/</url> -+ -+ <licenses> -+ <license> -+ <name>Apache 2</name> -+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> -+ <distribution>repo</distribution> -+ </license> -+ </licenses> -+ -+ <dependencies> -+ <dependency> -+ <groupId>junit</groupId> -+ <artifactId>junit</artifactId> -+ <version>3.8.2</version> -+ <scope>test</scope> -+ </dependency> -+ <dependency> -+ <groupId>commons-logging</groupId> -+ <artifactId>commons-logging-api</artifactId> -+ <version>1.1.1</version> -+ </dependency> -+ <dependency> -+ <groupId>javax.servlet.jsp</groupId> -+ <artifactId>jsp-api</artifactId> -+ <version>2.1</version> -+ </dependency> -+ <dependency> -+ <groupId>javax.servlet</groupId> -+ <artifactId>servlet-api</artifactId> -+ <version>2.5</version> -+ </dependency> -+ </dependencies> -+</project> diff --git a/debian/patches/series b/debian/patches/series index 227d723..5a9368d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ 01-fixbuild.patch -02-addpom.patch diff --git a/debian/rules b/debian/rules index 41084bf..10f4717 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,13 @@ override_dh_auto_install: install -d $(CURDIR)/debian/libpjl-comp-filter-java-doc/usr/share/doc/libpjl-comp-filter-java-doc cp -r docs/ $(CURDIR)/debian/libpjl-comp-filter-java-doc/usr/share/doc/libpjl-comp-filter-java-doc/api +binary-post-install/libpjl-comp-filter-java:: + mh_installpoms -plibpjl-comp-filter-java + mh_installjar -plibpjl-comp-filter-java -l debian/libpjl-comp-filter-java.pom pjl-comp-filter-${DEB_UPSTREAM_VERSION}.jar + +clean:: + mh_clean + get-orig-source: uscan --noconf --force-download --rename --download-current-version --destdir=. #unpack -- libpjl-comp-filter-java packaging _______________________________________________ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits