[pkg-java] r18992 - in tags/plexus-containers: . 1.0~beta3.0.7-8/debian

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Feb 12 10:04:18 GMT 2016


Author: ebourg-guest
Date: 2016-02-12 10:04:17 +0000 (Fri, 12 Feb 2016)
New Revision: 18992

Added:
   tags/plexus-containers/1.0~beta3.0.7-8/
   tags/plexus-containers/1.0~beta3.0.7-8/debian/build.xml
   tags/plexus-containers/1.0~beta3.0.7-8/debian/changelog
   tags/plexus-containers/1.0~beta3.0.7-8/debian/compat
   tags/plexus-containers/1.0~beta3.0.7-8/debian/control
   tags/plexus-containers/1.0~beta3.0.7-8/debian/libplexus-containers-java.poms
   tags/plexus-containers/1.0~beta3.0.7-8/debian/rules
Removed:
   tags/plexus-containers/1.0~beta3.0.7-8/debian/build.xml
   tags/plexus-containers/1.0~beta3.0.7-8/debian/changelog
   tags/plexus-containers/1.0~beta3.0.7-8/debian/compat
   tags/plexus-containers/1.0~beta3.0.7-8/debian/control
   tags/plexus-containers/1.0~beta3.0.7-8/debian/libplexus-containers-java.poms
   tags/plexus-containers/1.0~beta3.0.7-8/debian/rules
Log:
[svn-buildpackage] Tagging plexus-containers 1.0~beta3.0.7-8

Deleted: tags/plexus-containers/1.0~beta3.0.7-8/debian/build.xml
===================================================================
--- trunk/plexus-containers/debian/build.xml	2016-02-11 15:51:26 UTC (rev 18986)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/build.xml	2016-02-12 10:04:17 UTC (rev 18992)
@@ -1,51 +0,0 @@
-<?xml version="1.0"?>
- 
-<project name="plexus-containers" default="package" basedir="..">
- 
-  <property file="debian/build.properties"/>
-  <property name="maven.build" value="/usr/share/maven-ant-helper/maven-build.xml"/>
-  <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
-
-  <macrodef name="cleanmodule">
-    <attribute name="dir"/>
-    <sequential>
-      <ant target="clean" antfile="${maven.build}" dir="@{dir}">
-        <property name="debian.dir" location="debian" />
-        <property name="project.dir" value="@{dir}" />
-      </ant>
-    </sequential>
-  </macrodef>
-
-  <macrodef name="packagemodule">
-    <attribute name="dir"/>
-    <sequential>
-      <ant target="package" antfile="${maven.build}" dir="@{dir}">
-        <property name="debian.dir" location="debian" />
-        <property name="project.dir" value="@{dir}" />
-      </ant>
-    </sequential>
-  </macrodef>
-
-  <target name="clean">
-    <delete dir="build"/>
-    <cleanmodule dir="plexus-container-default"/>
-    <cleanmodule dir="plexus-component-annotations"/>
-    <cleanmodule dir="plexus-component-javadoc"/>
-  </target>
-
-  <target name="package">
-    <packagemodule dir=""/>
-    <packagemodule dir="plexus-container-default"/>
-    <packagemodule dir="plexus-component-annotations"/>
-    <packagemodule dir="plexus-component-javadoc"/>
-  </target>
-
-  <target name="javadoc">
-    <javadoc destdir="${javadoc.dir}">
-      <packageset dir="plexus-container-default/src/main/java/"/>
-      <packageset dir="plexus-component-annotations/src/main/java/"/>
-      <packageset dir="plexus-component-javadoc/src/main/java/"/>
-    </javadoc>
-  </target>
-
-</project>

Copied: tags/plexus-containers/1.0~beta3.0.7-8/debian/build.xml (from rev 18991, trunk/plexus-containers/debian/build.xml)
===================================================================
--- tags/plexus-containers/1.0~beta3.0.7-8/debian/build.xml	                        (rev 0)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/build.xml	2016-02-12 10:04:17 UTC (rev 18992)
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+ 
+<project name="plexus-containers" default="package" basedir="..">
+ 
+  <property file="debian/build.properties"/>
+  <property name="maven.build" value="/usr/share/maven-ant-helper/maven-build.xml"/>
+  <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+
+  <macrodef name="cleanmodule">
+    <attribute name="dir"/>
+    <sequential>
+      <ant target="clean" antfile="${maven.build}" dir="@{dir}">
+        <property name="debian.dir" location="debian" />
+        <property name="project.dir" value="@{dir}" />
+      </ant>
+    </sequential>
+  </macrodef>
+
+  <macrodef name="packagemodule">
+    <attribute name="dir"/>
+    <sequential>
+      <ant target="package" antfile="${maven.build}" dir="@{dir}">
+        <property name="debian.dir" location="debian" />
+        <property name="project.dir" value="@{dir}" />
+      </ant>
+    </sequential>
+  </macrodef>
+
+  <target name="clean">
+    <delete dir="build"/>
+    <cleanmodule dir="plexus-container-default"/>
+    <cleanmodule dir="plexus-component-annotations"/>
+  </target>
+
+  <target name="package">
+    <packagemodule dir=""/>
+    <packagemodule dir="plexus-container-default"/>
+    <packagemodule dir="plexus-component-annotations"/>
+  </target>
+
+  <target name="javadoc">
+    <javadoc destdir="${javadoc.dir}" locale="en">
+      <packageset dir="plexus-container-default/src/main/java/"/>
+      <packageset dir="plexus-component-annotations/src/main/java/"/>
+    </javadoc>
+  </target>
+
+</project>

Deleted: tags/plexus-containers/1.0~beta3.0.7-8/debian/changelog
===================================================================
--- trunk/plexus-containers/debian/changelog	2016-02-11 15:51:26 UTC (rev 18986)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/changelog	2016-02-12 10:04:17 UTC (rev 18992)
@@ -1,72 +0,0 @@
-plexus-containers (1.0~beta3.0.7-7) unstable; urgency=low
-
-  * Team upload.
-  * Replaced Google Collections by Guava in the pom installed
-    in /usr/share/maven-repo (Closes: #724149)
-
- -- Emmanuel Bourg <ebourg at apache.org>  Mon, 23 Sep 2013 13:00:53 +0200
-
-plexus-containers (1.0~beta3.0.7-6) unstable; urgency=low
-
-  * Team upload.
-  * Replaced the dependency on Google Collections by Guava
-  * Use canonical URLs for the Vcs-* fields
-  * debian/rules: Improved the clean target to allow rebuilds
-
- -- Emmanuel Bourg <ebourg at apache.org>  Wed, 11 Sep 2013 19:13:31 +0200
-
-plexus-containers (1.0~beta3.0.7-5) unstable; urgency=low
-
-  * Team upload.
-  * Fix FTBFS with libgoogle-collections >= 1.0,
-    closes: #625972, #628328, #628294
-  * Bump to Standards-Version 3.9.2: no changes needed.
-  * Bump Debhelper compat level to 7.
-
- -- Damien Raude-Morvan <drazzib at debian.org>  Tue, 31 May 2011 02:41:40 +0200
-
-plexus-containers (1.0~beta3.0.7-4) unstable; urgency=low
-
-  * Downgrade Build-Depends: default-jdk.
-  * Update Standards-Version: 3.8.4.
-  * Switch to source format 3.0.
-
- -- Torsten Werner <twerner at debian.org>  Wed, 05 May 2010 07:28:43 +0200
-
-plexus-containers (1.0~beta3.0.7-3) unstable; urgency=low
-
-  * Add versioned Conflicts: libplexus-container-default-java. (Closes:
-    #542055)
-
- -- Torsten Werner <twerner at debian.org>  Mon, 17 Aug 2009 20:14:42 +0200
-
-plexus-containers (1.0~beta3.0.7-2) unstable; urgency=low
-
-  * Upload to unstable.
-
- -- Torsten Werner <twerner at debian.org>  Sun, 09 Aug 2009 23:38:52 +0200
-
-plexus-containers (1.0~beta3.0.7-1) experimental; urgency=low
-
-  * New upstream version, add myself to Uploaders.
-  * Change section to java, bump Standards-Version to 3.8.1
-  * Add the Maven POM to the package,
-  * Add a Build-Depends-Indep dependency on maven-repo-helper
-  * Use mh_installpom and mh_installjar to install the POM and the jar to the
-    Maven repository
-  * Fix Lintian warning: Add ${misc:Depend} to libplexus-containers-java-doc
-  * Remove Depends on Java runtimes as it is a library
-
- -- Ludovic Claude <ludovic.claude at laposte.net>  Tue, 24 Mar 2009 00:33:14 +0000
-
-plexus-containers (1.0~beta2-2) unstable; urgency=low
-
-  * Add missing Depends.
-
- -- Torsten Werner <twerner at debian.org>  Fri, 26 Dec 2008 00:55:46 +0100
-
-plexus-containers (1.0~beta2-1) unstable; urgency=low
-
-  * Initial release. (Closes: #507272)
-
- -- Torsten Werner <twerner at debian.org>  Fri, 05 Dec 2008 10:10:34 +0100

Copied: tags/plexus-containers/1.0~beta3.0.7-8/debian/changelog (from rev 18991, trunk/plexus-containers/debian/changelog)
===================================================================
--- tags/plexus-containers/1.0~beta3.0.7-8/debian/changelog	                        (rev 0)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/changelog	2016-02-12 10:04:17 UTC (rev 18992)
@@ -0,0 +1,82 @@
+plexus-containers (1.0~beta3.0.7-8) unstable; urgency=medium
+
+  * Team upload.
+  * No longer build plexus-component-javadoc (never used)
+  * Set the locale when generating the javadoc to make the build reproducible
+  * Standards-Version updated to 3.9.7 (no changes)
+  * Switch to debhelper level 9
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Fri, 12 Feb 2016 10:03:38 +0100
+
+plexus-containers (1.0~beta3.0.7-7) unstable; urgency=low
+
+  * Team upload.
+  * Replaced Google Collections by Guava in the pom installed
+    in /usr/share/maven-repo (Closes: #724149)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 23 Sep 2013 13:00:53 +0200
+
+plexus-containers (1.0~beta3.0.7-6) unstable; urgency=low
+
+  * Team upload.
+  * Replaced the dependency on Google Collections by Guava
+  * Use canonical URLs for the Vcs-* fields
+  * debian/rules: Improved the clean target to allow rebuilds
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 11 Sep 2013 19:13:31 +0200
+
+plexus-containers (1.0~beta3.0.7-5) unstable; urgency=low
+
+  * Team upload.
+  * Fix FTBFS with libgoogle-collections >= 1.0,
+    closes: #625972, #628328, #628294
+  * Bump to Standards-Version 3.9.2: no changes needed.
+  * Bump Debhelper compat level to 7.
+
+ -- Damien Raude-Morvan <drazzib at debian.org>  Tue, 31 May 2011 02:41:40 +0200
+
+plexus-containers (1.0~beta3.0.7-4) unstable; urgency=low
+
+  * Downgrade Build-Depends: default-jdk.
+  * Update Standards-Version: 3.8.4.
+  * Switch to source format 3.0.
+
+ -- Torsten Werner <twerner at debian.org>  Wed, 05 May 2010 07:28:43 +0200
+
+plexus-containers (1.0~beta3.0.7-3) unstable; urgency=low
+
+  * Add versioned Conflicts: libplexus-container-default-java. (Closes:
+    #542055)
+
+ -- Torsten Werner <twerner at debian.org>  Mon, 17 Aug 2009 20:14:42 +0200
+
+plexus-containers (1.0~beta3.0.7-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Torsten Werner <twerner at debian.org>  Sun, 09 Aug 2009 23:38:52 +0200
+
+plexus-containers (1.0~beta3.0.7-1) experimental; urgency=low
+
+  * New upstream version, add myself to Uploaders.
+  * Change section to java, bump Standards-Version to 3.8.1
+  * Add the Maven POM to the package,
+  * Add a Build-Depends-Indep dependency on maven-repo-helper
+  * Use mh_installpom and mh_installjar to install the POM and the jar to the
+    Maven repository
+  * Fix Lintian warning: Add ${misc:Depend} to libplexus-containers-java-doc
+  * Remove Depends on Java runtimes as it is a library
+
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Tue, 24 Mar 2009 00:33:14 +0000
+
+plexus-containers (1.0~beta2-2) unstable; urgency=low
+
+  * Add missing Depends.
+
+ -- Torsten Werner <twerner at debian.org>  Fri, 26 Dec 2008 00:55:46 +0100
+
+plexus-containers (1.0~beta2-1) unstable; urgency=low
+
+  * Initial release. (Closes: #507272)
+
+ -- Torsten Werner <twerner at debian.org>  Fri, 05 Dec 2008 10:10:34 +0100

Deleted: tags/plexus-containers/1.0~beta3.0.7-8/debian/compat
===================================================================
--- trunk/plexus-containers/debian/compat	2016-02-11 15:51:26 UTC (rev 18986)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/compat	2016-02-12 10:04:17 UTC (rev 18992)
@@ -1 +0,0 @@
-7

Copied: tags/plexus-containers/1.0~beta3.0.7-8/debian/compat (from rev 18989, trunk/plexus-containers/debian/compat)
===================================================================
--- tags/plexus-containers/1.0~beta3.0.7-8/debian/compat	                        (rev 0)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/compat	2016-02-12 10:04:17 UTC (rev 18992)
@@ -0,0 +1 @@
+9

Deleted: tags/plexus-containers/1.0~beta3.0.7-8/debian/control
===================================================================
--- trunk/plexus-containers/debian/control	2016-02-11 15:51:26 UTC (rev 18986)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/control	2016-02-12 10:04:17 UTC (rev 18992)
@@ -1,76 +0,0 @@
-Source: plexus-containers
-Section: java
-Priority: optional
-Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Torsten Werner <twerner at debian.org>,
-           Ludovic Claude <ludovic.claude at laposte.net>
-Build-Depends: cdbs (>= 0.4.5.3), debhelper (>= 7), default-jdk
-Build-Depends-Indep: ant,
-                     ant-optional,
-                     junit,
-                     libguava-java,
-                     libplexus-classworlds-java,
-                     libplexus-utils-java,
-                     libxbean-java,
-                     maven-ant-helper (>> 4),
-                     maven-repo-helper
-Standards-Version: 3.9.4
-Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/plexus-containers
-Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/plexus-containers/
-Homepage: http://plexus.codehaus.org
-
-Package: libplexus-containers-java
-Architecture: all
-Depends: libguava-java,
-         libplexus-classworlds-java,
-         libplexus-utils-java,
-         libxbean-java,
-         ${misc:Depends}
-Conflicts: libplexus-container-default-java (<= 1.0-alpha-9-stable-1-2)
-Description: utilities for the Plexus framework
- 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.
- .
- While Plexus is similar to other inversion-of-control (IoC) or dependency
- injection frameworks such as the Spring Framework, it is a full-fledged
- container that supports many more features such as:
- .
-     * Component lifecycles
-     * Component instantiation strategies
-     * Nested containers
-     * Component configuration
-     * Auto-wiring
-     * Component dependencies, and
-     * Various dependency injection techniques including constructor injection,
-       setter injection, and private field injection.
- .
- This package replaces the old packages libplexus-containers-default-java.
-
-Package: libplexus-containers-java-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Suggests: libplexus-containers-java
-Description: API Documentation for plexus-container-default
- 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.
- .
- While Plexus is similar to other inversion-of-control (IoC) or dependency
- injection frameworks such as the Spring Framework, it is a full-fledged
- container that supports many more features such as:
- .
-     * Component lifecycles
-     * Component instantiation strategies
-     * Nested containers
-     * Component configuration
-     * Auto-wiring
-     * Component dependencies, and
-     * Various dependency injection techniques including constructor injection,
-       setter injection, and private field injection.
- .
- This package contains the API documentation for plexus-containers. It
- replaces the old packages libplexus-containers-default-java-doc.

Copied: tags/plexus-containers/1.0~beta3.0.7-8/debian/control (from rev 18989, trunk/plexus-containers/debian/control)
===================================================================
--- tags/plexus-containers/1.0~beta3.0.7-8/debian/control	                        (rev 0)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/control	2016-02-12 10:04:17 UTC (rev 18992)
@@ -0,0 +1,76 @@
+Source: plexus-containers
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner at debian.org>,
+           Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: cdbs (>= 0.4.5.3), debhelper (>= 9), default-jdk
+Build-Depends-Indep: ant,
+                     ant-optional,
+                     junit,
+                     libguava-java,
+                     libplexus-classworlds-java,
+                     libplexus-utils-java,
+                     libxbean-java,
+                     maven-ant-helper (>> 4),
+                     maven-repo-helper
+Standards-Version: 3.9.7
+Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/plexus-containers
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/plexus-containers/
+Homepage: http://plexus.codehaus.org
+
+Package: libplexus-containers-java
+Architecture: all
+Depends: libguava-java,
+         libplexus-classworlds-java,
+         libplexus-utils-java,
+         libxbean-java,
+         ${misc:Depends}
+Conflicts: libplexus-container-default-java (<= 1.0-alpha-9-stable-1-2)
+Description: utilities for the Plexus framework
+ 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.
+ .
+ While Plexus is similar to other inversion-of-control (IoC) or dependency
+ injection frameworks such as the Spring Framework, it is a full-fledged
+ container that supports many more features such as:
+ .
+     * Component lifecycles
+     * Component instantiation strategies
+     * Nested containers
+     * Component configuration
+     * Auto-wiring
+     * Component dependencies, and
+     * Various dependency injection techniques including constructor injection,
+       setter injection, and private field injection.
+ .
+ This package replaces the old packages libplexus-containers-default-java.
+
+Package: libplexus-containers-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: libplexus-containers-java
+Description: API Documentation for plexus-container-default
+ 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.
+ .
+ While Plexus is similar to other inversion-of-control (IoC) or dependency
+ injection frameworks such as the Spring Framework, it is a full-fledged
+ container that supports many more features such as:
+ .
+     * Component lifecycles
+     * Component instantiation strategies
+     * Nested containers
+     * Component configuration
+     * Auto-wiring
+     * Component dependencies, and
+     * Various dependency injection techniques including constructor injection,
+       setter injection, and private field injection.
+ .
+ This package contains the API documentation for plexus-containers. It
+ replaces the old packages libplexus-containers-default-java-doc.

Deleted: tags/plexus-containers/1.0~beta3.0.7-8/debian/libplexus-containers-java.poms
===================================================================
--- trunk/plexus-containers/debian/libplexus-containers-java.poms	2016-02-11 15:51:26 UTC (rev 18986)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/libplexus-containers-java.poms	2016-02-12 10:04:17 UTC (rev 18992)
@@ -1,5 +0,0 @@
-pom.xml --no-parent
-plexus-container-default/pom.xml
-plexus-component-javadoc/pom.xml
-plexus-component-annotations/pom.xml
-

Copied: tags/plexus-containers/1.0~beta3.0.7-8/debian/libplexus-containers-java.poms (from rev 18987, trunk/plexus-containers/debian/libplexus-containers-java.poms)
===================================================================
--- tags/plexus-containers/1.0~beta3.0.7-8/debian/libplexus-containers-java.poms	                        (rev 0)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/libplexus-containers-java.poms	2016-02-12 10:04:17 UTC (rev 18992)
@@ -0,0 +1,4 @@
+pom.xml --no-parent
+plexus-container-default/pom.xml
+plexus-component-javadoc/pom.xml --ignore
+plexus-component-annotations/pom.xml

Deleted: tags/plexus-containers/1.0~beta3.0.7-8/debian/rules
===================================================================
--- trunk/plexus-containers/debian/rules	2016-02-11 15:51:26 UTC (rev 18986)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/rules	2016-02-12 10:04:17 UTC (rev 18992)
@@ -1,32 +0,0 @@
-#!/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              := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -s "s/~beta/-beta-/")
-JAVA_HOME            := /usr/lib/jvm/default-java
-DEB_JARS             := ant-nodeps commons-cli guava maven2 plexus-classworlds junit \
-  plexus-utils xbean-reflect
-DEB_ANT_BUILD_TARGET := package javadoc
-DEB_ANT_BUILDFILE    := debian/build.xml
-DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
-API_DOCS             := build/api
-MODULES              := container-default component-annotations component-javadoc
-
-get-orig-source:
-	uscan --download-version $(VERSION) --force-download --rename
-
-binary-post-install/lib$(PACKAGE)-java::
-	mh_installpoms -plib$(PACKAGE)-java
-	set -e; for MODULE in $(MODULES); do \
-	  mh_installjar -plib$(PACKAGE)-java -l --usj-name=plexus-$$MODULE plexus-$$MODULE/pom.xml plexus-$$MODULE/build/plexus-$$MODULE-$(VERSION).jar; \
-	done
-
-binary-post-install/lib$(PACKAGE)-java-doc::
-	dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(PACKAGE)-java
-
-clean::
-	mh_clean
-	-rm -rf debian/tmp
-	mh_unpatchpoms -plib$(PACKAGE)-java

Copied: tags/plexus-containers/1.0~beta3.0.7-8/debian/rules (from rev 18987, trunk/plexus-containers/debian/rules)
===================================================================
--- tags/plexus-containers/1.0~beta3.0.7-8/debian/rules	                        (rev 0)
+++ tags/plexus-containers/1.0~beta3.0.7-8/debian/rules	2016-02-12 10:04:17 UTC (rev 18992)
@@ -0,0 +1,32 @@
+#!/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              := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -s "s/~beta/-beta-/")
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := ant-nodeps commons-cli guava maven2 plexus-classworlds junit \
+  plexus-utils xbean-reflect
+DEB_ANT_BUILD_TARGET := package javadoc
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+API_DOCS             := build/api
+MODULES              := container-default component-annotations
+
+get-orig-source:
+	uscan --download-version $(VERSION) --force-download --rename
+
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	set -e; for MODULE in $(MODULES); do \
+	  mh_installjar -plib$(PACKAGE)-java -l --usj-name=plexus-$$MODULE plexus-$$MODULE/pom.xml plexus-$$MODULE/build/plexus-$$MODULE-$(VERSION).jar; \
+	done
+
+binary-post-install/lib$(PACKAGE)-java-doc::
+	dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(PACKAGE)-java
+
+clean::
+	mh_clean
+	-rm -rf debian/tmp
+	mh_unpatchpoms -plib$(PACKAGE)-java




More information about the pkg-java-commits mailing list