[maven-assembly-plugin] 03/28: [svn-inject] Applying Debian modifications to trunk

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Nov 2 13:46:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository maven-assembly-plugin.

commit dc03d23b11b624ecdfd63b3912ec3e932d939b99
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date:   Wed Aug 5 21:08:33 2009 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 .debianVersion                            |  1 +
 debian/README.source                      |  9 +++++++
 debian/changelog                          |  5 ++++
 debian/compat                             |  1 +
 debian/control                            | 42 +++++++++++++++++++++++++++++++
 debian/copyright                          | 20 +++++++++++++++
 debian/libmaven-assembly-plugin-java.poms |  1 +
 debian/maven.ignoreRules                  |  1 +
 debian/maven.properties                   |  1 +
 debian/maven.rules                        |  2 ++
 debian/orig-tar.sh                        | 16 ++++++++++++
 debian/patches/descriptors.patch          | 26 +++++++++++++++++++
 debian/patches/series                     |  1 +
 debian/rules                              | 11 ++++++++
 debian/watch                              |  4 +++
 15 files changed, 141 insertions(+)

diff --git a/.debianVersion b/.debianVersion
new file mode 100644
index 0000000..5e5fdc3
--- /dev/null
+++ b/.debianVersion
@@ -0,0 +1 @@
+2.2~beta4-SNAPSHOT-1
\ No newline at end of file
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..84cb514
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about maven-assembly-plugin
+------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..76f7eef
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+maven-assembly-plugin (2.2~beta4-0ubuntu1~ppa4) karmic; urgency=low
+
+  * Initial version (closes: #518340)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Tue, 30 Jun 2009 17:22:48 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3f8ea74
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: maven-assembly-plugin
+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 (>= 7), cdbs, default-jdk, maven-debian-helper, quilt
+Build-Depends-Indep: libmaven-invoker-plugin-java (>= 1.3), libmaven-plugin-tools-java (>= 2.5),  
+ libmodello-maven-plugin-java (>= 1.0.1), libplexus-maven-plugin-java (>= 1.3.8),  
+ libmaven-archiver-java, libmaven-common-artifact-filters-java, libmaven-file-management-java,  
+ libmaven-repository-builder-java, libmaven-shared-io-java, libmaven2-core-java,  
+ libplexus-active-collections-java, libplexus-archiver-java, libplexus-container-default-java,  
+ libplexus-interpolation-java, libplexus-io-java, libplexus-utils-java, 
+ libmaven-plugin-testing-java
+Standards-Version: 3.8.2
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-assembly-plugin
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-assembly-plugin/
+Homepage: http://maven.apache.org/plugins/maven-assembly-plugin/
+
+Package: libmaven-assembly-plugin-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Description: Maven Assembly 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
+ .
+ The Maven Assembly plugin is used to create archives of your project's
+ sources, classes, dependencies etc. from flexible assembly descriptors.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fffc34b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,20 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Maven Assembly 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: 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
+  GPL-3 license in '/usr/share/common-licenses/GPL-3'
diff --git a/debian/libmaven-assembly-plugin-java.poms b/debian/libmaven-assembly-plugin-java.poms
new file mode 100644
index 0000000..43e746b
--- /dev/null
+++ b/debian/libmaven-assembly-plugin-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..22a776e
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1 @@
+* * * * test
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..d2f1b82
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1 @@
+maven.test.skip=true
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..afd7c91
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+org.codehaus.modello modello-maven-plugin maven-plugin s/.*/1.0.1/
+org.codehaus.plexus plexus-container-default jar s/1\.0-alpha.*/1.0-alpha/
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..78fc5cc
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../maven-assembly-plugin_$VERSION.orig.tar.gz
+DIR=maven-assembly-plugin-$VERSION
+TAG=$(echo "maven-assembly-plugin-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
+
+svn export http://svn.apache.org/repos/asf/maven/plugins/tags/${TAG} $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $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/patches/descriptors.patch b/debian/patches/descriptors.patch
new file mode 100644
index 0000000..715e44f
--- /dev/null
+++ b/debian/patches/descriptors.patch
@@ -0,0 +1,26 @@
+--- a/src/main/java/org/apache/maven/plugin/assembly/mojos/AbstractAssemblyMojo.java
++++ b/src/main/java/org/apache/maven/plugin/assembly/mojos/AbstractAssemblyMojo.java
+@@ -207,7 +207,7 @@
+     /**
+      * Maven ProjectHelper.
+      *
+-     * @component
++     * @component role="org.apache.maven.project.MavenProjectHelper"
+      */
+     private MavenProjectHelper projectHelper;
+     
+@@ -281,12 +281,12 @@
+     private boolean attach;
+ 
+     /**
+-     * @component
++     * @component role="org.apache.maven.plugin.assembly.archive.AssemblyArchiver"
+      */
+     private AssemblyArchiver assemblyArchiver;
+ 
+     /**
+-     * @component
++     * @component role="org.apache.maven.plugin.assembly.io.AssemblyReader"
+      */
+     private AssemblyReader assemblyReader;
+     
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3967a53
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+descriptors.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..21f68b5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_PATCHPOMS_ARGS := --ignore-rules=debian/maven.ignoreRules
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..44e1ee8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
+  http://svn.apache.org/repos/asf/maven/plugins/tags/ \
+  maven-assembly-plugin-(\d.*)/ debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-assembly-plugin.git



More information about the pkg-java-commits mailing list