[pkg-java] r17149 - in trunk: . maven-source-plugin maven-source-plugin/2.0.x maven-source-plugin/2.0.x/debian maven-source-plugin/2.0.x/debian/source

Steffen Möller moeller at alioth.debian.org
Fri Aug 16 09:02:47 UTC 2013


Author: moeller
Date: 2013-08-16 09:02:46 +0000 (Fri, 16 Aug 2013)
New Revision: 17149

Added:
   trunk/maven-source-plugin/
   trunk/maven-source-plugin/2.0.x/
   trunk/maven-source-plugin/2.0.x/debian/
   trunk/maven-source-plugin/2.0.x/debian/README.source
   trunk/maven-source-plugin/2.0.x/debian/TODO
   trunk/maven-source-plugin/2.0.x/debian/changelog
   trunk/maven-source-plugin/2.0.x/debian/compat
   trunk/maven-source-plugin/2.0.x/debian/control
   trunk/maven-source-plugin/2.0.x/debian/copyright
   trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java-doc.doc-base.api
   trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java-doc.install
   trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java.poms
   trunk/maven-source-plugin/2.0.x/debian/maven.cleanIgnoreRules
   trunk/maven-source-plugin/2.0.x/debian/maven.ignoreRules
   trunk/maven-source-plugin/2.0.x/debian/maven.properties
   trunk/maven-source-plugin/2.0.x/debian/maven.publishedRules
   trunk/maven-source-plugin/2.0.x/debian/maven.rules
   trunk/maven-source-plugin/2.0.x/debian/orig-tar.sh
   trunk/maven-source-plugin/2.0.x/debian/rules
   trunk/maven-source-plugin/2.0.x/debian/source/
   trunk/maven-source-plugin/2.0.x/debian/source/format
   trunk/maven-source-plugin/2.0.x/debian/watch
Log:
Adapted work by Thomas Koch for earlier 2.0 version,
which is what I needed and may be of some help also
for others.  Please ping me with suggestions about
how to proceed.



Property changes on: trunk/maven-source-plugin/2.0.x/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/maven-source-plugin/2.0.x/debian/README.source
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/README.source	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/README.source	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,7 @@
+This package was downloaded via
+
+svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-source-plugin-2.0.x
+
+and tar-ed after removing two .cvsignore files.
+
+ -- Thomas Koch <thomas at koch.ro>, Wed, 31 Oct 2012 15:37:37 +0100

Added: trunk/maven-source-plugin/2.0.x/debian/TODO
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/TODO	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/TODO	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1 @@
+The packaging needs a link in /usr/share/java, still. Also, the 'debian' version is missing.

Added: trunk/maven-source-plugin/2.0.x/debian/changelog
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/changelog	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/changelog	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,8 @@
+maven-source-plugin (2.0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #691927)
+  * demoted to version 2.0 vs the current 2.2 because of build
+    dependency to maven-plugin-tools by Steffen Moeller.
+    - junit version 3 
+
+ -- Thomas Koch <thomas at koch.ro>  Wed, 31 Oct 2012 15:34:36 +0100

Added: trunk/maven-source-plugin/2.0.x/debian/compat
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/compat	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/compat	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1 @@
+9

Added: trunk/maven-source-plugin/2.0.x/debian/control
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/control	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/control	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,37 @@
+Source: maven-source-plugin
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Thomas Koch <thomas at koch.ro>
+Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5)
+Build-Depends-Indep: libmaven-plugin-tools-java, libmaven-archiver-java,
+ libmaven2-core-java,  libplexus-archiver-java, libplexus-utils-java,
+ junit, libmaven-plugin-testing-java, libmaven-plugin-tools-java,
+ default-jdk-doc,
+ libmaven-archiver-java-doc, libmaven2-core-java-doc,
+ libplexus-utils-java-doc, libmaven-javadoc-plugin-java,
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-java/maven-source-plugin.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/maven-source-plugin.git
+Homepage: http://maven.apache.org/plugins/maven-source-plugin
+
+Package: libmaven-source-plugin-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: libmaven-source-plugin-java-doc
+Description: Maven Source Plugin
+ The Maven 2 Source Plugin creates a JAR archive of the source files of
+ the current project.
+
+Package: libmaven-source-plugin-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${maven:DocDepends}
+Recommends: ${maven:DocOptionalDepends}
+Suggests: libmaven-source-plugin-java
+Description: Documentation for Maven Source Plugin
+ The Maven 2 Source Plugin creates a JAR archive of the source files of
+ the current project.
+ .
+ This package contains the API documentation of libmaven-source-plugin-java.

Added: trunk/maven-source-plugin/2.0.x/debian/copyright
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/copyright	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/copyright	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,17 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: Maven Source Plugin
+Source: http://maven.apache.org/plugins/maven-source-plugin
+
+Files: *
+Copyright: 2012, The Apache Software Foundation
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2012, Thomas Koch <thomas at koch.ro>
+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/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java-doc.doc-base.api
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java-doc.doc-base.api	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java-doc.doc-base.api	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,10 @@
+Document: libmaven-source-plugin-java
+Title: API Javadoc for Maven Source Plugin
+Author: Maven Source Plugin developers
+Abstract: This is the API Javadoc provided for the
+ libmaven-source-plugin-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libmaven-source-plugin-java/api/index.html
+Files: /usr/share/doc/libmaven-source-plugin-java/api/*

Added: trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java-doc.install
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java-doc.install	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java-doc.install	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,2 @@
+target/site/apidocs/* usr/share/doc/libmaven-source-plugin-java/api
+

Added: trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java.poms
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java.poms	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/libmaven-source-plugin-java.poms	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+pom.xml --no-parent --has-package-version

Added: trunk/maven-source-plugin/2.0.x/debian/maven.cleanIgnoreRules
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/maven.cleanIgnoreRules	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/maven.cleanIgnoreRules	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1 @@
+

Added: trunk/maven-source-plugin/2.0.x/debian/maven.ignoreRules
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/maven.ignoreRules	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/maven.ignoreRules	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1 @@
+

Added: trunk/maven-source-plugin/2.0.x/debian/maven.properties
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/maven.properties	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/maven.properties	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,4 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+maven.test.skip=true
+

Added: trunk/maven-source-plugin/2.0.x/debian/maven.publishedRules
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/maven.publishedRules	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/maven.publishedRules	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,2 @@
+
+junit junit jar s/3\..*/3.x/ * *

Added: trunk/maven-source-plugin/2.0.x/debian/maven.rules
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/maven.rules	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/maven.rules	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,6 @@
+
+junit junit jar s/3\..*/3.x/ * *
+s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness * s/.*/debian/ * *
+s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-tools * s/.*/debian/ * *
+s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing * s/.*/debian/ * *
+s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-test-tools * s/.*/debian/ * *

Added: trunk/maven-source-plugin/2.0.x/debian/orig-tar.sh
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/orig-tar.sh	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/orig-tar.sh	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../maven-source-plugin_$VERSION.orig.tar.gz
+DIR=maven-source-plugin-$VERSION
+TAG=$(echo "maven-source-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


Property changes on: trunk/maven-source-plugin/2.0.x/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/maven-source-plugin/2.0.x/debian/rules
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/rules	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/rules	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename


Property changes on: trunk/maven-source-plugin/2.0.x/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/maven-source-plugin/2.0.x/debian/source/format
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/source/format	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/source/format	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/maven-source-plugin/2.0.x/debian/watch
===================================================================
--- trunk/maven-source-plugin/2.0.x/debian/watch	                        (rev 0)
+++ trunk/maven-source-plugin/2.0.x/debian/watch	2013-08-16 09:02:46 UTC (rev 17149)
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
+  http://svn.apache.org/repos/asf/maven/plugins/tags/ \
+  maven-source-plugin-(2\.0\.\d.*)/ debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list