[pkg-java] r8470 - in trunk/plexus-sec-dispatcher: . debian

Ludovic Claude ludovicc-guest at alioth.debian.org
Thu Jun 11 14:48:06 UTC 2009


Author: ludovicc-guest
Date: 2009-06-11 14:48:05 +0000 (Thu, 11 Jun 2009)
New Revision: 8470

Added:
   trunk/plexus-sec-dispatcher/debian/
   trunk/plexus-sec-dispatcher/debian/build.properties
   trunk/plexus-sec-dispatcher/debian/build.xml
   trunk/plexus-sec-dispatcher/debian/changelog
   trunk/plexus-sec-dispatcher/debian/compat
   trunk/plexus-sec-dispatcher/debian/components.xml
   trunk/plexus-sec-dispatcher/debian/control
   trunk/plexus-sec-dispatcher/debian/copyright
   trunk/plexus-sec-dispatcher/debian/libplexus-sec-dispatcher-java.poms
   trunk/plexus-sec-dispatcher/debian/maven.rules
   trunk/plexus-sec-dispatcher/debian/orig-tar.sh
   trunk/plexus-sec-dispatcher/debian/rules
   trunk/plexus-sec-dispatcher/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/plexus-sec-dispatcher/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/plexus-sec-dispatcher/debian/build.properties
===================================================================
--- trunk/plexus-sec-dispatcher/debian/build.properties	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/build.properties	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,10 @@
+javadoc.dir=build/api
+maven.test.skip=true
+# need to specify the classpath here otherwise there will be
+# a conflict with the modello task, because of plexus-container-default-alpha
+classpath.compile = \
+  /usr/share/java/classworlds:\
+  /usr/share/java/plexus-utils.jar:\
+  /usr/share/java/plexus-cipher.jar:\
+  /usr/share/java/plexus-container-default-alpha.jar
+

Added: trunk/plexus-sec-dispatcher/debian/build.xml
===================================================================
--- trunk/plexus-sec-dispatcher/debian/build.xml	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/build.xml	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,28 @@
+<?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.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="generate-sources">
+        <taskdef name="modello" classname="ModelloTask" classpath="/usr/share/java/maven-ant-helper.jar:/usr/share/java/modello-core.jar:/usr/share/java/modello-plugin-xml.jar:/usr/share/java/modello-plugin-xpp3.jar"/>
+        <modello model="src/main/mdo/settings-security.mdo" plugin="java" output="build/generated-sources" version="1.0.0"/>
+        <modello model="src/main/mdo/settings-security.mdo" plugin="xpp3-reader" output="build/generated-sources" version="1.0.0"/>
+        <modello model="src/main/mdo/settings-security.mdo" plugin="xpp3-writer" output="build/generated-sources" version="1.0.0"/>
+    </target>
+
+    <target name="package" depends="generate-sources">
+        <ant target="package" antfile="${maven.build.xml}" dir="" />
+    </target>
+
+    <target name="javadoc">
+        <ant target="javadoc" antfile="${maven.build.xml}" dir=""/>
+    </target>
+</project>
+

Added: trunk/plexus-sec-dispatcher/debian/changelog
===================================================================
--- trunk/plexus-sec-dispatcher/debian/changelog	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/changelog	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,5 @@
+plexus-sec-dispatcher (1.1-0ubuntu1~ppa8) jaunty; urgency=low
+
+  * Initial release. (Closes: #526589)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Sat, 02 May 2009 00:22:14 +0000

Added: trunk/plexus-sec-dispatcher/debian/compat
===================================================================
--- trunk/plexus-sec-dispatcher/debian/compat	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/compat	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1 @@
+6

Added: trunk/plexus-sec-dispatcher/debian/components.xml
===================================================================
--- trunk/plexus-sec-dispatcher/debian/components.xml	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/components.xml	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,22 @@
+<component-set>
+  <components>
+    <component>
+      <role>org.sonatype.plexus.components.sec.dispatcher.SecDispatcher</role>
+      <implementation>org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher</implementation>
+      <description></description>
+      <requirements>
+        <requirement>
+          <role>org.sonatype.plexus.components.cipher.PlexusCipher</role>
+          <field-name>_cipher</field-name>
+        </requirement>
+        <requirement>
+          <role>org.sonatype.plexus.components.sec.dispatcher.PasswordDecryptor</role>
+          <field-name>_decryptors</field-name>
+        </requirement>
+      </requirements>
+      <configuration>
+        <_configuration-file>~/.settings-security.xml</_configuration-file>
+      </configuration>
+    </component>
+  </components>
+</component-set>

Added: trunk/plexus-sec-dispatcher/debian/control
===================================================================
--- trunk/plexus-sec-dispatcher/debian/control	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/control	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,24 @@
+Source: plexus-sec-dispatcher
+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, default-jdk-builddep
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional, 
+ libmodello-java, 
+ libplexus-utils-java, libplexus-container-default-java, libplexus-cipher-java
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-sec-dispatcher
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/plexus-sec-dispatcher/
+Homepage: http://www.sonatype.org/
+
+Package: libplexus-sec-dispatcher-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-utils-java,
+ libplexus-container-default-java, libplexus-cipher-java
+Description: Plexus Security Dispatcher Component used by Maven
+ 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.
+

Added: trunk/plexus-sec-dispatcher/debian/copyright
===================================================================
--- trunk/plexus-sec-dispatcher/debian/copyright	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/copyright	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,16 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Plexus Security Dispatcher Component
+Maintainer: Sonatype
+Source: http://www.sonatype.org/
+
+Files: *
+Copyright: 2008, Sonatype Inc.
+License: Apache-2.0
+
+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'.

Added: trunk/plexus-sec-dispatcher/debian/libplexus-sec-dispatcher-java.poms
===================================================================
--- trunk/plexus-sec-dispatcher/debian/libplexus-sec-dispatcher-java.poms	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/libplexus-sec-dispatcher-java.poms	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1 @@
+pom.xml --no-parent

Added: trunk/plexus-sec-dispatcher/debian/maven.rules
===================================================================
--- trunk/plexus-sec-dispatcher/debian/maven.rules	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/maven.rules	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,2 @@
+org.codehaus.plexus plexus-container-default jar s/1\.0-alpha-.*/1.0-alpha/
+junit junit jar s/3\..*/3.x/

Added: trunk/plexus-sec-dispatcher/debian/orig-tar.sh
===================================================================
--- trunk/plexus-sec-dispatcher/debian/orig-tar.sh	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/orig-tar.sh	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../plexus-sec-dispatcher_$VERSION.orig.tar.gz
+DIR=plexus-sec-dispatcher-$VERSION
+TAG=$(echo "plexus-sec-dispatcher-$VERSION" | sed 's,~\(alpha\|beta\),-\1-,')
+
+svn export http://svn.sonatype.org/spice/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

Added: trunk/plexus-sec-dispatcher/debian/rules
===================================================================
--- trunk/plexus-sec-dispatcher/debian/rules	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/rules	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,27 @@
+#!/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
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+makebuilddir/lib$(PACKAGE)-java::
+	install -d src/main/resources/META-INF/plexus
+	install -m644 debian/components.xml src/main/resources/META-INF/plexus/
+
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l pom.xml build/$(PACKAGE)-$(VERSION).jar
+
+clean::
+	-rm -rf debian/tmp
+


Property changes on: trunk/plexus-sec-dispatcher/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/plexus-sec-dispatcher/debian/watch
===================================================================
--- trunk/plexus-sec-dispatcher/debian/watch	                        (rev 0)
+++ trunk/plexus-sec-dispatcher/debian/watch	2009-06-11 14:48:05 UTC (rev 8470)
@@ -0,0 +1,5 @@
+version=3
+opts="uversionmangle=s{-(alpha|beta)-}{~$1}" \
+  http://svn.sonatype.org/spice/tags/ \
+  plexus-sec-dispatcher-([0-9].*)/ debian debian/orig-tar.sh
+




More information about the pkg-java-commits mailing list