[maven-ear-plugin] 02/17: [svn-inject] Applying Debian modifications to trunk

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Dec 9 14:09:46 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-ear-plugin.

commit ca6d3e258bbc45f282b477b19194fc6f6f33d853
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date:   Wed Aug 5 21:34:19 2009 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 debian/README.source                 |  9 +++++++++
 debian/changelog                     |  5 +++++
 debian/compat                        |  1 +
 debian/control                       | 37 ++++++++++++++++++++++++++++++++++++
 debian/copyright                     | 20 +++++++++++++++++++
 debian/libmaven-ear-plugin-java.poms |  1 +
 debian/maven.properties              |  1 +
 debian/maven.rules                   |  1 +
 debian/orig-tar.sh                   | 16 ++++++++++++++++
 debian/patches/descriptor.patch      | 19 ++++++++++++++++++
 debian/patches/series                |  1 +
 debian/rules                         | 10 ++++++++++
 debian/watch                         |  4 ++++
 13 files changed, 125 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..9dbb4aa
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about maven-ear-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..fd1264d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+maven-ear-plugin (2.3.2-0ubuntu1~ppa5) karmic; urgency=low
+
+  * Initial release (Closes: #540056)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Wed, 29 Jul 2009 13:12:13 +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..30cf303
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: maven-ear-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-antrun-plugin-java (>= 1.3), libmaven-invoker-plugin-java (>= 1.3),  
+ libsurefire-java (>= 2.4.3), libmaven-archiver-java, libmaven-filtering-java,  
+ libmaven2-core-java, libplexus-utils-java, libmaven-verifier-java, libxmlunit-java
+Standards-Version: 3.8.2
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-ear-plugin
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-ear-plugin/
+Homepage: http://maven.apache.org/plugins/maven-ear-plugin/
+
+Package: libmaven-ear-plugin-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Description: Maven EAR 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 EAR plugin generates a J2EE Enterprise Archive (EAR) file.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f1388d5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,20 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Maven EAR 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-ear-plugin-java.poms b/debian/libmaven-ear-plugin-java.poms
new file mode 100644
index 0000000..43e746b
--- /dev/null
+++ b/debian/libmaven-ear-plugin-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
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..a797720
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+org.apache.maven.plugins maven-surefire-plugin maven-plugin s/.*/2.4.3/
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..fb294f3
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../maven-ear-plugin_$VERSION.orig.tar.gz
+DIR=maven-ear-plugin-$VERSION
+TAG=$(echo "maven-ear-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/descriptor.patch b/debian/patches/descriptor.patch
new file mode 100644
index 0000000..6252126
--- /dev/null
+++ b/debian/patches/descriptor.patch
@@ -0,0 +1,19 @@
+--- a/src/main/java/org/apache/maven/plugin/ear/EarMojo.java
++++ b/src/main/java/org/apache/maven/plugin/ear/EarMojo.java
+@@ -196,14 +196,14 @@
+     private MavenArchiveConfiguration archive = new MavenArchiveConfiguration();
+ 
+     /**
+-     * @component
++     * @component role="org.apache.maven.project.MavenProjectHelper"
+      */
+     private MavenProjectHelper projectHelper;
+ 
+     /**
+      * The archive manager.
+      *
+-     * @component
++     * @component role="org.codehaus.plexus.archiver.manager.ArchiverManager"
+      */
+     private ArchiverManager archiverManager;
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..28fd584
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+descriptor.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dd3501d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/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
+
+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..1bb8b40
--- /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-ear-plugin-(\d.*)/ debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list