[maven-plugin-tools] 03/31: package builds locally

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Mar 16 14:39:48 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-plugin-tools.

commit c5f52a6787b8904ab7473ecf391a0a4c293bab8a
Author: Torsten Werner <twerner at debian.org>
Date:   Fri Dec 5 21:09:06 2008 +0000

    package builds locally
---
 debian/maven-settings.xml |   2 +-
 debian/patches/pom.diff   | 149 +++++++++++++++++++++++++++++++++++++++++++++-
 debian/rules              |  11 +++-
 3 files changed, 157 insertions(+), 5 deletions(-)

diff --git a/debian/maven-settings.xml b/debian/maven-settings.xml
index d85b12e..b54af9d 100644
--- a/debian/maven-settings.xml
+++ b/debian/maven-settings.xml
@@ -1,5 +1,5 @@
 <settings>
   <!-- FIXME -->
-  <localRepository>/home/twerner/maven-repo</localRepository>
+  <localRepository>/usr/share/maven-repo</localRepository>
   <offline>true</offline>
 </settings>
diff --git a/debian/patches/pom.diff b/debian/patches/pom.diff
index 677cf3a..be3efce 100644
--- a/debian/patches/pom.diff
+++ b/debian/patches/pom.diff
@@ -1,7 +1,7 @@
 Index: maven-plugin-tools-2.4.3/maven-plugin-plugin/pom.xml
 ===================================================================
---- maven-plugin-tools-2.4.3.orig/maven-plugin-plugin/pom.xml	2008-12-05 21:27:27.000000000 +0100
-+++ maven-plugin-tools-2.4.3/maven-plugin-plugin/pom.xml	2008-12-05 19:16:27.000000000 +0100
+--- maven-plugin-tools-2.4.3.orig/maven-plugin-plugin/pom.xml	2008-08-14 13:35:08.000000000 +0200
++++ maven-plugin-tools-2.4.3/maven-plugin-plugin/pom.xml	2008-12-05 22:05:17.000000000 +0100
 @@ -20,11 +20,13 @@
  <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>
@@ -143,3 +143,148 @@ Index: maven-plugin-tools-2.4.3/maven-plugin-plugin/pom.xml
      </plugins>
    </build>
  
+Index: maven-plugin-tools-2.4.3/maven-plugin-tools-api/pom.xml
+===================================================================
+--- maven-plugin-tools-2.4.3.orig/maven-plugin-tools-api/pom.xml	2008-08-14 13:35:08.000000000 +0200
++++ maven-plugin-tools-2.4.3/maven-plugin-tools-api/pom.xml	2008-12-05 22:05:17.000000000 +0100
+@@ -22,13 +22,17 @@
+ <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.plugin-tools</groupId>
+     <artifactId>maven-plugin-tools</artifactId>
+     <version>2.4.3</version>
+   </parent>
++  -->
+ 
++  <groupId>org.apache.maven.plugin-tools</groupId>
+   <artifactId>maven-plugin-tools-api</artifactId>
++  <version>2.4.3</version>
+ 
+   <name>Maven Plugin Tools APIs</name>
+   <description>The Maven Plugin Tools API provides an API to extract information from and generate documentation for Maven Plugins.</description>
+@@ -41,6 +45,7 @@
+ 
+   <dependencies>
+     <!-- maven -->
++    <!--
+     <dependency>
+       <groupId>org.apache.maven</groupId>
+       <artifactId>maven-project</artifactId>
+@@ -70,8 +75,10 @@
+       <groupId>org.apache.maven</groupId>
+       <artifactId>maven-plugin-descriptor</artifactId>
+     </dependency>
++    -->
+ 
+     <!-- plexus -->
++    <!--
+     <dependency>
+       <groupId>org.codehaus.plexus</groupId>
+       <artifactId>plexus-utils</artifactId>
+@@ -80,22 +87,28 @@
+       <groupId>org.codehaus.plexus</groupId>
+       <artifactId>plexus-container-default</artifactId>
+     </dependency>
++    -->
+ 
+     <!-- misc -->
++    <!--
+     <dependency>
+       <groupId>jtidy</groupId>
+       <artifactId>jtidy</artifactId>
+       <version>4aug2000r7-dev</version>
+     </dependency>
++    -->
+ 
+     <!-- test -->
++    <!--
+     <dependency>
+       <groupId>org.apache.maven.reporting</groupId>
+       <artifactId>maven-reporting-impl</artifactId>
+       <version>2.0.4.1</version>
+       <scope>test</scope>
+       <exclusions>
+-        <!-- Using org.codehaus.plexus:plexus-utils instead of -->
++	-->
++	<!-- Using org.codehaus.plexus:plexus-utils instead of -->
++	<!--
+         <exclusion>
+           <groupId>plexus</groupId>
+           <artifactId>plexus-utils</artifactId>
+@@ -107,8 +120,10 @@
+       <artifactId>maven-plugin-testing-harness</artifactId>
+       <scope>test</scope>
+     </dependency>
++    -->
+   </dependencies>
+ 
++  <!--
+   <profiles>
+     <profile>
+       <id>reporting</id>
+@@ -129,4 +144,5 @@
+       </reporting>
+     </profile>
+   </profiles>
++  -->
+ </project>
+Index: maven-plugin-tools-2.4.3/maven-plugin-tools-java/pom.xml
+===================================================================
+--- maven-plugin-tools-2.4.3.orig/maven-plugin-tools-java/pom.xml	2008-12-05 22:06:01.000000000 +0100
++++ maven-plugin-tools-2.4.3/maven-plugin-tools-java/pom.xml	2008-12-05 22:04:56.000000000 +0100
+@@ -22,13 +22,17 @@
+ <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.plugin-tools</groupId>
+     <artifactId>maven-plugin-tools</artifactId>
+     <version>2.4.3</version>
+   </parent>
++  -->
+ 
+   <artifactId>maven-plugin-tools-java</artifactId>
++  <groupId>org.apache.maven.plugin-tools</groupId>
++  <version>2.4.3</version>
+ 
+   <name>Maven Plugin Tool for Java</name>
+   <description>Descriptor extractor for plugins written in Java.</description>
+@@ -41,6 +45,7 @@
+ 
+   <dependencies>
+     <!-- maven -->
++    <!--
+     <dependency>
+       <groupId>org.apache.maven</groupId>
+       <artifactId>maven-project</artifactId>
+@@ -59,8 +64,10 @@
+       <groupId>org.apache.maven.plugin-tools</groupId>
+       <artifactId>maven-plugin-tools-api</artifactId>
+     </dependency>
++    -->
+ 
+     <!-- plexus -->
++    <!--
+     <dependency>
+       <groupId>org.codehaus.plexus</groupId>
+       <artifactId>plexus-utils</artifactId>
+@@ -69,12 +76,15 @@
+       <groupId>org.codehaus.plexus</groupId>
+       <artifactId>plexus-container-default</artifactId>
+     </dependency>
++    -->
+ 
+     <!-- misc -->
+     <dependency>
+       <groupId>com.thoughtworks.qdox</groupId>
+       <artifactId>qdox</artifactId>
+       <version>1.6.3</version>
++      <scope>system</scope>
++      <systemPath>/usr/share/java/qdox.jar</systemPath>
+     </dependency>
+   </dependencies>
+ </project>
diff --git a/debian/rules b/debian/rules
index 6f64e28..2176277 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,13 @@ DEB_CLASSPATH        := $(DEB_CLASSPATH):maven-plugin-tools-api/target/classes
 get-orig-source:
 	uscan --force-download
 
+REPO := /usr/share/maven-repo
+MPT  := $(REPO)/org/apache/maven
+
 binary-post-install/lib$(PACKAGE)-java::
-	dh_install -plib$(PACKAGE)-java maven-plugin-tools-api/build/maven-plugin-tools-api-$(VERSION).jar /usr/share/java
-	dh_link -plib$(PACKAGE)-java /usr/share/java/maven-plugin-tools-api-$(VERSION).jar /usr/share/java/maven-plugin-tools-api.jar
+	dh_install maven-plugin-tools-api/target/*.jar $(MPT)/plugin-tools/maven-plugin-tools-api/$(VERSION)/
+	install -m644 maven-plugin-tools-api/pom.xml $(DEB_DESTDIR)$(MPT)/plugin-tools/maven-plugin-tools-api/$(VERSION)/maven-plugin-tools-api-$(VERSION).pom
+	dh_install maven-plugin-tools-java/target/*.jar $(MPT)/plugin-tools/maven-plugin-tools-java/$(VERSION)/
+	install -m644 maven-plugin-tools-java/pom.xml $(DEB_DESTDIR)$(MPT)/plugin-tools/maven-plugin-tools-java/$(VERSION)/maven-plugin-tools-java-$(VERSION).pom
+	dh_install maven-plugin-plugin/target/*.jar $(MPT)/plugins/maven-plugin-plugin/$(VERSION)/
+	install -m644 maven-plugin-tools-java/pom.xml $(DEB_DESTDIR)$(MPT)/plugins/maven-plugin-plugin/$(VERSION)/maven-plugin-plugin-$(VERSION).pom

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



More information about the pkg-java-commits mailing list