[pkg-java] r9042 - trunk/libcommons-codec-java/debian
Ludovic Claude
ludovicc-guest at alioth.debian.org
Thu Jul 9 17:38:15 UTC 2009
Author: ludovicc-guest
Date: 2009-07-09 17:38:14 +0000 (Thu, 09 Jul 2009)
New Revision: 9042
Added:
trunk/libcommons-codec-java/debian/libcommons-codec-java.poms
trunk/libcommons-codec-java/debian/pom.xml
Removed:
trunk/libcommons-codec-java/debian/install
trunk/libcommons-codec-java/debian/links
Modified:
trunk/libcommons-codec-java/debian/changelog
trunk/libcommons-codec-java/debian/control
trunk/libcommons-codec-java/debian/copyright
trunk/libcommons-codec-java/debian/rules
Log:
* 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
Modified: trunk/libcommons-codec-java/debian/changelog
===================================================================
--- trunk/libcommons-codec-java/debian/changelog 2009-07-09 17:35:18 UTC (rev 9041)
+++ trunk/libcommons-codec-java/debian/changelog 2009-07-09 17:38:14 UTC (rev 9042)
@@ -1,3 +1,12 @@
+libcommons-codec-java (1.3-6) 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 18:14:44 +0100
+
libcommons-codec-java (1.3-5) unstable; urgency=low
[ Emmanuel Bourg ]
Modified: trunk/libcommons-codec-java/debian/control
===================================================================
--- trunk/libcommons-codec-java/debian/control 2009-07-09 17:35:18 UTC (rev 9041)
+++ trunk/libcommons-codec-java/debian/control 2009-07-09 17:38:14 UTC (rev 9042)
@@ -4,7 +4,7 @@
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Arnaud Vandyck <avdyk at debian.org>, Wolfgang Baer <WBaer at gmx.de>, Damien Raude-Morvan <drazzib at drazzib.com>
Build-Depends: cdbs, debhelper (>= 5), ant, default-jdk-builddep
-Build-Depends-Indep: ant-optional, junit
+Build-Depends-Indep: maven-repo-helper, ant-optional, junit
Standards-Version: 3.8.2
Homepage: http://commons.apache.org/codec/
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-codec-java
Modified: trunk/libcommons-codec-java/debian/copyright
===================================================================
--- trunk/libcommons-codec-java/debian/copyright 2009-07-09 17:35:18 UTC (rev 9041)
+++ trunk/libcommons-codec-java/debian/copyright 2009-07-09 17:38:14 UTC (rev 9042)
@@ -21,7 +21,7 @@
Alex Karasulu <aok123 at bellsouth.net>,
Matthew Inger <mattinger at yahoo.com>
-Copyright: © 2002-2008 The Apache Software Foundation
+Copyright: 2002-2008 The Apache Software Foundation
License: Apache 2.0
Deleted: trunk/libcommons-codec-java/debian/install
===================================================================
--- trunk/libcommons-codec-java/debian/install 2009-07-09 17:35:18 UTC (rev 9041)
+++ trunk/libcommons-codec-java/debian/install 2009-07-09 17:38:14 UTC (rev 9042)
@@ -1 +0,0 @@
-dist/commons-codec-1.3.jar usr/share/java/
Added: trunk/libcommons-codec-java/debian/libcommons-codec-java.poms
===================================================================
--- trunk/libcommons-codec-java/debian/libcommons-codec-java.poms (rev 0)
+++ trunk/libcommons-codec-java/debian/libcommons-codec-java.poms 2009-07-09 17:38:14 UTC (rev 9042)
@@ -0,0 +1 @@
+debian/pom.xml --no-parent
Deleted: trunk/libcommons-codec-java/debian/links
===================================================================
--- trunk/libcommons-codec-java/debian/links 2009-07-09 17:35:18 UTC (rev 9041)
+++ trunk/libcommons-codec-java/debian/links 2009-07-09 17:38:14 UTC (rev 9042)
@@ -1 +0,0 @@
-usr/share/java/commons-codec-1.3.jar usr/share/java/commons-codec.jar
Added: trunk/libcommons-codec-java/debian/pom.xml
===================================================================
--- trunk/libcommons-codec-java/debian/pom.xml (rev 0)
+++ trunk/libcommons-codec-java/debian/pom.xml 2009-07-09 17:38:14 UTC (rev 9042)
@@ -0,0 +1,178 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <name>Codec</name>
+ <version>1.3</version>
+ <description>The codec package contains simple encoder and decoders for
+ various formats such as Base64 and Hexadecimal. In addition to these
+ widely used encoders and decoders, the codec package also maintains a
+ collection of phonetic encoding utilities.</description>
+ <url>http://jakarta.apache.org/commons/codec/</url>
+ <issueManagement>
+ <url>http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Commons&component=Codec&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time</url>
+ </issueManagement>
+ <ciManagement>
+ <notifiers>
+ <notifier>
+ <address>commons-dev at jakarta.apache.org</address>
+ </notifier>
+ </notifiers>
+ </ciManagement>
+ <inceptionYear>2002</inceptionYear>
+ <mailingLists>
+ <mailingList>
+ <name>Commons Dev List</name>
+ <subscribe>commons-dev-subscribe at jakarta.apache.org</subscribe>
+ <unsubscribe>commons-dev-unsubscribe at jakarta.apache.org</unsubscribe>
+ <archive>http://nagoya.apache.org/eyebrowse/SummarizeList?listName=commons-dev@jakarta.apache.org</archive>
+ </mailingList>
+ <mailingList>
+ <name>Commons User List</name>
+ <subscribe>commons-user-subscribe at jakarta.apache.org</subscribe>
+ <unsubscribe>commons-user-unsubscribe at jakarta.apache.org</unsubscribe>
+ <archive>http://nagoya.apache.org/eyebrowse/SummarizeList?listName=commons-user@jakarta.apache.org</archive>
+ </mailingList>
+ </mailingLists>
+ <developers>
+ <developer>
+ <id>bayard</id>
+ <name>Henri Yandell</name>
+ <email>bayard at generationjava.com</email>
+ </developer>
+ <developer>
+ <id>tobrien</id>
+ <name>Tim OBrien</name>
+ <email>tobrien at apache.org</email>
+ <timezone>-6</timezone>
+ </developer>
+ <developer>
+ <id>sanders</id>
+ <name>Scott Sanders</name>
+ <email>sanders at totalsync.com</email>
+ </developer>
+ <developer>
+ <id>rwaldhoff</id>
+ <name>Rodney Waldhoff</name>
+ <email>rwaldhoff at apache.org</email>
+ </developer>
+ <developer>
+ <id>dlr</id>
+ <name>Daniel Rall</name>
+ <email>dlr at finemaltcoding.com</email>
+ </developer>
+ <developer>
+ <id>jon</id>
+ <name>Jon S. Stevens</name>
+ <email>jon at collab.net</email>
+ </developer>
+ <developer>
+ <id>ggregory</id>
+ <name>Gary D. Gregory</name>
+ <email>ggregory at seagullsw.com</email>
+ <organization>Seagull Software</organization>
+ <timezone>-8</timezone>
+ </developer>
+ <developer>
+ <id>dgraham</id>
+ <name>David Graham</name>
+ <email>dgraham at apache.org</email>
+ </developer>
+ </developers>
+ <contributors>
+ <contributor>
+ <name>Christopher O'Brien</name>
+ <email>siege at preoccupied.net</email>
+ </contributor>
+ <contributor>
+ <name>Martin Redington</name>
+ </contributor>
+ <contributor>
+ <name>Jeffery Dever</name>
+ </contributor>
+ <contributor>
+ <name>Steve Zimmermann</name>
+ <email>steve.zimmermann at heii.com</email>
+ </contributor>
+ <contributor>
+ <name>Benjamin Walstrum</name>
+ <email>ben at walstrum.com</email>
+ </contributor>
+ <contributor>
+ <name>Oleg Kalnichevski</name>
+ <email>oleg at ural.ru</email>
+ </contributor>
+ <contributor>
+ <name>Dave Dribin</name>
+ <email>apache at dave.dribin.org</email>
+ </contributor>
+ <contributor>
+ <name>Alex Karasulu</name>
+ <email>aok123 at bellsouth.net</email>
+ </contributor>
+ <contributor>
+ <name>Matthew Inger</name>
+ <email>mattinger at yahoo.com</email>
+ </contributor>
+ </contributors>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>/LICENSE.txt</url>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:cvs:pserver:anoncvs at cvs.apache.org:/home/cvspublic:jakarta-commons/codec</connection>
+ <url>http://cvs.apache.org/viewcvs/jakarta-commons/codec/</url>
+ </scm>
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>http://jakarta.apache.org</url>
+ </organization>
+ <build>
+ <sourceDirectory>src/java</sourceDirectory>
+ <testSourceDirectory>src/test</testSourceDirectory>
+ <testResources>
+ <testResource>
+ <directory>src/test</directory>
+ <includes>
+ <include>**/*.xml</include>
+ </includes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/Test*.java</include>
+ <include>**/*Test.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*AbstractTest.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <distributionManagement>
+ <repository>
+ <id>default</id>
+ <name>Default Repository</name>
+ <url>file:///www/jakarta.apache.org/builds/jakarta-commons/codec/</url>
+ </repository>
+ <site>
+ <id>default</id>
+ <name>Default Site</name>
+ <url>scp://jakarta.apache.org//www/jakarta.apache.org/commons/codec/</url>
+ </site>
+ </distributionManagement>
+</project>
\ No newline at end of file
Modified: trunk/libcommons-codec-java/debian/rules
===================================================================
--- trunk/libcommons-codec-java/debian/rules 2009-07-09 17:35:18 UTC (rev 9041)
+++ trunk/libcommons-codec-java/debian/rules 2009-07-09 17:38:14 UTC (rev 9042)
@@ -5,10 +5,23 @@
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 ant-junit
+DEB_JARS := ant-nodeps junit ant-junit
DEB_ANT_BUILD_TARGET := dist
DEB_ANT_CHECK_TARGET := test
+binary-post-install/$(PACKAGE)::
+ mh_installpoms -p$(PACKAGE)
+ mh_installjar -p$(PACKAGE) -l debian/pom.xml dist/commons-codec-$(VERSION).jar
+
+clean::
+ -rm -rf debian/tmp
+
+get-orig-pom:
+ wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/commons-codec/commons-codec/$(DEB_UPSTREAM_VERSION)/commons-codec-$(DEB_UPSTREAM_VERSION).pom
+
get-orig-source:
- uscan --force-download --rename
+ -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
More information about the pkg-java-commits
mailing list