--- plexus-component-api-1.0.0~alpha22.orig/debian/copyright
+++ plexus-component-api-1.0.0~alpha22/debian/copyright
@@ -0,0 +1,75 @@
+This package was debianized by Paul Cager <paul-debian@home.paulcager.org>
+Sun, 25 Mar 2007 18:27:29 +0100
+
+The Debian packaging is Copyright (c) 2007 Paul Cager and is licensed under
+the GNU General Public License version 2. On Debian systems, the complete text
+of the GNU General Public License version 2 can be found in
+'/usr/share/common-licenses/GPL-2'.
+
+
+plex-classworlds was downloaded from http://plexus.codehaus.org/
+
+Upstream Authors:  
+	Ben Walding <bwalding@jakarta.org>
+	bob mcwhirter<bob@eng.werken.com>
+	Jason van Zyl<jason@maven.org>
+	Andrew Williams
+	Hani Suleiman <hani@formicary.net>
+
+COPYRIGHT NOTICES:
+	Copyright 2002 (C) The Werken Company. All Rights Reserved.
+
+	Redistribution and use of this software and associated documentation
+	("Software"), with or without modification, are permitted provided
+	that the following conditions are met:
+
+	1. Redistributions of source code must retain copyright
+	statements and notices.  Redistributions must also contain a
+	copy of this document.
+
+	2. Redistributions in binary form must reproduce the
+	above copyright notice, this list of conditions and the
+	following disclaimer in the documentation and/or other
+	materials provided with the distribution.
+
+	3. The name "classworlds" must not be used to endorse or promote
+	products derived from this Software without prior written
+	permission of The Werken Company.  For written permission,
+	please contact bob@werken.com.
+
+	4. Products derived from this Software may not be called "classworlds"
+	nor may "classworlds" appear in their names without prior written
+	permission of The Werken Company. "classworlds" is a registered
+	trademark of The Werken Company.
+
+	5. Due credit should be given to The Werken Company.
+	(http://classworlds.werken.com/).
+
+	THIS SOFTWARE IS PROVIDED BY THE WERKEN COMPANY AND CONTRIBUTORS
+	``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+	NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+	FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+	THE WERKEN COMPANY OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+	INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+	(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+	SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+	HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+	STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+	OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+	* Copyright 2001-2006 Codehaus Foundation.
+	*
+	* 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.
+
--- plexus-component-api-1.0.0~alpha22.orig/debian/libplexus-component-api-java-doc.doc-base
+++ plexus-component-api-1.0.0~alpha22/debian/libplexus-component-api-java-doc.doc-base
@@ -0,0 +1,9 @@
+Document: libplexus-component-api-java
+Title: API Javadoc for plexus-component-api
+Author: plexus-component-api developers
+Abstract: This is the API Javadoc provided by the plexus-component-api library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libplexus-component-api-java/api/index.html
+Files: /usr/share/doc/libplexus-component-api-java/api/*
--- plexus-component-api-1.0.0~alpha22.orig/debian/rules
+++ plexus-component-api-1.0.0~alpha22/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+PACKAGE              := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
+#VERSION              := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d-)
+VERSION              := "1.0-alpha-22"
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar xalan2 /usr/share/java/plexus-classworlds.jar
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+#DEB_ANT_INVOKE       := ant -verbose -Dpackage=$(PACKAGE) -Dversion=$(VERSION) -f $(BUILD_FILE)
+API_DOCS             := build/doc/api
+
+get-orig-source:
+	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+makebuilddir/lib$(PACKAGE)-java-doc::
+	echo "$(API_DOCS) usr/share/doc/lib$(PACKAGE)-java" >debian/lib$(PACKAGE)-java-doc.install
+
+cleanbuilddir/lib$(PACKAGE)-java-doc::
+	cd debian && rm -f lib$(PACKAGE)-java-doc.install
+
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l --usj-version=$(VERSION) pom.xml build/$(PACKAGE)-$(VERSION).jar
+
+clean::
+	-rm -rf debian/tmp
--- plexus-component-api-1.0.0~alpha22.orig/debian/orig-tar.sh
+++ plexus-component-api-1.0.0~alpha22/debian/orig-tar.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# $2 = version
+
+TAR=../plexus-component-api_$2.orig.tar.gz
+DIR=plexus-component-api-$2
+TAG=$(echo plexus-containers-$2 | sed 's/~alpha/-alpha-/' | sed 's/1\.0\.0/1.0/')
+
+svn export http://svn.codehaus.org/plexus/plexus-containers/tags/$TAG/plexus-component-api/ $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-component-api-1.0.0~alpha22.orig/debian/changelog
+++ plexus-component-api-1.0.0~alpha22/debian/changelog
@@ -0,0 +1,40 @@
+plexus-component-api (1.0.0~alpha22-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Torsten Werner <twerner@debian.org>  Sun, 09 Aug 2009 23:30:58 +0200
+
+plexus-component-api (1.0.0~alpha22-1) experimental; urgency=low
+
+  [Ludovic Claude]
+  * New upstream version (sort of), using the version stored in
+    the SVN tags rather than the trunk as it has disapeared 
+    upstream.
+  * Change section to java, bump up 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
+  * Change the dependency on java-gcj to default-jdk (Closes: #526294)
+  * Add a Recommends on libplexus-containers-java as the POM for this 
+    package required org.codehaus.plexus:plexus-containers as parent
+
+  [Michael Koch]
+  * Added watch file.
+  * Added myself to Uploaders.
+  * Added Homepage, Vcs-Svn and Vcs-Browser fields.
+  * Updated Standards-Version to 3.7.3.
+
+ -- Ludovic Claude <ludovic.claude@laposte.net>  Thu, 09 Apr 2009 13:15:53 +0000
+
+plexus-component-api (1.0+svn6316-1) unstable; urgency=low
+
+  * New upstream svn version (to cater for plexus-container-default
+
+ -- Paul Cager <paul-debian@home.paulcager.org>  Fri, 27 Apr 2007 17:15:21 +0100
+
+plexus-component-api (1.0+svn6176-1) unstable; urgency=low
+
+  * Initial release. (Closes: #413552)
+
+ -- Paul Cager <paul-debian@home.paulcager.org>  Sun, 25 Mar 2007 18:27:29 +0100
--- plexus-component-api-1.0.0~alpha22.orig/debian/watch
+++ plexus-component-api-1.0.0~alpha22/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/1\.0-/1.0.0-/;s/-alpha-/~alpha/" \
+  http://svn.codehaus.org/plexus/plexus-containers/tags/ \
+  plexus-containers-(1\.0-alpha-2\d)/ debian debian/orig-tar.sh
--- plexus-component-api-1.0.0~alpha22.orig/debian/build.xml
+++ plexus-component-api-1.0.0~alpha22/debian/build.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0"?>
+
+<!--
+      This build.xml file was written for the Debian build of plexus-component-api.
+      This file copyright (c) Paul Cager <paul-debian@home.paulcager.org>
+
+        This software and documentation is provided "as is," and
+        the copyright holders and contributing author(s) make no
+        representations or warranties, express or implied, including
+        but not limited to, warranties of merchantability or fitness
+        for any particular purpose or that the use of the software or
+        documentation will not infringe any third party patents,
+        copyrights, trademarks or other rights. 
+
+        The copyright holders and contributing author(s) will not be
+        liable for any direct, indirect, special or consequential damages
+        arising out of any use of the software or documentation, even if
+        advised of the possibility of such damage.
+
+        Permission is hereby granted to use, copy, modify, and distribute
+        this source code, or portions hereof, documentation and executables,
+        for any purpose, without fee, subject to the following restrictions:
+
+        1. The origin of this source code must not be misrepresented.
+        2. Altered versions must be plainly marked as such and must
+           not be misrepresented as being the original source.
+        3. This Copyright notice may not be removed or altered from any
+           source or altered source distribution.
+-->
+
+<project name="plexus-component-api" default="package" basedir="..">
+
+<target name="package" depends="jar,javadoc"/>
+
+<target name="init">
+	<property name="src.dir" value="src"/>
+	<property name="build.dir" value="build"/>
+	<property name="jar" value="${build.dir}/${package}-${version}.jar"/>
+	<property name="javadoc.dir" value="${build.dir}/doc/api"/>
+	<echo message="Classpath: ${java.class.path}" />
+</target>
+
+<target name="compile" depends="init">
+	<mkdir dir="${build.dir}"/>
+	<javac srcdir="${src.dir}/main"
+		destdir="${build.dir}"
+		includes="**/*.java"
+		debug="on"
+	/>
+</target>
+
+<target name="jar" depends="compile">
+	<delete file="${jar}"/>
+
+	<jar jarfile="${jar}"
+		basedir="${build.dir}"
+		includes="**/*.class,**/*.properties"
+	/>
+</target>
+
+<target name="javadoc" depends="init">
+	<mkdir dir="${javadoc.dir}"/>
+	<javadoc packagenames="org.codehaus.plexus.*"
+		sourcepath="${src.dir}/main/java"
+		destdir="${javadoc.dir}"
+		author="true"
+		version="true"
+		windowtitle="${package} API"
+		doctitle="${package} - ${version}"
+		classpath="${java.class.path}"
+		>
+			<link packagelistLoc="/usr/share/doc/libplexus-classworlds-java/api"
+				href="/usr/share/doc/libplexus-classworlds-java/api/" />
+			<link packagelistLoc="/usr/share/doc/classpath-doc/api"
+				href="/usr/share/doc/classpath-doc/api/" />
+			<link packagelistLoc="/usr/share/doc/libplexus-utils-java/api"
+				href="/usr/share/doc/libplexus-utils-java/api/" />
+	</javadoc>
+</target>
+
+<target name="clean" depends="init">
+	<delete dir="${build.dir}"/>
+</target>
+</project>
--- plexus-component-api-1.0.0~alpha22.orig/debian/control
+++ plexus-component-api-1.0.0~alpha22/debian/control
@@ -0,0 +1,62 @@
+Source: plexus-component-api
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Paul Cager <paul-debian@home.paulcager.org>, Michael Koch <konqueror@gmx.de>
+Build-Depends-Indep: maven-repo-helper, ant, ant-optional, 
+ libxalan2-java, libplexus-classworlds-java, libplexus-classworlds-java-doc
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.5.3), default-jdk
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-component-api
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-component-api
+Homepage: http://plexus.codehaus.org/
+
+Package: libplexus-component-api-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-classworlds-java
+Recommends: libplexus-containers-java
+Suggests: libplexus-component-api-java-doc
+Description: utilities for the Plexus framework
+ 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.
+ .
+ While Plexus is similar to other inversion-of-control (IoC) or dependency
+ injection frameworks such as the Spring Framework, it is a full-fledged
+ container that supports many more features such as:
+ .
+     * Component lifecycles
+     * Component instantiation strategies
+     * Nested containers
+     * Component configuration
+     * Auto-wiring
+     * Component dependencies, and
+     * Various dependency injection techniques including constructor injection,
+       setter injection, and private field injection. 
+
+Package: libplexus-component-api-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, classpath-doc
+Suggests: libplexus-component-api-java
+Description: API Documentation for plexus-component-api
+ 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.
+ .
+ While Plexus is similar to other inversion-of-control (IoC) or dependency
+ injection frameworks such as the Spring Framework, it is a full-fledged
+ container that supports many more features such as:
+ .
+     * Component lifecycles
+     * Component instantiation strategies
+     * Nested containers
+     * Component configuration
+     * Auto-wiring
+     * Component dependencies, and
+     * Various dependency injection techniques including constructor injection,
+       setter injection, and private field injection. 
+ .
+ This package contains the API documentation for plexus-component-api
--- plexus-component-api-1.0.0~alpha22.orig/debian/compat
+++ plexus-component-api-1.0.0~alpha22/debian/compat
@@ -0,0 +1 @@
+5
--- plexus-component-api-1.0.0~alpha22.orig/debian/libplexus-component-api-java.poms
+++ plexus-component-api-1.0.0~alpha22/debian/libplexus-component-api-java.poms
@@ -0,0 +1 @@
+pom.xml
