This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master-1.0 in repository plexus-containers.
commit 7555d504a36c6c9227f1e8e55713d0b38f5d02c4 Author: Torsten Werner <twer...@debian.org> Date: Sat Nov 29 16:55:19 2008 +0000 new package plexus-containers (replacing plexus-container-default) --- debian/build.properties | 6 ++ debian/build.xml | 24 +++++++ debian/changelog | 5 ++ debian/compat | 1 + debian/control | 64 ++++++++++++++++++ debian/copyright | 97 +++++++++++++++++++++++++++ debian/libplexus-containers-java-doc.doc-base | 9 +++ debian/orig-tar.sh | 16 +++++ debian/rules | 23 +++++++ debian/watch | 4 ++ 10 files changed, 249 insertions(+) diff --git a/debian/build.properties b/debian/build.properties new file mode 100644 index 0000000..e20961d --- /dev/null +++ b/debian/build.properties @@ -0,0 +1,6 @@ +classpath.compile=/usr/share/java/classworlds.jar:\ + /usr/share/java/plexus-utils.jar:\ + /usr/share/java/plexus-component-api.jar:\ + /usr/share/java/junit.jar +classpath.test= +javadoc.dir=build/api diff --git a/debian/build.xml b/debian/build.xml new file mode 100644 index 0000000..df7b7ed --- /dev/null +++ b/debian/build.xml @@ -0,0 +1,24 @@ +<?xml version="1.0"?> + +<project name="pkg-java" default="package" basedir=".."> + + <property file="debian/build.properties"/> + <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/> + <property name="maven.test.exclude" value="**/PlexusHierarchyTest.java"/> + <property name="maven.build.xml" value="/usr/share/maven-ant-helper/maven-build.xml"/> + + <target name="clean"> + <ant target="clean" antfile="${maven.build.xml}" dir="."/> + </target> + + <target name="package"> + <ant target="package" antfile="${maven.build.xml}" dir="."> + <property name="artifactId" value="${artfiactId}"/> + </ant> + <copy file="build/plexus-container-default-${version}.jar" tofile="build/plexus-container-default-1.0.jar"/> + </target> + + <target name="javadoc"> + <ant target="javadoc" antfile="${maven.build.xml}" dir="."/> + </target> +</project> diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..058d4bc --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +plexus-containers (1.0~beta2-1) unstable; urgency=low + + * Initial release. (Closes: #xxxxxx) + + -- Torsten Werner <twer...@debian.org> Sat, 29 Nov 2008 17:32:07 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..48fd046 --- /dev/null +++ b/debian/control @@ -0,0 +1,64 @@ +Source: plexus-containers +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> +Uploaders: Torsten Werner <twer...@debian.org> +Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3), ant-optional, default-jdk, + maven-ant-helper +Standards-Version: 3.8.0 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-containers +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-containers/ +Homepage: http://plexus.codehaus.org + +Package: libplexus-containers-java +Architecture: all +Conflicts: libplexus-containers-default-java +Replaces: libplexus-containers-default-java +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. + . + This package replaces the old packages libplexus-containers-default-java. + +Package: libplexus-containers-java-doc +Architecture: all +Section: doc +Suggests: libplexus-container-default-java +Conflicts: libplexus-containers-default-java-doc +Replaces: libplexus-containers-default-java-doc +Description: API Documentation for plexus-container-default + 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-containers. It + replaces the old packages libplexus-containers-default-java-doc. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3f7f446 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,97 @@ +This package was debianized by Torsten Werner<twer...@debian.org> +Sat Nov 29 17:33:45 CET 2008 + +plex-containers was downloaded from http://plexus.codehaus.org/ + +FIXME + +Upstream Authors: + Andrew Williams + Avalon Development Team + Ben Walding + Berin Loritsch + Bert van Brakel + Brett Porter + Dan Diephouse + Jason van Zyl + John Casey + Kenney Westerhof + Leo Sutic + Mark H. Wilkinson + Michal Maczka + Peter Donald + Ran Tene + Trygve Laugstl + + +There is one source file without a license header. This has been brought to +upstream's attention who have confirmed that they will add the license +information (see IRC log extract below): + + [Sat Apr 21 2007] [13:06:51] <paulcager> Source file for class + org.codehaus.plexus.component.configurator.converters.ComponentValueSetter + doesn't have any License information at + [Sat Apr 21 2007] [13:07:45] <paulcager> the top. I'm packaging it for Debian, + and I wondered if anyone could add the appropriate license block? + [Sat Apr 21 2007] [13:22:22] <cobalt-60> kenney, your name is there, + and it looks it all your fault :) + [Sat Apr 21 2007] [15:19:52] <trygvis> paulcager: I'll take care of it .. + was supposed to do it, but got busy + +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 b...@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. + diff --git a/debian/libplexus-containers-java-doc.doc-base b/debian/libplexus-containers-java-doc.doc-base new file mode 100644 index 0000000..331ac0b --- /dev/null +++ b/debian/libplexus-containers-java-doc.doc-base @@ -0,0 +1,9 @@ +Document: libplexus-containers-java +Title: API Javadoc for plexus-containers +Author: plexus-containers developers +Abstract: This is the API Javadoc provided by the plexus-containers library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libplexus-containers-java/api/index.html +Files: /usr/share/doc/libplexus-containers-java/api/* diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100755 index 0000000..f20bf3f --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,16 @@ +#!/bin/sh -e + +TAR=../plexus-containers_$2.orig.tar.gz +DIR=plexus-containers-$2 +TAG=$(echo plexus-containers-$2 | sed 's,~\(alpha\|beta\),-\1-,') + +svn export http://svn.codehaus.org/plexus/plexus-containers/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 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..94e2a85 --- /dev/null +++ b/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 := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ') +VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed "s,Version: \(.*\)-.*,\1,g") +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := ant-nodeps junit +DEB_ANT_BUILD_TARGET := package javadoc +DEB_ANT_BUILDFILE := debian/build.xml +DEB_ANT_ARGS := -Dversion=$(VERSION) +API_DOCS := build/api + +get-orig-source: + uscan --force-download --rename + +binary-post-install/lib$(PACKAGE)-java:: + dh_install -plib$(PACKAGE)-java build/$(PACKAGE)-$(VERSION).jar usr/share/java + dh_link -plib$(PACKAGE)-java usr/share/java/$(PACKAGE)-$(VERSION).jar usr/share/java/$(PACKAGE).jar; + +binary-post-install/lib$(PACKAGE)-java-doc:: + dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(PACKAGE)-java diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..2da38e0 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=uversionmangle=s{-(alpha|beta)-}{~$1} \ + http://svn.codehaus.org/plexus/plexus-containers/tags/ \ + plexus-containers-(1\.0-.*)/ debian debian/orig-tar.sh -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-containers.git _______________________________________________ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits