[pkg-java] r8467 - in trunk/plexus-component-metadata: . debian debian/patches
Ludovic Claude
ludovicc-guest at alioth.debian.org
Thu Jun 11 14:46:49 UTC 2009
Author: ludovicc-guest
Date: 2009-06-11 14:46:47 +0000 (Thu, 11 Jun 2009)
New Revision: 8467
Added:
trunk/plexus-component-metadata/debian/
trunk/plexus-component-metadata/debian/README.Debian
trunk/plexus-component-metadata/debian/build.properties
trunk/plexus-component-metadata/debian/changelog
trunk/plexus-component-metadata/debian/compat
trunk/plexus-component-metadata/debian/control
trunk/plexus-component-metadata/debian/copyright
trunk/plexus-component-metadata/debian/libplexus-component-metadata-java.poms
trunk/plexus-component-metadata/debian/maven-settings.xml
trunk/plexus-component-metadata/debian/maven.rules
trunk/plexus-component-metadata/debian/orig-tar.sh
trunk/plexus-component-metadata/debian/patches/
trunk/plexus-component-metadata/debian/patches/qdox1_9.patch
trunk/plexus-component-metadata/debian/patches/series
trunk/plexus-component-metadata/debian/rules
trunk/plexus-component-metadata/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: trunk/plexus-component-metadata/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: trunk/plexus-component-metadata/debian/README.Debian
===================================================================
--- trunk/plexus-component-metadata/debian/README.Debian (rev 0)
+++ trunk/plexus-component-metadata/debian/README.Debian 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,8 @@
+This package installs versioned jar files into /usr/share/java/ and some
+less versioned symlinks:
+
+component-api-1.0.jar
+container-default-1.0.jar
+
+The unversioned symlinks are already used by other packages with older
+upstream releases of the jars and they might be installed in parallel.
Added: trunk/plexus-component-metadata/debian/build.properties
===================================================================
--- trunk/plexus-component-metadata/debian/build.properties (rev 0)
+++ trunk/plexus-component-metadata/debian/build.properties 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,5 @@
+javadoc.dir=target/api
+build.javaVersion=1.5
+build.directory=target
+maven.test.skip=true
+maven.generate.target=plugin:descriptor
Added: trunk/plexus-component-metadata/debian/changelog
===================================================================
--- trunk/plexus-component-metadata/debian/changelog (rev 0)
+++ trunk/plexus-component-metadata/debian/changelog 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,6 @@
+plexus-component-metadata (1.0~beta3.0.7-0ubuntu1~ppa7) jaunty; urgency=low
+
+ * Initial release. (Closes: #XXXX)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Mon, 18 May 2009 16:12:14 +0000
+
Added: trunk/plexus-component-metadata/debian/compat
===================================================================
--- trunk/plexus-component-metadata/debian/compat (rev 0)
+++ trunk/plexus-component-metadata/debian/compat 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1 @@
+6
Added: trunk/plexus-component-metadata/debian/control
===================================================================
--- trunk/plexus-component-metadata/debian/control (rev 0)
+++ trunk/plexus-component-metadata/debian/control 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,39 @@
+Source: plexus-component-metadata
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: debhelper (>= 6), cdbs (>= 0.4.5.3), default-jdk, quilt
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional,
+ junit, libmaven-plugin-tools-java, libplexus-velocity-java, velocity,
+ libplexus-containers-java, libplexus-utils-java, libqdox-java,
+ libjdom1-java, libmaven2-core-java, libplexus-cli-java, libcommons-cli-java, libasm3-java
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-component-metadata
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-component-metadata/
+Homepage: http://plexus.codehaus.org
+
+Package: libplexus-component-metadata-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-containers-java, libplexus-utils-java, libqdox-java,
+ libjdom1-java, libmaven2-core-java, libplexus-cli-java, libcommons-cli-java, libasm3-java
+Description: Component Metadata Maven plugin for Plexus
+ 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 component-metadata
+ * Component configuration
+ * Auto-wiring
+ * Component dependencies, and
+ * Various dependency injection techniques including constructor injection,
+ setter injection, and private field injection.
+ .
+ This package provides the Maven plugin generating the component metadata.
Added: trunk/plexus-component-metadata/debian/copyright
===================================================================
--- trunk/plexus-component-metadata/debian/copyright (rev 0)
+++ trunk/plexus-component-metadata/debian/copyright 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,40 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Plexus Component Metadata
+Maintainer: Codehaus Foundation
+Source: http://plexus.codehaus.org/
+
+Files: *
+Copyright: 2001-2008, Codehaus Foundation
+License: Apache-2.0
+
+Files: src/test/java/org/codehaus/plexus/metadata/merge/*, src/main/java/org/codehaus/plexus/metadata/merge/*, src/main/java/org/codehaus/plexus/metadata/gleaner/ComponentGleanerException.java, src/main/java/org/codehaus/plexus/metadata/gleaner/QDoxComponentGleaner.java, src/main/java/org/codehaus/plexus/metadata/DefaultComponentDescriptorWriter.java, src/main/java/org/codehaus/plexus/metadata/DefaultMetadataGenerator.java, src/main/java/org/codehaus/plexus/metadata/ComponentDescriptorWriteException.java, src/main/java/org/codehaus/plexus/metadata/ComponentDescriptorWriter.java, src/main/java/org/codehaus/plexus/maven/plugin/*
+Copyright: 2001-2008, Codehaus Foundation
+License: MIT
+
+Files: debian/*
+Copyright: 2009, Ludovic Claude <ludovic.claude at 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'.
+
+License: MIT
+ 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.
+
Added: trunk/plexus-component-metadata/debian/libplexus-component-metadata-java.poms
===================================================================
--- trunk/plexus-component-metadata/debian/libplexus-component-metadata-java.poms (rev 0)
+++ trunk/plexus-component-metadata/debian/libplexus-component-metadata-java.poms 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,2 @@
+pom.xml
+
Added: trunk/plexus-component-metadata/debian/maven-settings.xml
===================================================================
--- trunk/plexus-component-metadata/debian/maven-settings.xml (rev 0)
+++ trunk/plexus-component-metadata/debian/maven-settings.xml 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,9 @@
+<!--
+ This is a minimal settings.xml that switches maven to offline mode
+ and uses the Debian repo as the local repo.
+-->
+
+<settings>
+ <localRepository>/usr/share/maven-repo</localRepository>
+ <offline>true</offline>
+</settings>
Added: trunk/plexus-component-metadata/debian/maven.rules
===================================================================
--- trunk/plexus-component-metadata/debian/maven.rules (rev 0)
+++ trunk/plexus-component-metadata/debian/maven.rules 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,4 @@
+asm * * s/3\..*/3.x/
+junit junit jar s/3\..*/3.x/
+s/jdom/org.jdom/ jdom jar s/1\..*/debian/
+
Added: trunk/plexus-component-metadata/debian/orig-tar.sh
===================================================================
--- trunk/plexus-component-metadata/debian/orig-tar.sh (rev 0)
+++ trunk/plexus-component-metadata/debian/orig-tar.sh 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+TAR=../plexus-component-metadata_$2.orig.tar.gz
+DIR=plexus-component-metadata-$2
+TAG=$(echo plexus-containers-$2 | sed 's/~\(alpha\|beta\)/-\1-/')
+
+svn export http://svn.codehaus.org/plexus/plexus-containers/tags/$TAG/plexus-component-metadata $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
Added: trunk/plexus-component-metadata/debian/patches/qdox1_9.patch
===================================================================
--- trunk/plexus-component-metadata/debian/patches/qdox1_9.patch (rev 0)
+++ trunk/plexus-component-metadata/debian/patches/qdox1_9.patch 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,39 @@
+--- a/src/main/java/org/codehaus/plexus/metadata/gleaner/QDoxComponentGleaner.java
++++ b/src/main/java/org/codehaus/plexus/metadata/gleaner/QDoxComponentGleaner.java
+@@ -268,7 +268,7 @@
+
+ String fqn = ifc.getFullyQualifiedName();
+
+- String pkg = ifc.getPackage();
++ String pkg = ifc.getPackage().getName();
+
+ if ( pkg == null )
+ {
+@@ -286,7 +286,7 @@
+ // prepend the gleaned class' package
+ // -----------------------------------------------------------------------
+
+- pkg = javaClass.getPackage();
++ pkg = javaClass.getPackage().getName();
+
+ fqn = pkg + "." + fqn;
+ }
+@@ -444,9 +444,9 @@
+
+ JavaClass roleClass = classCache.getClassByName( role );
+
+- if ( role.indexOf( '.' ) == -1 && StringUtils.isEmpty( roleClass.getPackage() ) )
++ if ( role.indexOf( '.' ) == -1 && StringUtils.isEmpty( roleClass.getPackage().getName() ) )
+ {
+- role = javaClass.getPackage() + "." + roleClass.getName();
++ role = javaClass.getPackage().getName() + "." + roleClass.getName();
+ }
+
+ cr.setRole( role );
+@@ -547,4 +547,4 @@
+
+ return value;
+ }
+-}
+\ No newline at end of file
++}
Added: trunk/plexus-component-metadata/debian/patches/series
===================================================================
--- trunk/plexus-component-metadata/debian/patches/series (rev 0)
+++ trunk/plexus-component-metadata/debian/patches/series 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1 @@
+qdox1_9.patch
Added: trunk/plexus-component-metadata/debian/rules
===================================================================
--- trunk/plexus-component-metadata/debian/rules (rev 0)
+++ trunk/plexus-component-metadata/debian/rules 2009-06-11 14:46:47 UTC (rev 8467)
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_JARS := ant-nodeps plexus-container-default plexus-component-annotations plexus-classworlds plexus-utils \
+ maven-core maven-plugin-api maven-project maven-model maven-artifact maven-artifact-manager \
+ qdox jdom1 plexus-cli commons-cli asm3 asm3-core
+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 := target/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 target/$(PACKAGE)-$(VERSION).jar
+
+clean::
+ -rm -rf debian/tmp
Property changes on: trunk/plexus-component-metadata/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/plexus-component-metadata/debian/watch
===================================================================
--- trunk/plexus-component-metadata/debian/watch (rev 0)
+++ trunk/plexus-component-metadata/debian/watch 2009-06-11 14:46:47 UTC (rev 8467)
@@ -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
More information about the pkg-java-commits
mailing list