[pkg-java] r7589 - in trunk/maven-filtering/debian: . patches

twerner at alioth.debian.org twerner at alioth.debian.org
Sun Dec 7 22:34:11 UTC 2008


Author: twerner
Date: 2008-12-07 22:34:10 +0000 (Sun, 07 Dec 2008)
New Revision: 7589

Added:
   trunk/maven-filtering/debian/patches/
   trunk/maven-filtering/debian/patches/pom.diff
   trunk/maven-filtering/debian/patches/series
Modified:
   trunk/maven-filtering/debian/
   trunk/maven-filtering/debian/changelog
   trunk/maven-filtering/debian/control
   trunk/maven-filtering/debian/copyright
   trunk/maven-filtering/debian/rules
Log:
many fixes



Property changes on: trunk/maven-filtering/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Modified: trunk/maven-filtering/debian/changelog
===================================================================
--- trunk/maven-filtering/debian/changelog	2008-12-07 22:02:54 UTC (rev 7588)
+++ trunk/maven-filtering/debian/changelog	2008-12-07 22:34:10 UTC (rev 7589)
@@ -1,6 +1,6 @@
 maven-filtering (1.0~beta-2-1) unstable; urgency=low
 
   UNRELEASED
-  * Initial release. (Closes: #xxxxxx)
+  * Initial release. (Closes: #508102)
 
  -- Torsten Werner <twerner at debian.org>  Thu, 04 Dec 2008 19:29:26 +0100

Modified: trunk/maven-filtering/debian/control
===================================================================
--- trunk/maven-filtering/debian/control	2008-12-07 22:02:54 UTC (rev 7588)
+++ trunk/maven-filtering/debian/control	2008-12-07 22:34:10 UTC (rev 7589)
@@ -3,16 +3,19 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Torsten Werner <twerner at debian.org>
-Build-Depends: default-jdk, ant, debhelper (>= 5), cdbs, quilt, maven-ant-helper
+Build-Depends: default-jdk, ant, debhelper (>= 5), cdbs, quilt, maven-ant-helper,
+ libplexus-containers-java, libplexus-interpolation-java, libplexus-utils-java,
+ maven2
 Standards-Version: 3.8.0
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-filtering
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-filtering/
-Homepage: http://maven.apache.org/plugins/maven-compiler-plugin/
+Homepage: http://maven.apache.org/shared/maven-filtering/
 
 Package: libmaven-filtering-java
 Architecture: all
 Section: devel
-Depends: ${misc:Depends}, default-jre | java2-runtime
+Depends: ${misc:Depends}, default-jre | java2-runtime, libplexus-containers-java,
+ libplexus-interpolation-java, libplexus-utils-java
 Description: Maven Filtering
  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-filtering/debian/copyright
===================================================================
--- trunk/maven-filtering/debian/copyright	2008-12-07 22:02:54 UTC (rev 7588)
+++ trunk/maven-filtering/debian/copyright	2008-12-07 22:34:10 UTC (rev 7589)
@@ -1,4 +1,3 @@
-FIXME
 This package was debianized by Torsten Werner <twerner at debian.org>.
 
 The Debian packaging is Copyright (c) 2008 Torsten Werner and is
@@ -6,9 +5,10 @@
 systems, the complete text of the GNU General Public License can be
 found in '/usr/share/common-licenses/GPL'.
 
-The package was downloaded from <http://maven.apache.org>.
+The package was downloaded from
+<http://maven.apache.org/shared/maven-filtering>.
 
-Copyright: 2006-2007 The Apache Software Foundation.
+Copyright: 2008 The Apache Software Foundation.
 
 License:
 

Added: trunk/maven-filtering/debian/patches/pom.diff
===================================================================
--- trunk/maven-filtering/debian/patches/pom.diff	                        (rev 0)
+++ trunk/maven-filtering/debian/patches/pom.diff	2008-12-07 22:34:10 UTC (rev 7589)
@@ -0,0 +1,72 @@
+Index: maven-filtering-1.0~beta-2/pom.xml
+===================================================================
+--- maven-filtering-1.0~beta-2.orig/pom.xml	2008-12-07 23:28:08.000000000 +0100
++++ maven-filtering-1.0~beta-2/pom.xml	2008-12-07 21:58:16.000000000 +0100
+@@ -18,11 +18,13 @@
+   under the License.
+ -->
+ <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">
++  <!--
+   <parent>
+     <groupId>org.apache.maven.shared</groupId>
+     <artifactId>maven-shared-components</artifactId>
+     <version>10</version>
+   </parent>
++  -->
+ 
+   <prerequisites>
+     <maven>2.0.6</maven>
+@@ -58,9 +60,9 @@
+     </pluginManagement>
+     <plugins>
+       <plugin>
+-        <groupId>org.codehaus.plexus</groupId>
+-        <artifactId>plexus-maven-plugin</artifactId>
+-        <version>1.3.4</version>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-plugin-plugin</artifactId>
++        <version>2.4.3</version>
+         <executions>
+           <execution>
+             <goals>
+@@ -76,8 +78,11 @@
+     <dependency>
+       <groupId>org.apache.maven</groupId>
+       <artifactId>maven-project</artifactId>
+-      <version>2.0.6</version>
++      <version>2.0.9</version>
++      <scope>system</scope>
++      <systemPath>/usr/share/java/maven2.jar</systemPath>
+     </dependency>
++    <!--
+     <dependency>
+       <groupId>org.apache.maven</groupId>
+       <artifactId>maven-core</artifactId>
+@@ -103,20 +108,25 @@
+       <artifactId>maven-settings</artifactId>
+       <version>2.0.6</version>
+     </dependency>        
++    -->
+     <dependency>
+       <groupId>org.codehaus.plexus</groupId>
+       <artifactId>plexus-container-default</artifactId>
+-      <version>1.0-alpha-9-stable-1</version>
++      <version>1.0-beta2</version>
++      <scope>system</scope>
++      <systemPath>/usr/share/java/plexus-container-default-1.0.jar</systemPath>
+     </dependency>
+     <dependency>
+       <groupId>org.codehaus.plexus</groupId>
+       <artifactId>plexus-utils</artifactId>
+       <version>1.5.6</version>
++      <scope>system</scope>
++      <systemPath>/usr/share/java/plexus-utils-1.5.6.jar</systemPath>
+     </dependency>
+     <dependency>
+       <groupId>org.codehaus.plexus</groupId>
+       <artifactId>plexus-interpolation</artifactId>
+-      <version>1.6</version>
++      <version>1.7</version>
+     </dependency>
+   </dependencies>
+   

Added: trunk/maven-filtering/debian/patches/series
===================================================================
--- trunk/maven-filtering/debian/patches/series	                        (rev 0)
+++ trunk/maven-filtering/debian/patches/series	2008-12-07 22:34:10 UTC (rev 7589)
@@ -0,0 +1 @@
+pom.diff

Modified: trunk/maven-filtering/debian/rules
===================================================================
--- trunk/maven-filtering/debian/rules	2008-12-07 22:02:54 UTC (rev 7588)
+++ trunk/maven-filtering/debian/rules	2008-12-07 22:34:10 UTC (rev 7589)
@@ -5,9 +5,9 @@
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 PACKAGE              := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
-VERSION              := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/Version: \(.*\)-.*/\1/')
+VERSION              := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/Version: \(.*\)-.*/\1/' | sed 's/~/-/')
 JAVA_HOME            := /usr/lib/jvm/default-java
-DEB_JARS             := maven2 plexus-compiler-api plexus-compiler-manager \
+DEB_JARS             := maven2 plexus-container-default-1.0 plexus-interpolation \
   plexus-utils
 DEB_ANT_BUILD_TARGET := package #javadoc
 DEB_ANT_BUILDFILE    := debian/build.xml
@@ -17,9 +17,9 @@
 get-orig-source:
 	uscan --force-download
 
-REPO    := /usr/share/maven-repo
-PLUGINS := $(REPO)/org/apache/maven/plugins
+REPO := /usr/share/maven-repo
+DEST := $(REPO)/org/apache/maven/shared
 
 binary-post-install/lib$(PACKAGE)-java::
-	dh_install target/*.jar $(PLUGINS)/$(PACKAGE)/$(VERSION)/
-	install -m644 pom.xml $(DEB_DESTDIR)$(PLUGINS)/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).pom
+	dh_install target/*.jar $(DEST)/$(PACKAGE)/$(VERSION)/
+	install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).pom




More information about the pkg-java-commits mailing list