[pkg-java] r8425 - in trunk/maven-dependency-plugin: . debian debian/patches

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


Author: ludovicc-guest
Date: 2009-06-11 14:08:06 +0000 (Thu, 11 Jun 2009)
New Revision: 8425

Added:
   trunk/maven-dependency-plugin/debian/
   trunk/maven-dependency-plugin/debian/build.properties
   trunk/maven-dependency-plugin/debian/changelog
   trunk/maven-dependency-plugin/debian/compat
   trunk/maven-dependency-plugin/debian/control
   trunk/maven-dependency-plugin/debian/copyright
   trunk/maven-dependency-plugin/debian/libmaven-dependency-plugin-java.poms
   trunk/maven-dependency-plugin/debian/maven-settings.xml
   trunk/maven-dependency-plugin/debian/maven.rules
   trunk/maven-dependency-plugin/debian/orig-tar.sh
   trunk/maven-dependency-plugin/debian/patches/
   trunk/maven-dependency-plugin/debian/patches/artifact-filter-1.1.patch
   trunk/maven-dependency-plugin/debian/patches/series
   trunk/maven-dependency-plugin/debian/rules
   trunk/maven-dependency-plugin/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/maven-dependency-plugin/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/maven-dependency-plugin/debian/build.properties
===================================================================
--- trunk/maven-dependency-plugin/debian/build.properties	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/build.properties	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1,4 @@
+javadoc.dir=target/api
+build.directory=target
+maven.test.skip=true
+maven.generate.target=plugin:descriptor

Added: trunk/maven-dependency-plugin/debian/changelog
===================================================================
--- trunk/maven-dependency-plugin/debian/changelog	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/changelog	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1,6 @@
+maven-dependency-plugin (2.1-0ubuntu1~ppa2) jaunty; urgency=low
+
+  * Initial release. (Closes: #XXXX)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Sat, 06 Jun 2009 21:38:18 +0100
+

Added: trunk/maven-dependency-plugin/debian/compat
===================================================================
--- trunk/maven-dependency-plugin/debian/compat	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/compat	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1 @@
+6

Added: trunk/maven-dependency-plugin/debian/control
===================================================================
--- trunk/maven-dependency-plugin/debian/control	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/control	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1,42 @@
+Source: maven-dependency-plugin
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner at debian.org>
+Build-Depends: default-jdk, debhelper (>= 6), cdbs, quilt
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional,
+ junit, libmaven-plugin-tools-java, libplexus-velocity-java, velocity, libmaven-plugin-testing-java,
+ libplexus-archiver-java, libplexus-io-java, 
+ libplexus-utils-java, libplexus-container-default-java,
+ libmaven2-core-java, libmaven-file-management-java,
+ libmaven-dependency-analyzer-java, libmaven-dependency-tree-java, 
+ libmaven-common-artifact-filters-java, libmaven-reporting-impl-java
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-dependency-plugin
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-dependency-plugin/
+Homepage: http://maven.apache.org/plugins/maven-dependency-plugin/
+
+Package: libmaven-dependency-plugin-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-archiver-java, libplexus-io-java, 
+ libplexus-utils-java, libplexus-container-default-java,
+ libmaven2-core-java, libmaven-file-management-java,
+ libmaven-dependency-analyzer-java, libmaven-dependency-tree-java, 
+ libmaven-common-artifact-filters-java, libmaven-reporting-impl-java
+Description: Maven Dependency plugin
+ Maven is a software project management and comprehension tool. Based on the
+ concept of a project object model (POM), Maven can manage a project's build,
+ reporting and documentation from a central piece of information.
+ .
+ Maven's primary goal is to allow a developer to comprehend the complete
+ state of a development effort in the shortest period of time. In order to
+ attain this goal there are several areas of concern that Maven attempts
+ to deal with:
+ .
+    * Making the build process easy
+    * Providing a uniform build system
+    * Providing quality project information
+    * Providing guidelines for best practices development
+    * Allowing transparent migration to new features
+ .
+ This plugin provides dependency manipulation (copy, unpack) and analysis.

Added: trunk/maven-dependency-plugin/debian/copyright
===================================================================
--- trunk/maven-dependency-plugin/debian/copyright	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/copyright	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1,22 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Maven Dependency Plugin
+Maintainer: Apache Maven team
+Source: http://maven.apache.org/
+
+Files: *
+Copyright: 2001-2009, The Apache Software Foundation.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2009, Ludovic Claude <ludovic.claude at laposte.net>
+License: GPL-3+
+
+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: GPL-3
+  On Debian GNU/Linux system you can find the complete text of the
+  GNU General Public License version 3 license in 
+  '/usr/share/common-licenses/GPL-3'.
+

Added: trunk/maven-dependency-plugin/debian/libmaven-dependency-plugin-java.poms
===================================================================
--- trunk/maven-dependency-plugin/debian/libmaven-dependency-plugin-java.poms	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/libmaven-dependency-plugin-java.poms	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1 @@
+pom.xml --no-parent

Added: trunk/maven-dependency-plugin/debian/maven-settings.xml
===================================================================
--- trunk/maven-dependency-plugin/debian/maven-settings.xml	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/maven-settings.xml	2009-06-11 14:08:06 UTC (rev 8425)
@@ -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/maven-dependency-plugin/debian/maven.rules
===================================================================
--- trunk/maven-dependency-plugin/debian/maven.rules	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/maven.rules	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1,4 @@
+# keep the version for all Maven plugins as versionless plugins don't work
+* * maven-plugin *
+org.codehaus.plexus plexus-container-default dependency s/1\.0-alpha.*/1.0-alpha/
+junit junit dependency s/3\..*/3.x/

Added: trunk/maven-dependency-plugin/debian/orig-tar.sh
===================================================================
--- trunk/maven-dependency-plugin/debian/orig-tar.sh	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/orig-tar.sh	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+TAR=../maven-dependency-plugin_$2.orig.tar.gz
+DIR=maven-dependency-plugin-$2
+TAG=maven-dependency-plugin-$2
+
+svn export http://svn.apache.org/repos/asf/maven/plugins/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/maven-dependency-plugin/debian/patches/artifact-filter-1.1.patch
===================================================================
--- trunk/maven-dependency-plugin/debian/patches/artifact-filter-1.1.patch	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/patches/artifact-filter-1.1.patch	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1,20 @@
+--- a/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java
++++ b/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java
+@@ -36,7 +36,7 @@
+ import org.apache.maven.shared.artifact.filter.collection.FilterArtifacts;
+ import org.apache.maven.shared.artifact.filter.collection.GroupIdFilter;
+ import org.apache.maven.shared.artifact.filter.collection.ScopeFilter;
+-import org.apache.maven.shared.artifact.filter.collection.TransitivityFilter;
++import org.apache.maven.shared.artifact.filter.collection.ProjectTransitivityFilter;
+ import org.apache.maven.shared.artifact.filter.collection.TypeFilter;
+ import org.codehaus.plexus.util.StringUtils;
+ 
+@@ -243,7 +243,7 @@
+         // add filters in well known order, least specific to most specific
+         FilterArtifacts filter = new FilterArtifacts();
+ 
+-        filter.addFilter( new TransitivityFilter( project.getDependencyArtifacts(), this.excludeTransitive ) );
++        filter.addFilter( new ProjectTransitivityFilter( project.getDependencyArtifacts(), this.excludeTransitive ) );
+         filter.addFilter( new ScopeFilter( this.includeScope, this.excludeScope ) );
+         filter.addFilter( new TypeFilter( this.includeTypes, this.excludeTypes ) );
+         filter.addFilter( new ClassifierFilter( this.includeClassifiers, this.excludeClassifiers ) );

Added: trunk/maven-dependency-plugin/debian/patches/series
===================================================================
--- trunk/maven-dependency-plugin/debian/patches/series	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/patches/series	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1 @@
+artifact-filter-1.1.patch

Added: trunk/maven-dependency-plugin/debian/rules
===================================================================
--- trunk/maven-dependency-plugin/debian/rules	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/rules	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1,27 @@
+#!/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 maven-core maven-model maven-plugin-api maven-project maven-artifact maven-artifact-manager \
+  maven-archiver maven-filtering maven-dependency-analyzer maven-dependency-tree maven-reporting-api maven-reporting-impl \
+  maven-common-artifact-filters doxia-core doxia-logging-api doxia-sink-api doxia-site-renderer \
+  plexus-archiver plexus-io plexus-utils plexus-container-default-alpha
+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/maven-dependency-plugin/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/maven-dependency-plugin/debian/watch
===================================================================
--- trunk/maven-dependency-plugin/debian/watch	                        (rev 0)
+++ trunk/maven-dependency-plugin/debian/watch	2009-06-11 14:08:06 UTC (rev 8425)
@@ -0,0 +1,3 @@
+version=3
+http://svn.apache.org/repos/asf/maven/plugins/tags/ \
+  maven-dependency-plugin-(.*)/ debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list