--- plexus-archiver-1.0~alpha12.orig/debian/maven.rules
+++ plexus-archiver-1.0~alpha12/debian/maven.rules
@@ -0,0 +1,2 @@
+org.codehaus.plexus plexus-container-default jar s/.*/1.0-alpha/
+
--- plexus-archiver-1.0~alpha12.orig/debian/copyright
+++ plexus-archiver-1.0~alpha12/debian/copyright
@@ -0,0 +1,67 @@
+This package was debianized by Paul Cager <paul-debian@home.paulcager.org>
+Sun, 06 Apr 2008 17:44:08 +0100.
+
+plexus-archiver was downloaded from
+http://plexus.codehaus.org/plexus-components/plexus-archiver/
+
+Copyright: 2004-2008 The Codehaus Foundation
+
+License:
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+The full text of the license can be found in
+'/usr/share/common-licenses/Apache-2.0'.
+
+----------
+
+Files:
+
+src/test/java/org/codehaus/plexus/archiver/EmptyDirectoryTest.java
+src/test/java/org/codehaus/plexus/archiver/manager/ArchiverManagerTest.java
+src/test/java/org/codehaus/plexus/archiver/gzip/GZipArchiverTest.java
+src/test/java/org/codehaus/plexus/archiver/tar/TarBZip2UnArchiverTest.java
+ .../TarArchiverTest.java
+ .../TarGZipUnArchiverTest.java
+src/test/java/org/codehaus/plexus/archiver/bzip2/BZip2ArchiverTest.java
+src/test/java/org/codehaus/plexus/archiver/zip/ZipArchiverTest.java
+
+Copyright: 2004 The Codehaus Foundation
+
+License: The MIT License
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+----------
+
+Files: src/main/java/org/codehaus/plexus/archiver/*
+
+Copyright: 2001-2005 The Apache Software Foundation
+
+License: Apache 2.0 (see above)
--- plexus-archiver-1.0~alpha12.orig/debian/rules
+++ plexus-archiver-1.0~alpha12/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_JARS := ant-nodeps plexus-io plexus-container-default plexus-utils
+DEB_ANT_BUILD_TARGET := package #javadoc
+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 --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+binary-post-install/lib$(PACKAGE)-java::
+ mh_installpoms -plib$(PACKAGE)-java
+ mh_installjar -plib$(PACKAGE)-java -l pom.xml build/$(PACKAGE)-$(VERSION).jar
+
+clean::
+ -rm -rf debian/tmp
+
--- plexus-archiver-1.0~alpha12.orig/debian/orig-tar.sh
+++ plexus-archiver-1.0~alpha12/debian/orig-tar.sh
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+TAR=../plexus-archiver_$2.orig.tar.gz
+DIR=plexus-archiver-$2
+TAG=$(echo plexus-archiver-$2 | sed 's,~alpha,-alpha-,')
+
+svn export http://svn.codehaus.org/plexus/plexus-components/tags/$TAG $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
--- plexus-archiver-1.0~alpha12.orig/debian/changelog
+++ plexus-archiver-1.0~alpha12/debian/changelog
@@ -0,0 +1,31 @@
+plexus-archiver (1.0~alpha12-2) unstable; urgency=low
+
+ * Fix versions in the POM
+
+ -- Ludovic Claude <ludovic.claude@laposte.net> Thu, 09 Jul 2009 21:34:25 +0100
+
+plexus-archiver (1.0~alpha12-1) experimental; 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 <ludovic.claude@laposte.net> Thu, 19 Mar 2009 20:08:20 +0000
+
+plexus-archiver (1.0~alpha10-2) unstable; urgency=low
+
+ * Change Depends: default-java to default-jre.
+
+ -- Torsten Werner <twerner@debian.org> Fri, 26 Dec 2008 10:28:05 +0100
+
+plexus-archiver (1.0~alpha10-1) unstable; urgency=low
+
+ * Initial release. (Closes: #475780)
+
+ -- Torsten Werner <twerner@debian.org> Tue, 09 Dec 2008 20:13:45 +0100
--- plexus-archiver-1.0~alpha12.orig/debian/libplexus-archiver-java.poms
+++ plexus-archiver-1.0~alpha12/debian/libplexus-archiver-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
--- plexus-archiver-1.0~alpha12.orig/debian/watch
+++ plexus-archiver-1.0~alpha12/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s{-alpha-}{~alpha} \
+ http://svn.codehaus.org/plexus/plexus-components/tags/ \
+ plexus-archiver-(.*)/ debian debian/orig-tar.sh
--- plexus-archiver-1.0~alpha12.orig/debian/control
+++ plexus-archiver-1.0~alpha12/debian/control
@@ -0,0 +1,25 @@
+Source: plexus-archiver
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner@debian.org>, Ludovic Claude <ludovic.claude@laposte.net>
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk-builddep
+Build-Depends-Indep: maven-repo-helper (>> 0.5), 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}, 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
+ can utilise component-oriented programming to build modular, reusable
+ components that can easily be assembled and reused.
+ .
+ This package provides the Archiver plugin for Plexus, used to create
+ JARs and other archives.
--- plexus-archiver-1.0~alpha12.orig/debian/compat
+++ plexus-archiver-1.0~alpha12/debian/compat
@@ -0,0 +1 @@
+5
--- plexus-archiver-1.0~alpha12.orig/debian/build.properties
+++ plexus-archiver-1.0~alpha12/debian/build.properties
@@ -0,0 +1,2 @@
+javadoc.dir=build/api
+maven.test.skip=true