Merge lp:~hudson-ubuntu/ubuntu/natty/xom/hudson-fixes into lp:ubuntu/natty/xom

Proposed by James Page
Status: Merged
Merged at revision: 10
Proposed branch: lp:~hudson-ubuntu/ubuntu/natty/xom/hudson-fixes
Merge into: lp:ubuntu/natty/xom
Diff against target: 158 lines (+100/-4)
5 files modified
debian/changelog (+12/-0)
debian/control (+5/-3)
debian/libxom-java.poms (+1/-0)
debian/poms/xom.pom (+70/-0)
debian/rules (+12/-1)
To merge this branch: bzr merge lp:~hudson-ubuntu/ubuntu/natty/xom/hudson-fixes
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+49044@code.launchpad.net

Description of the change

Package now installs Maven artifacts to /usr/share/maven-repo

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2010-02-25 20:16:46 +0000
+++ debian/changelog 2011-02-09 11:51:30 +0000
@@ -1,3 +1,15 @@
1xom (1.2.1-2ubuntu1) natty; urgency=low
2
3 * Enabled maven artifact deployment (LP: #715684):
4 - debian/control: Build-Depends-Indep added maven-repo-helper
5 - debian/rules: install maven artifacts and new target to retrieve
6 original POM file.
7 - debian/poms/xom.pom: localised pom for maven
8 - debian/libxom-java.poms: pom reference locations
9 * Update Standards-Version: 3.9.1, no changes.
10
11 -- James Page <james.page@canonical.com> Wed, 05 Jan 2011 14:59:38 +0000
12
1xom (1.2.1-2) unstable; urgency=low13xom (1.2.1-2) unstable; urgency=low
214
3 * Convert patches to dep3 format.15 * Convert patches to dep3 format.
416
=== modified file 'debian/control'
--- debian/control 2010-02-25 20:16:46 +0000
+++ debian/control 2011-02-09 11:51:30 +0000
@@ -1,12 +1,14 @@
1Source: xom1Source: xom
2Section: java2Section: java
3Priority: optional3Priority: optional
4Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
5Uploaders: Stephan Michels <stephan@apache.org>, Varun Hiremath <varun@debian.org>, Kumar Appaiah <akumar@debian.org>6Uploaders: Stephan Michels <stephan@apache.org>, Varun Hiremath <varun@debian.org>, Kumar Appaiah <akumar@debian.org>
6Build-Depends: debhelper (>= 5), cdbs7Build-Depends: debhelper (>= 5), cdbs
7Build-Depends-Indep: ant, default-jdk, junit (>= 3.8.1),8Build-Depends-Indep: ant, default-jdk, junit (>= 3.8.1),
8 libxerces2-java, libxalan2-java, libjaxen-java (>= 1.1)9 libxerces2-java, libxalan2-java, libjaxen-java (>= 1.1),
9Standards-Version: 3.8.410 maven-repo-helper
11Standards-Version: 3.9.1
10Homepage: http://www.xom.nu/12Homepage: http://www.xom.nu/
11Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/xom13Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/xom
12Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/xom14Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/xom
1315
=== added file 'debian/libxom-java.poms'
--- debian/libxom-java.poms 1970-01-01 00:00:00 +0000
+++ debian/libxom-java.poms 2011-02-09 11:51:30 +0000
@@ -0,0 +1,1 @@
1debian/poms/xom.pom
02
=== added directory 'debian/poms'
=== added file 'debian/poms/xom.pom'
--- debian/poms/xom.pom 1970-01-01 00:00:00 +0000
+++ debian/poms/xom.pom 2011-02-09 11:51:30 +0000
@@ -0,0 +1,70 @@
1<?xml version="1.0"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5 http://maven.apache.org/xsd/maven-4.0.0.xsd">
6 <modelVersion>4.0.0</modelVersion>
7 <packaging>jar</packaging>
8 <name>XOM</name>
9 <version>1.2.1</version>
10 <description>The XOM Dual Streaming/Tree API for Processing XML</description>
11 <url>http://xom.nu</url>
12 <licenses>
13 <license>
14 <name>The GNU Lesser General Public License, Version 2.1</name>
15 <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
16 <distribution>repo</distribution>
17 </license>
18 </licenses>
19 <scm>
20 <url>https://xom.dev.java.net/source/browse/xom/</url>
21 </scm>
22
23 <artifactId>xom</artifactId>
24 <!-- previously used group ID -->
25 <groupId>xom</groupId>
26
27 <inceptionYear>2002</inceptionYear>
28
29 <mailingLists>
30 <mailingList>
31 <name>XOM Interest Mailing List</name>
32 <archive>http://lists.ibiblio.org/pipermail/xom-interest/</archive>
33 </mailingList>
34 </mailingLists>
35
36 <developers>
37 <developer>
38 <name>Elliotte Rusty Harold</name>
39 <id>elharo</id>
40 <email>elharo@ibiblio.org</email>
41 <organization>Cafe au Lait</organization>
42 </developer>
43 </developers>
44
45 <dependencies>
46 <dependency>
47 <groupId>xml-apis</groupId>
48 <artifactId>xml-apis</artifactId>
49 <version>1.3.03</version>
50 <type>jar</type>
51 </dependency>
52 <dependency>
53 <groupId>xerces</groupId>
54 <artifactId>xercesImpl</artifactId>
55 <version>2.8.0</version>
56 <type>jar</type>
57 </dependency>
58 <dependency>
59 <groupId>xalan</groupId>
60 <artifactId>xalan</artifactId>
61 <version>2.7.0</version>
62 <type>jar</type>
63 </dependency>
64 </dependencies>
65
66 <build>
67 <sourceDirectory>src</sourceDirectory>
68 </build>
69
70</project>
071
=== modified file 'debian/rules'
--- debian/rules 2010-02-25 20:16:46 +0000
+++ debian/rules 2011-02-09 11:51:30 +0000
@@ -6,6 +6,8 @@
6JAVA_HOME := /usr/lib/jvm/default-java6JAVA_HOME := /usr/lib/jvm/default-java
7DEB_JARS := xercesImpl xalan xml-apis jaxen saxpath junit7DEB_JARS := xercesImpl xalan xml-apis jaxen saxpath junit
8DEB_ANT_BUILD_TARGET := jar samples javadoc8DEB_ANT_BUILD_TARGET := jar samples javadoc
9PACKAGE := xom
10MAVEN_REPO := http://repo1.maven.org/maven2
911
10clean::12clean::
11 -find -name '*.class' | xargs $(RM)13 -find -name '*.class' | xargs $(RM)
@@ -16,6 +18,8 @@
16 dh_link -plibxom-java usr/share/java/xom-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom.jar18 dh_link -plibxom-java usr/share/java/xom-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom.jar
17 install -m644 build/xom-samples.jar debian/libxom-java/usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar19 install -m644 build/xom-samples.jar debian/libxom-java/usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar
18 dh_link -plibxom-java usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom-samples.jar20 dh_link -plibxom-java usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom-samples.jar
21 mh_installpoms -plib$(PACKAGE)-java
22 mh_installjar -plib$(PACKAGE)-java -l debian/poms/$(PACKAGE).pom build/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
1923
20install/libxom-java-doc::24install/libxom-java-doc::
21 dh_installdocs -plibxom-java-doc build/apidocs25 dh_installdocs -plibxom-java-doc build/apidocs
@@ -23,4 +27,11 @@
23get-orig-source:27get-orig-source:
24 -uscan --upstream-version 0 --rename 28 -uscan --upstream-version 0 --rename
2529
26DEB_PHONY_RULES += get-orig-source30get-orig-pom:
31 mkdir -p debian/poms
32 wget -U NoSuchBrowser/1.0 -O debian/poms/$(PACKAGE).pom \
33 $(MAVEN_REPO)/xom/$(PACKAGE)/$(DEB_UPSTREAM_VERSION)/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).pom
34
35
36
37DEB_PHONY_RULES += get-orig-source get-orig-pom

Subscribers

People subscribed via source and target branches