Author: ludovicc-guest
Date: 2009-07-12 00:23:23 +0000 (Sun, 12 Jul 2009)
New Revision: 9088

Added:
   trunk/maven-doxia-tools/debian/build.properties
   trunk/maven-doxia-tools/debian/libmaven-doxia-tools-java.poms
   trunk/maven-doxia-tools/debian/maven-settings.xml
   trunk/maven-doxia-tools/debian/maven.rules
Removed:
   trunk/maven-doxia-tools/debian/maven.properties
   trunk/maven-doxia-tools/debian/patches/pom.diff
Modified:
   trunk/maven-doxia-tools/debian/changelog
   trunk/maven-doxia-tools/debian/compat
   trunk/maven-doxia-tools/debian/control
   trunk/maven-doxia-tools/debian/copyright
   trunk/maven-doxia-tools/debian/orig-tar.sh
   trunk/maven-doxia-tools/debian/patches/series
   trunk/maven-doxia-tools/debian/rules
Log:
* New upstream version, add myself to Uploaders
* Change section to java, bump up Standards-Version to 3.8.1
* Bump up debhelper to 6
* 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
* Remove Depends on Java runtimes as it is a library
* Use default-jdk for the build
* Remove the patch for the POM as it's no longer needed, use ant for
  the build instead of Maven (to avoid circular build dependencies from
  maven-debian-helper)
* Add a dependency on doxia-sitetools and maven2-core
* Remove the dependency on doxia, as it is transitively reachable from
  doxia-sitetools

Added: trunk/maven-doxia-tools/debian/build.properties
===================================================================
--- trunk/maven-doxia-tools/debian/build.properties                             
(rev 0)
+++ trunk/maven-doxia-tools/debian/build.properties     2009-07-12 00:23:23 UTC 
(rev 9088)
@@ -0,0 +1,4 @@
+javadoc.dir=target/api
+build.directory=target
+maven.test.skip=true
+maven.generate.target=org.codehaus.plexus:plexus-component-metadata:${plexus-component-metadata.version}:generate-metadata

Modified: trunk/maven-doxia-tools/debian/changelog
===================================================================
--- trunk/maven-doxia-tools/debian/changelog    2009-07-12 00:20:27 UTC (rev 
9087)
+++ trunk/maven-doxia-tools/debian/changelog    2009-07-12 00:23:23 UTC (rev 
9088)
@@ -1,3 +1,23 @@
+maven-doxia-tools (1.0.2-1) experimental; urgency=low
+
+  * New upstream version, add myself to Uploaders
+  * Change section to java, bump up Standards-Version to 3.8.1
+  * Bump up debhelper to 6
+  * 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
+  * Remove Depends on Java runtimes as it is a library
+  * Use default-jdk for the build
+  * Remove the patch for the POM as it's no longer needed, use ant for
+    the build instead of Maven (to avoid circular build dependencies from
+    maven-debian-helper)
+  * Add a dependency on doxia-sitetools and maven2-core
+  * Remove the dependency on doxia, as it is transitively reachable from
+    doxia-sitetools
+
+ -- Ludovic Claude <[email protected]>  Fri, 15 May 2009 00:49:08 
+0100
+
 maven-doxia-tools (1.0.1-1) unstable; urgency=low
 
   * Initial release. (Closes: #508837)

Modified: trunk/maven-doxia-tools/debian/compat
===================================================================
--- trunk/maven-doxia-tools/debian/compat       2009-07-12 00:20:27 UTC (rev 
9087)
+++ trunk/maven-doxia-tools/debian/compat       2009-07-12 00:23:23 UTC (rev 
9088)
@@ -1 +1 @@
-5
+6

Modified: trunk/maven-doxia-tools/debian/control
===================================================================
--- trunk/maven-doxia-tools/debian/control      2009-07-12 00:20:27 UTC (rev 
9087)
+++ trunk/maven-doxia-tools/debian/control      2009-07-12 00:23:23 UTC (rev 
9088)
@@ -1,19 +1,22 @@
 Source: maven-doxia-tools
-Section: libs
+Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers 
<[email protected]>
 Uploaders: Torsten Werner <[email protected]>
-Build-Depends: debhelper (>= 5), cdbs, openjdk-6-jdk, quilt, 
maven-debian-helper,
- libplexus-maven-plugin-java, libcommons-io-java, libplexus-i18n-java
-Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 6), cdbs, default-jdk, quilt
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, 
ant-optional,
+ junit, libmaven-plugin-tools-java, libplexus-component-metadata-java (>= 
1.0~beta3.0.7),
+ libdoxia-sitetools-java, libcommons-io-java, 
+ libplexus-container-default-java, libmaven2-core-java
+Standards-Version: 3.8.1
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-doxia-tools
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-doxia-tools/
 Homepage: http://maven.apache.org/shared/maven-doxia-tools/
 
 Package: libmaven-doxia-tools-java
 Architecture: all
-Depends: ${misc:Depends}, default-jre | java2-runtime, libcommons-io-java,
- libplexus-i18n-java
+Depends: ${misc:Depends}, libdoxia-sitetools-java, libcommons-io-java, 
+ libplexus-container-default-java, libmaven2-core-java
 Description: utilities for integrating Doxia in Maven
  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,

Modified: trunk/maven-doxia-tools/debian/copyright
===================================================================
--- trunk/maven-doxia-tools/debian/copyright    2009-07-12 00:20:27 UTC (rev 
9087)
+++ trunk/maven-doxia-tools/debian/copyright    2009-07-12 00:23:23 UTC (rev 
9088)
@@ -3,7 +3,7 @@
 The Debian packaging is Copyright (c) 2008 Torsten Werner and is
 licensed under the GNU General Public License version 3. On Debian
 systems, the complete text of the GNU General Public License can be
-found in '/usr/share/common-licenses/GPL'.
+found in '/usr/share/common-licenses/GPL-3'.
 
 The package was downloaded from
 <http://maven.apache.org/shared/maven-doxia-tools>.

Added: trunk/maven-doxia-tools/debian/libmaven-doxia-tools-java.poms
===================================================================
--- trunk/maven-doxia-tools/debian/libmaven-doxia-tools-java.poms               
                (rev 0)
+++ trunk/maven-doxia-tools/debian/libmaven-doxia-tools-java.poms       
2009-07-12 00:23:23 UTC (rev 9088)
@@ -0,0 +1 @@
+pom.xml --no-parent

Added: trunk/maven-doxia-tools/debian/maven-settings.xml
===================================================================
--- trunk/maven-doxia-tools/debian/maven-settings.xml                           
(rev 0)
+++ trunk/maven-doxia-tools/debian/maven-settings.xml   2009-07-12 00:23:23 UTC 
(rev 9088)
@@ -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>

Deleted: trunk/maven-doxia-tools/debian/maven.properties
===================================================================
--- trunk/maven-doxia-tools/debian/maven.properties     2009-07-12 00:20:27 UTC 
(rev 9087)
+++ trunk/maven-doxia-tools/debian/maven.properties     2009-07-12 00:23:23 UTC 
(rev 9088)
@@ -1 +0,0 @@
-maven.test.skip = true

Added: trunk/maven-doxia-tools/debian/maven.rules
===================================================================
--- trunk/maven-doxia-tools/debian/maven.rules                          (rev 0)
+++ trunk/maven-doxia-tools/debian/maven.rules  2009-07-12 00:23:23 UTC (rev 
9088)
@@ -0,0 +1,2 @@
+org.codehaus.plexus plexus-container-default jar s/1\.0-alpha-.*/1.0-alpha/
+


Property changes on: trunk/maven-doxia-tools/debian/orig-tar.sh
___________________________________________________________________
Modified: svn:executable
   - 
   + *

Deleted: trunk/maven-doxia-tools/debian/patches/pom.diff
===================================================================
--- trunk/maven-doxia-tools/debian/patches/pom.diff     2009-07-12 00:20:27 UTC 
(rev 9087)
+++ trunk/maven-doxia-tools/debian/patches/pom.diff     2009-07-12 00:23:23 UTC 
(rev 9088)
@@ -1,109 +0,0 @@
-Index: maven-doxia-tools-1.0.1/pom.xml
-===================================================================
---- maven-doxia-tools-1.0.1.orig/pom.xml       2008-06-08 21:38:17.000000000 
+0200
-+++ maven-doxia-tools-1.0.1/pom.xml    2008-12-15 23:58:39.000000000 +0100
-@@ -22,12 +22,14 @@
- <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-   <modelVersion>4.0.0</modelVersion>
- 
-+  <!--
-   <parent>
-     <groupId>org.apache.maven.shared</groupId>
-     <artifactId>maven-shared-components</artifactId>
-     <version>9</version>
-     <relativePath>../pom.xml</relativePath>
-   </parent>
-+  -->
- 
-   <groupId>org.apache.maven.shared</groupId>
-   <artifactId>maven-doxia-tools</artifactId>
-@@ -55,6 +57,7 @@
-       <plugin>
-         <groupId>org.codehaus.plexus</groupId>
-         <artifactId>plexus-maven-plugin</artifactId>
-+      <version>${org.codehaus.plexus.plexus-maven-plugin.version}</version>
-         <executions>
-           <execution>
-             <id>create-component-descriptor</id>
-@@ -72,12 +75,22 @@
-       <groupId>commons-io</groupId>
-       <artifactId>commons-io</artifactId>
-       <version>1.4</version>
-+      <scope>system</scope>
-+      <systemPath>/usr/share/java/commons-io.jar</systemPath>
-     </dependency>
- 
-     <!-- maven -->
-     <dependency>
-       <groupId>org.apache.maven</groupId>
-       <artifactId>maven-project</artifactId>
-+      <version>2.0.9</version>
-+      <scope>system</scope>
-+      <systemPath>/usr/share/java/maven2.jar</systemPath>
-+    </dependency>
-+    <!--
-+    <dependency>
-+      <groupId>org.apache.maven</groupId>
-+      <artifactId>maven-project</artifactId>
-       <version>2.0</version>
-     </dependency>
-     <dependency>
-@@ -100,12 +113,15 @@
-       <artifactId>maven-reporting-api</artifactId>
-       <version>2.0.4</version>
-     </dependency>
-+    -->
- 
-     <!-- doxia-sitetools -->
-     <dependency>
-       <groupId>org.apache.maven.doxia</groupId>
-       <artifactId>doxia-decoration-model</artifactId>
-       <version>${doxia-sitetools.version}</version>
-+      <scope>system</scope>
-+      <systemPath>/usr/share/java/doxia-decoration-model.jar</systemPath>
-     </dependency>
- 
-     <!-- Plexus -->
-@@ -113,11 +129,15 @@
-       <groupId>org.codehaus.plexus</groupId>
-       <artifactId>plexus-container-default</artifactId>
-       <version>1.0-alpha-9</version>
-+      <scope>system</scope>
-+      
<systemPath>/usr/share/java/plexus-container-default-1.0.jar</systemPath>
-     </dependency>
-     <dependency>
-       <groupId>org.codehaus.plexus</groupId>
-       <artifactId>plexus-i18n</artifactId>
-       <version>1.0-beta-7</version>
-+      <scope>system</scope>
-+      <systemPath>/usr/share/java/plexus-i18n.jar</systemPath>
-       <exclusions>
-         <exclusion>
-           <groupId>org.codehaus.plexus</groupId>
-@@ -127,17 +147,26 @@
-     </dependency>
-     <dependency>
-       <groupId>org.codehaus.plexus</groupId>
-+      <artifactId>plexus-interpolation</artifactId>
-+      <version>${org.codehaus.plexus.plexus-interpolation.version}</version>
-+    </dependency>
-+    <!--
-+    <dependency>
-+      <groupId>org.codehaus.plexus</groupId>
-       <artifactId>plexus-utils</artifactId>
-       <version>1.4.5</version>
-     </dependency>
-+    -->
- 
-     <!-- test -->
-+    <!--
-     <dependency>
-       <groupId>org.apache.maven.shared</groupId>
-       <artifactId>maven-plugin-testing-harness</artifactId>
-       <version>1.0</version>
-       <scope>test</scope>
-     </dependency>
-+    -->
-   </dependencies>
- 
-   <reporting>

Modified: trunk/maven-doxia-tools/debian/patches/series
===================================================================
--- trunk/maven-doxia-tools/debian/patches/series       2009-07-12 00:20:27 UTC 
(rev 9087)
+++ trunk/maven-doxia-tools/debian/patches/series       2009-07-12 00:23:23 UTC 
(rev 9088)
@@ -1,2 +1 @@
-pom.diff
 plexus-interpolation.diff

Modified: trunk/maven-doxia-tools/debian/rules
===================================================================
--- trunk/maven-doxia-tools/debian/rules        2009-07-12 00:20:27 UTC (rev 
9087)
+++ trunk/maven-doxia-tools/debian/rules        2009-07-12 00:23:23 UTC (rev 
9088)
@@ -1,10 +1,29 @@
 #!/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/class/ant.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
-JAVA_HOME := /usr/lib/jvm/java-6-openjdk
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+# Need to specify the exact version of the Plexus plugin (from 
plexus-component-metadata package) used here
+PLEXUS_PLUGIN_VERSION:= 1.0-beta-3.0.7
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := ant-nodeps doxia-core doxia-logging-api doxia-sink-api 
doxia-decoration-model.jar doxia-doc-renderer \
+ doxia-site-renderer commons-io plexus-i18n plexus-container-default-alpha 
plexus-utils plexus-interpolation \
+ maven-core maven-project maven-artifact maven-artifact-manager maven-model 
maven-reporting-api
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_BUILDFILE    := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS         := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) 
-Dversion=$(VERSION) 
-Dplexus-component-metadata.version=$(PLEXUS_PLUGIN_VERSION)
+API_DOCS             := target/api
 
+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
+
 get-orig-source:
        uscan --force-download --rename


Property changes on: trunk/maven-doxia-tools/debian/rules
___________________________________________________________________
Modified: svn:executable
   - 
   + *


_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to