Author: twerner
Date: 2008-11-29 16:55:19 +0000 (Sat, 29 Nov 2008)
New Revision: 7459

Added:
   trunk/plexus-containers/
   trunk/plexus-containers/debian/
   trunk/plexus-containers/debian/build.properties
   trunk/plexus-containers/debian/build.xml
   trunk/plexus-containers/debian/changelog
   trunk/plexus-containers/debian/compat
   trunk/plexus-containers/debian/control
   trunk/plexus-containers/debian/copyright
   trunk/plexus-containers/debian/libplexus-containers-java-doc.doc-base
   trunk/plexus-containers/debian/orig-tar.sh
   trunk/plexus-containers/debian/rules
   trunk/plexus-containers/debian/watch
Log:
new package plexus-containers (replacing plexus-container-default)


Added: trunk/plexus-containers/debian/build.properties
===================================================================
--- trunk/plexus-containers/debian/build.properties                             
(rev 0)
+++ trunk/plexus-containers/debian/build.properties     2008-11-29 16:55:19 UTC 
(rev 7459)
@@ -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

Added: trunk/plexus-containers/debian/build.xml
===================================================================
--- trunk/plexus-containers/debian/build.xml                            (rev 0)
+++ trunk/plexus-containers/debian/build.xml    2008-11-29 16:55:19 UTC (rev 
7459)
@@ -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>

Added: trunk/plexus-containers/debian/changelog
===================================================================
--- trunk/plexus-containers/debian/changelog                            (rev 0)
+++ trunk/plexus-containers/debian/changelog    2008-11-29 16:55:19 UTC (rev 
7459)
@@ -0,0 +1,5 @@
+plexus-containers (1.0~beta2-1) unstable; urgency=low
+
+  * Initial release. (Closes: #xxxxxx)
+
+ -- Torsten Werner <[EMAIL PROTECTED]>  Sat, 29 Nov 2008 17:32:07 +0100

Added: trunk/plexus-containers/debian/compat
===================================================================
--- trunk/plexus-containers/debian/compat                               (rev 0)
+++ trunk/plexus-containers/debian/compat       2008-11-29 16:55:19 UTC (rev 
7459)
@@ -0,0 +1 @@
+5

Added: trunk/plexus-containers/debian/control
===================================================================
--- trunk/plexus-containers/debian/control                              (rev 0)
+++ trunk/plexus-containers/debian/control      2008-11-29 16:55:19 UTC (rev 
7459)
@@ -0,0 +1,64 @@
+Source: plexus-containers
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <[EMAIL PROTECTED]>
+Uploaders: Torsten Werner <[EMAIL PROTECTED]>
+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.

Added: trunk/plexus-containers/debian/copyright
===================================================================
--- trunk/plexus-containers/debian/copyright                            (rev 0)
+++ trunk/plexus-containers/debian/copyright    2008-11-29 16:55:19 UTC (rev 
7459)
@@ -0,0 +1,97 @@
+This package was debianized by Torsten Werner<[EMAIL PROTECTED]>
+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 [EMAIL PROTECTED]
+
+       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.
+

Added: trunk/plexus-containers/debian/libplexus-containers-java-doc.doc-base
===================================================================
--- trunk/plexus-containers/debian/libplexus-containers-java-doc.doc-base       
                        (rev 0)
+++ trunk/plexus-containers/debian/libplexus-containers-java-doc.doc-base       
2008-11-29 16:55:19 UTC (rev 7459)
@@ -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/*

Added: trunk/plexus-containers/debian/orig-tar.sh
===================================================================
--- trunk/plexus-containers/debian/orig-tar.sh                          (rev 0)
+++ trunk/plexus-containers/debian/orig-tar.sh  2008-11-29 16:55:19 UTC (rev 
7459)
@@ -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


Property changes on: trunk/plexus-containers/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/plexus-containers/debian/rules
===================================================================
--- trunk/plexus-containers/debian/rules                                (rev 0)
+++ trunk/plexus-containers/debian/rules        2008-11-29 16:55:19 UTC (rev 
7459)
@@ -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


Property changes on: trunk/plexus-containers/debian/rules
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/plexus-containers/debian/watch
===================================================================
--- trunk/plexus-containers/debian/watch                                (rev 0)
+++ trunk/plexus-containers/debian/watch        2008-11-29 16:55:19 UTC (rev 
7459)
@@ -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


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

Reply via email to