Author: ludovicc-guest
Date: 2009-07-04 23:55:33 +0000 (Sat, 04 Jul 2009)
New Revision: 8847

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

Deleted: trunk/plexus-archiver/debian/ant.properties
===================================================================
--- trunk/plexus-archiver/debian/ant.properties 2009-07-04 23:53:44 UTC (rev 
8846)
+++ trunk/plexus-archiver/debian/ant.properties 2009-07-04 23:55:33 UTC (rev 
8847)
@@ -1,2 +0,0 @@
-javadoc.dir=build/api
-maven.test.skip=true

Added: trunk/plexus-archiver/debian/build.properties
===================================================================
--- trunk/plexus-archiver/debian/build.properties                               
(rev 0)
+++ trunk/plexus-archiver/debian/build.properties       2009-07-04 23:55:33 UTC 
(rev 8847)
@@ -0,0 +1,2 @@
+javadoc.dir=build/api
+maven.test.skip=true

Deleted: trunk/plexus-archiver/debian/build.xml
===================================================================
--- trunk/plexus-archiver/debian/build.xml      2009-07-04 23:53:44 UTC (rev 
8846)
+++ trunk/plexus-archiver/debian/build.xml      2009-07-04 23:55:33 UTC (rev 
8847)
@@ -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-archiver"/>
-  </target>
-
-  <target name="javadoc">
-    <javadoc destdir="${javadoc.dir}">
-      <packageset dir="src/main/java/"/>
-    </javadoc>
-  </target>
-
-</project>

Modified: trunk/plexus-archiver/debian/changelog
===================================================================
--- trunk/plexus-archiver/debian/changelog      2009-07-04 23:53:44 UTC (rev 
8846)
+++ trunk/plexus-archiver/debian/changelog      2009-07-04 23:55:33 UTC (rev 
8847)
@@ -1,3 +1,17 @@
+plexus-archiver (1.0~alpha12-1) unstable; urgency=low
+
+  * New upstream release, add myself to Uploaders
+  * Change section to java
+  * 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
+  * Remove the dependency on java2-runtime and default-java as this is a 
library
+  * Remove the Build dependency on quilt as it's no longer needed
+
+ -- Ludovic Claude <[email protected]>  Thu, 19 Mar 2009 20:08:20 
+0000
+
 plexus-archiver (1.0~alpha10-2) unstable; urgency=low
 
   * Change Depends: default-java to default-jre.

Modified: trunk/plexus-archiver/debian/control
===================================================================
--- trunk/plexus-archiver/debian/control        2009-07-04 23:53:44 UTC (rev 
8846)
+++ trunk/plexus-archiver/debian/control        2009-07-04 23:55:33 UTC (rev 
8847)
@@ -1,19 +1,20 @@
 Source: plexus-archiver
-Section: libs
+Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers 
<[email protected]>
-Uploaders: Torsten Werner <[email protected]>
-Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk, 
maven-ant-helper,
- quilt, libplexus-utils-java, libplexus-io-java, libplexus-containers-java
-Standards-Version: 3.8.0
+Uploaders: Torsten Werner <[email protected]>, Ludovic Claude 
<[email protected]>
+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-io-java, libplexus-containers-java
+Standards-Version: 3.8.1
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-archiver
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-archiver/
 Homepage: http://plexus.codehaus.org/plexus-components/plexus-archiver/
 
 Package: libplexus-archiver-java
 Architecture: all
-Depends: ${misc:Depends}, default-jre | java2-runtime, libplexus-utils-java,
- libplexus-io-java, libplexus-containers-java
+Depends: ${misc:Depends}, libplexus-utils-java, libplexus-io-java, 
+ libplexus-containers-java
 Description: The archiver plugin for the Plexus compiler system
  The Plexus project provides a full software stack for creating and
  executing software projects. Based on the Plexus container, the applications

Added: trunk/plexus-archiver/debian/libplexus-archiver-java.poms
===================================================================
--- trunk/plexus-archiver/debian/libplexus-archiver-java.poms                   
        (rev 0)
+++ trunk/plexus-archiver/debian/libplexus-archiver-java.poms   2009-07-04 
23:55:33 UTC (rev 8847)
@@ -0,0 +1 @@
+pom.xml --no-parent


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

Modified: trunk/plexus-archiver/debian/rules
===================================================================
--- trunk/plexus-archiver/debian/rules  2009-07-04 23:53:44 UTC (rev 8846)
+++ trunk/plexus-archiver/debian/rules  2009-07-04 23:55:33 UTC (rev 8847)
@@ -2,24 +2,23 @@
 
 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-io plexus-container-default-1.0 plexus-utils
+DEB_JARS             := ant-nodeps plexus-io plexus-container-default 
plexus-utils
 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 $(DEB_UPSTREAM_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-archiver/debian/rules
___________________________________________________________________
Modified: svn:executable
   - 
   + *


_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to