[commons-httpclient] 35/66: * Add the Maven POM to the package * Add a Build-Depends-Indep dependency on maven-repo-helper * Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Jul 4 08:04:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository commons-httpclient.
commit 59f971117813c03561c26500216783e23a910bf1
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date: Thu Jul 9 16:51:01 2009 +0000
* Add the Maven POM to the package
* Add a Build-Depends-Indep dependency on maven-repo-helper
* Use mh_installpom and mh_installjar to install the POM and the jar to the
Maven repository
---
debian/changelog | 9 ++
debian/control | 4 +-
debian/copyright | 2 +-
debian/libcommons-httpclient-java.poms | 1 +
debian/maven.rules | 2 +
debian/pom.xml | 254 +++++++++++++++++++++++++++++++++
debian/rules | 17 ++-
7 files changed, 281 insertions(+), 8 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 595cf93..7a2d4e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+commons-httpclient (3.1-4) experimental; urgency=low
+
+ * Add the Maven POM to the package
+ * Add a Build-Depends-Indep dependency on maven-repo-helper
+ * Use mh_installpom and mh_installjar to install the POM and the jar to the
+ Maven repository
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Thu, 09 Jul 2009 17:40:18 +0100
+
commons-httpclient (3.1-3) unstable; urgency=low
* Convert to default-jdk/jre (Closes: #508949)
diff --git a/debian/control b/debian/control
index 6525ab4..a324688 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,8 @@ Uploaders: Barry Hawkins <barry at alltc.com>,
Arnaud Vandyck <avdyk at debian.org>,
Kumar Appaiah <akumar at debian.org>,
Varun Hiremath <varun at debian.org>
-Build-Depends: debhelper, cdbs
-Build-Depends-Indep: ant, default-jdk, libcommons-codec-java, libcommons-logging-java, junit
+Build-Depends: debhelper (>= 7), cdbs
+Build-Depends-Indep: maven-repo-helper, ant, default-jdk, libcommons-codec-java, libcommons-logging-java, junit
Standards-Version: 3.8.1
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/commons-httpclient
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/commons-httpclient
diff --git a/debian/copyright b/debian/copyright
index 7f46f06..af27909 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -29,7 +29,7 @@ Upstream Authors: Michael Becke <mbecke at apache.org>,
Laura Werner <laura at lwerner.org>,
Mikael Wilstrom <mikael.wikstrom at it.su.se>
-Copyright: � 2001-2008 The Apache Software Foundation
+Copyright: 2001-2008 The Apache Software Foundation
License: Apache 2.0
diff --git a/debian/libcommons-httpclient-java.poms b/debian/libcommons-httpclient-java.poms
new file mode 100644
index 0000000..623bd24
--- /dev/null
+++ b/debian/libcommons-httpclient-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --no-parent
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..505ae34
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+junit junit jar s/3\..*/3.x/
+commons-httpclient commons-httpclient jar s/3\..*/3.x/
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..595a1b0
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,254 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <name>HttpClient</name>
+ <version>3.1</version>
+ <description>The HttpClient component supports the client-side of RFC 1945 (HTTP/1.0) and RFC 2616 (HTTP/1.1) , several related specifications (RFC 2109 (Cookies) , RFC 2617 (HTTP Authentication) , etc.), and provides a framework by which new request types (methods) or HTTP extensions can be created easily.</description>
+ <url>http://jakarta.apache.org/httpcomponents/httpclient-3.x/</url>
+ <issueManagement>
+ <url>http://issues.apache.org/jira/browse/HTTPCLIENT</url>
+ </issueManagement>
+ <ciManagement>
+ <notifiers>
+ <notifier>
+ <configuration>
+ <address>httpcomponents-dev at jakarta.apache.org</address>
+ </configuration>
+ </notifier>
+ </notifiers>
+ </ciManagement>
+ <inceptionYear>2001</inceptionYear>
+ <mailingLists>
+ <mailingList>
+ <name>HttpComponents Developer List</name>
+ <subscribe>httpcomponents-dev-subscribe at jakarta.apache.org</subscribe>
+ <unsubscribe>httpcomponents-dev-unsubscribe at jakarta.apache.org</unsubscribe>
+ <archive>http://mail-archives.apache.org/mod_mbox/jakarta-httpcomponents-dev/</archive>
+ </mailingList>
+ <mailingList>
+ <name>HttpClient User List</name>
+ <subscribe>httpclient-user-subscribe at jakarta.apache.org</subscribe>
+ <unsubscribe>httpclient-user-unsubscribe at jakarta.apache.org</unsubscribe>
+ <archive>http://mail-archives.apache.org/mod_mbox/jakarta-httpclient-user/</archive>
+ </mailingList>
+ </mailingLists>
+ <developers>
+ <developer>
+ <id>mbecke</id>
+ <name>Michael Becke</name>
+ <email>mbecke -at- apache.org</email>
+ <organization></organization>
+ <roles>
+ <role>Release Prime</role>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>jsdever</id>
+ <name>Jeff Dever</name>
+ <email>jsdever -at- apache.org</email>
+ <organization>Independent consultant</organization>
+ <roles>
+ <role>2.0 Release Prime</role>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>dion</id>
+ <name>dIon Gillard</name>
+ <email>dion -at- apache.org</email>
+ <organization>Multitask Consulting</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>oglueck</id>
+ <name>Ortwin Glueck</name>
+ <email>oglueck -at- apache.org</email>
+ <url>http://www.odi.ch/</url>
+ <organization></organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>jericho</id>
+ <name>Sung-Gu</name>
+ <email>jericho -at- apache.org</email>
+ <organization></organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>olegk</id>
+ <name>Oleg Kalnichevski</name>
+ <email>olegk -at- apache.org</email>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>sullis</id>
+ <name>Sean C. Sullivan</name>
+ <email>sullis -at- apache.org</email>
+ <organization>Independent consultant</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>adrian</id>
+ <name>Adrian Sutton</name>
+ <email>adrian.sutton -at- ephox.com</email>
+ <organization>Intencha</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>rwaldhoff</id>
+ <name>Rodney Waldhoff</name>
+ <email>rwaldhoff -at- apache</email>
+ <organization>Britannica</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+ </developers>
+ <contributors>
+ <contributor>
+ <name>Armando Anton</name>
+ <email>armando.anton -at- newknow.com</email>
+ </contributor>
+ <contributor>
+ <name>Sebastian Bazley</name>
+ <email>sebb -at- apache.org</email>
+ </contributor>
+ <contributor>
+ <name>Ola Berg</name>
+ <email></email>
+ </contributor>
+ <contributor>
+ <name>Sam Berlin</name>
+ <email>sberlin -at- limepeer.com</email>
+ </contributor>
+ <contributor>
+ <name>Mike Bowler</name>
+ <email></email>
+ </contributor>
+ <contributor>
+ <name>Samit Jain</name>
+ <email>jain.samit -at- gmail.com</email>
+ </contributor>
+ <contributor>
+ <name>Eric Johnson</name>
+ <email>eric -at- tibco.com</email>
+ </contributor>
+ <contributor>
+ <name>Christian Kohlschuetter</name>
+ <email>ck -at- newsclub.de</email>
+ </contributor>
+ <contributor>
+ <name>Ryan Lubke</name>
+ <email>Ryan.Lubke -at- Sun.COM</email>
+ </contributor>
+ <contributor>
+ <name>Sam Maloney</name>
+ <email>sam.maloney -at- filogix.com</email>
+ </contributor>
+ <contributor>
+ <name>Rob Di Marco</name>
+ <email>rdimarco -at- hmsonline.com</email>
+ </contributor>
+ <contributor>
+ <name>Juergen Pill</name>
+ <email>Juergen.Pill -at- softwareag.com</email>
+ </contributor>
+ <contributor>
+ <name>Mohammad Rezaei</name>
+ <email>mohammad.rezaei -at- gs.com</email>
+ </contributor>
+ <contributor>
+ <name>Roland Weber</name>
+ <email>rolandw -at- apache.org</email>
+ </contributor>
+ <contributor>
+ <name>Laura Werner</name>
+ <email>laura -at- lwerner.org</email>
+ </contributor>
+ <contributor>
+ <name>Mikael Wilstrom</name>
+ <email>mikael.wikstrom -at- it.su.se</email>
+ </contributor>
+ </contributors>
+ <licenses>
+ <license>
+ <name>Apache License</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/httpcomponents/oac.hc3x/trunk</connection>
+ <url>http://svn.apache.org/repos/asf/jakarta/httpcomponents/oac.hc3x/trunk</url>
+ </scm>
+ <organization>
+ <name>Apache Software Foundation</name>
+ <url>http://jakarta.apache.org/</url>
+ </organization>
+ <build>
+ <sourceDirectory>src/java</sourceDirectory>
+ <testSourceDirectory>src/test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>src/resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test</directory>
+ <includes>
+ <include>**/*.keystore</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/TestAll.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.2</version>
+ </dependency>
+ </dependencies>
+ <distributionManagement>
+ <site>
+ <id>default</id>
+ <name>Default Site</name>
+ <url>scp://people.apache.org//www/jakarta.apache.org/httpcomponents/httpclient-3.x/</url>
+ </site>
+ <status>converted</status>
+ </distributionManagement>
+</project>
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 9a1a3ff..a652498 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,15 +5,22 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(DEB_UPSTREAM_VERSION)
JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS := junit commons-logging commons-codec
DEB_ANT_BUILD_TARGET := dist
DEB_INSTALL_CHANGELOGS_ALL = RELEASE_NOTES.txt
-LIBRARY=commons-httpclient
+binary-post-install/lib$(PACKAGE)-java::
+ mh_installpoms -plib$(PACKAGE)-java
+ mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml dist/$(PACKAGE)-$(VERSION).jar
+
+get-orig-pom:
+ wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/commons-httpclient/commons-httpclient/$(DEB_UPSTREAM_VERSION)/commons-httpclient-$(DEB_UPSTREAM_VERSION).pom
+
+get-orig-source:
+ -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
-install/lib${LIBRARY}-java::
- dh_install dist/${LIBRARY}-${DEB_UPSTREAM_VERSION}.jar usr/share/java
- dh_link /usr/share/java/${LIBRARY}-$(DEB_UPSTREAM_VERSION).jar \
- /usr/share/java/${LIBRARY}.jar
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/commons-httpclient.git
More information about the pkg-java-commits
mailing list