[pkg-java] r8894 - trunk/plexus-io/debian

Ludovic Claude ludovicc-guest at alioth.debian.org
Mon Jul 6 21:07:49 UTC 2009


Author: ludovicc-guest
Date: 2009-07-06 21:07:47 +0000 (Mon, 06 Jul 2009)
New Revision: 8894

Added:
   trunk/plexus-io/debian/build.properties
   trunk/plexus-io/debian/libplexus-io-java.poms
Removed:
   trunk/plexus-io/debian/ant.properties
   trunk/plexus-io/debian/build.xml
   trunk/plexus-io/debian/patches/
Modified:
   trunk/plexus-io/debian/changelog
   trunk/plexus-io/debian/control
   trunk/plexus-io/debian/orig-tar.sh
   trunk/plexus-io/debian/rules
Log:
* New version

Deleted: trunk/plexus-io/debian/ant.properties
===================================================================
--- trunk/plexus-io/debian/ant.properties	2009-07-06 21:05:32 UTC (rev 8893)
+++ trunk/plexus-io/debian/ant.properties	2009-07-06 21:07:47 UTC (rev 8894)
@@ -1,2 +0,0 @@
-javadoc.dir=build/api
-maven.test.skip=true

Added: trunk/plexus-io/debian/build.properties
===================================================================
--- trunk/plexus-io/debian/build.properties	                        (rev 0)
+++ trunk/plexus-io/debian/build.properties	2009-07-06 21:07:47 UTC (rev 8894)
@@ -0,0 +1,2 @@
+javadoc.dir=build/api
+maven.test.skip=true

Deleted: trunk/plexus-io/debian/build.xml
===================================================================
--- trunk/plexus-io/debian/build.xml	2009-07-06 21:05:32 UTC (rev 8893)
+++ trunk/plexus-io/debian/build.xml	2009-07-06 21:07:47 UTC (rev 8894)
@@ -1,41 +0,0 @@
-<?xml version="1.0"?>
- 
-<project name="plexus-containers" default="package" basedir="..">
- 
-  <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
-
-  <macrodef name="cleanmodule">
-    <attribute name="dir"/>
-    <sequential>
-      <ant target="clean"
-	antfile="/usr/share/maven-ant-helper/maven-build.xml" dir="@{dir}"/>
-    </sequential>
-  </macrodef>
-
-  <macrodef name="packagemodule">
-    <attribute name="dir"/>
-    <attribute name="artifactId"/>
-    <sequential>
-      <ant target="package" antfile="/usr/share/maven-ant-helper/maven-build.xml"
-       	dir="@{dir}">
-	<property name="artifactId" value="@{artifactId}"/>
-      </ant>
-    </sequential>
-  </macrodef>
-
-  <target name="clean">
-    <delete dir="build"/>
-    <cleanmodule dir="."/>
-  </target>
-
-  <target name="package">
-    <packagemodule dir="." artifactId="plexus-io"/>
-  </target>
-
-  <target name="javadoc">
-    <javadoc destdir="${javadoc.dir}">
-      <packageset dir="src/main/java/"/>
-    </javadoc>
-  </target>
-
-</project>

Modified: trunk/plexus-io/debian/changelog
===================================================================
--- trunk/plexus-io/debian/changelog	2009-07-06 21:05:32 UTC (rev 8893)
+++ trunk/plexus-io/debian/changelog	2009-07-06 21:07:47 UTC (rev 8894)
@@ -1,3 +1,17 @@
+plexus-io (1.0~alpha4-1) unstable; urgency=low
+
+  * New upstream version, add myself to uploaders
+  * Change section to java, bump Standards-Version to 3.8.1
+  * 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
+  * Remove the patch for the POM as it's no longer needed, as well as
+    the dependency on Quilt
+  * Add new dependency on libplexus-containers-java
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Tue, 24 Mar 2009 20:55:18 +0000
+
 plexus-io (1.0~alpha2-2) unstable; urgency=low
 
   * Change Depends: default-jre | java2-runtime.

Modified: trunk/plexus-io/debian/control
===================================================================
--- trunk/plexus-io/debian/control	2009-07-06 21:05:32 UTC (rev 8893)
+++ trunk/plexus-io/debian/control	2009-07-06 21:07:47 UTC (rev 8894)
@@ -1,18 +1,19 @@
 Source: plexus-io
-Section: libs
+Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Torsten Werner <twerner at debian.org>
-Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk, maven-ant-helper,
- quilt, libplexus-utils-java
-Standards-Version: 3.8.0
+Uploaders: Torsten Werner <twerner at debian.org>, Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk-builddep
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional, 
+ libplexus-utils-java, libplexus-containers-java
+Standards-Version: 3.8.1
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-io
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-io/
 Homepage: http://plexus.codehaus.org/plexus-components/plexus-io/
 
 Package: libplexus-io-java
 Architecture: all
-Depends: ${misc:Depends}, default-jre | java2-runtime, libplexus-utils-java
+Depends: ${misc:Depends}, libplexus-utils-java, libplexus-containers-java
 Description: Plexus IO Components
  Plexus IO is a set of plexus components, which are designed for use in I/O
  operations. These I/O operations are doing nothing spectacular. For example,

Added: trunk/plexus-io/debian/libplexus-io-java.poms
===================================================================
--- trunk/plexus-io/debian/libplexus-io-java.poms	                        (rev 0)
+++ trunk/plexus-io/debian/libplexus-io-java.poms	2009-07-06 21:07:47 UTC (rev 8894)
@@ -0,0 +1 @@
+pom.xml --no-parent


Property changes on: trunk/plexus-io/debian/orig-tar.sh
___________________________________________________________________
Modified: svn:executable
   - 
   + *

Modified: trunk/plexus-io/debian/rules
===================================================================
--- trunk/plexus-io/debian/rules	2009-07-06 21:05:32 UTC (rev 8893)
+++ trunk/plexus-io/debian/rules	2009-07-06 21:07:47 UTC (rev 8894)
@@ -2,24 +2,22 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
-PACKAGE              := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
-VERSION              := $(shell dpkg-parsechangelog | egrep '^Version:' | sed "s,Version: \(.*\)-.*,\1,g" | sed 's,~alpha,-alpha-,')
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
 JAVA_HOME            := /usr/lib/jvm/default-java
-DEB_JARS             := plexus-utils
+DEB_JARS             := ant-nodeps plexus-utils plexus-container-default
 DEB_ANT_BUILD_TARGET := package #javadoc
-DEB_ANT_BUILDFILE    := debian/build.xml
-DEB_ANT_ARGS         := -Dversion=$(VERSION)
+DEB_ANT_BUILDFILE    := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS         := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
 API_DOCS             := build/api
 
 get-orig-source:
-	uscan --force-download --rename
+	uscan --download-version $(VERSION) --force-download --rename
 
-REPO := /usr/share/maven-repo
-DEST := $(REPO)/org/codehaus/plexus
-
 binary-post-install/lib$(PACKAGE)-java::
-	dh_install build/*.jar $(DEST)/$(PACKAGE)/$(VERSION)/
-	install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).pom
-	dh_link $(DEST)/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).jar /usr/share/java/$(PACKAGE).jar
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l pom.xml build/$(PACKAGE)-$(VERSION).jar
+
+clean::
+	-rm -rf debian/tmp


Property changes on: trunk/plexus-io/debian/rules
___________________________________________________________________
Modified: svn:executable
   - 
   + *




More information about the pkg-java-commits mailing list