--- plexus-bsh-factory-1.0~alpha7.orig/debian/maven.rules
+++ plexus-bsh-factory-1.0~alpha7/debian/maven.rules
@@ -0,0 +1 @@
+s/bsh/org.beanshell/ bsh jar s/.*/debian/
--- plexus-bsh-factory-1.0~alpha7.orig/debian/copyright
+++ plexus-bsh-factory-1.0~alpha7/debian/copyright
@@ -0,0 +1,16 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Plexus Ant Factory
+Maintainer: Codehaus Foundation
+Source: http://plexus.codehaus.org/
+
+Files: *
+Copyright: 2001-2009, Codehaus Foundation.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2009, Ludovic Claude <ludovic.claude@laposte.net>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian GNU/Linux system you can find the complete text of the
+ Apache 2.0 license in '/usr/share/common-licenses/Apache-2.0'.
--- plexus-bsh-factory-1.0~alpha7.orig/debian/rules
+++ plexus-bsh-factory-1.0~alpha7/debian/rules
@@ -0,0 +1,23 @@
+#!/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-container-default-alpha classworlds plexus-utils bsh
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+
+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/plexus-bsh-factory-$(VERSION).jar
+
+clean::
+ -rm -rf debian/tmp
+
--- plexus-bsh-factory-1.0~alpha7.orig/debian/orig-tar.sh
+++ plexus-bsh-factory-1.0~alpha7/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../plexus-bsh-factory_$VERSION.orig.tar.gz
+DIR=plexus-bsh-factory-$VERSION
+TAG=$(echo "plexus-bsh-factory-$VERSION" | sed 's,~\(alpha\|beta\),-\1-,' | sed 's/alpha-7/alpha-7-SNAPSHOT/')
+
+svn export http://svn.codehaus.org/plexus/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-bsh-factory-1.0~alpha7.orig/debian/changelog
+++ plexus-bsh-factory-1.0~alpha7/debian/changelog
@@ -0,0 +1,11 @@
+plexus-bsh-factory (1.0~alpha7-2) unstable; urgency=low
+
+ * Switch to the new plexus-container package.
+
+ -- Torsten Werner <twerner@debian.org> Mon, 13 Jul 2009 21:22:01 +0200
+
+plexus-bsh-factory (1.0~alpha7-1) unstable; urgency=low
+
+ * Initial release. (Closes: #535021)
+
+ -- Ludovic Claude <ludovic.claude@laposte.net> Sat, 28 Mar 2009 22:01:14 +0000
--- plexus-bsh-factory-1.0~alpha7.orig/debian/libplexus-bsh-factory-java.poms
+++ plexus-bsh-factory-1.0~alpha7/debian/libplexus-bsh-factory-java.poms
@@ -0,0 +1,2 @@
+pom.xml --no-parent
+
--- plexus-bsh-factory-1.0~alpha7.orig/debian/watch
+++ plexus-bsh-factory-1.0~alpha7/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts="uversionmangle=s/alpha-7-SNAPSHOT/alpha-7/;s/-(alpha|beta)-/~$1/" \
+ http://svn.codehaus.org/plexus/tags/ \
+ plexus-bsh-factory-([0-9].*)/ debian debian/orig-tar.sh
+
--- plexus-bsh-factory-1.0~alpha7.orig/debian/control
+++ plexus-bsh-factory-1.0~alpha7/debian/control
@@ -0,0 +1,22 @@
+Source: plexus-bsh-factory
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude@laposte.net>
+Build-Depends: debhelper (>= 6), cdbs, default-jdk
+Build-Depends-Indep: maven-ant-helper (>> 4), maven-repo-helper, ant, ant-optional, libplexus-container-default-java, bsh
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-bsh-factory
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-bsh-factory/
+Homepage: http://plexus.codehaus.org/
+
+Package: libplexus-bsh-factory-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-container-default-java, bsh
+Description: Plexus Beanshell Factory
+ 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 a factory for instantiating BeanShell with Plexus.
--- plexus-bsh-factory-1.0~alpha7.orig/debian/compat
+++ plexus-bsh-factory-1.0~alpha7/debian/compat
@@ -0,0 +1 @@
+6
--- plexus-bsh-factory-1.0~alpha7.orig/debian/build.properties
+++ plexus-bsh-factory-1.0~alpha7/debian/build.properties
@@ -0,0 +1,2 @@
+javadoc.dir=build/api
+maven.test.skip=true