Package: xom
Version: 1.2.1-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
*** /tmp/tmplCQJNu
In Ubuntu, the attached patch was applied to achieve the following:
* Enabled maven artifact deployment (LP: #715684):
- debian/control: Build-Depends-Indep added maven-repo-helper
- debian/rules: install maven artifacts and new target to retrieve
original POM file.
- debian/poms/xom.pom: localised pom for maven
- debian/libxom-java.poms: pom reference locations
* Update Standards-Version: 3.9.1, no changes.
This change is required to support packaging of Jenkins (aka Hudson) which
uses a Maven based build system.
Thanks for considering the patch.
-- System Information:
Debian Release: squeeze/sid
APT prefers natty-updates
APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-25-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog'
=== modified file 'debian/control'
--- debian/control 2010-02-25 20:16:46 +0000
+++ debian/control 2011-02-09 11:24:06 +0000
@@ -5,8 +5,9 @@
Uploaders: Stephan Michels
, Varun Hiremath , Kumar Appaiah
Build-Depends: debhelper (>= 5), cdbs
Build-Depends-Indep: ant, default-jdk, junit (>= 3.8.1),
- libxerces2-java, libxalan2-java, libjaxen-java (>= 1.1)
-Standards-Version: 3.8.4
+ libxerces2-java, libxalan2-java, libjaxen-java (>= 1.1),
+ maven-repo-helper
+Standards-Version: 3.9.1
Homepage: http://www.xom.nu/
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/xom
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/xom
=== 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:23:53 +0000
@@ -0,0 +1 @@
+debian/poms/xom.pom
=== 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:23:53 +0000
@@ -0,0 +1,70 @@
+
+
+ 4.0.0
+ jar
+ XOM
+ 1.2.1
+ The XOM Dual Streaming/Tree API for Processing XML
+ http://xom.nu
+
+
+ The GNU Lesser General Public License, Version 2.1
+ http://www.gnu.org/licenses/lgpl-2.1.html
+ repo
+
+
+
+ https://xom.dev.java.net/source/browse/xom/
+
+
+ xom
+
+ xom
+
+ 2002
+
+
+
+ XOM Interest Mailing List
+ http://lists.ibiblio.org/pipermail/xom-interest/
+
+
+
+
+
+ Elliotte Rusty Harold
+ elharo
+ elh...@ibiblio.org
+ Cafe au Lait
+
+
+
+
+
+ xml-apis
+ xml-apis
+ 1.3.03
+ jar
+
+
+ xerces
+ xercesImpl
+ 2.8.0
+ jar
+
+
+ xalan
+ xalan
+ 2.7.0
+ jar
+
+
+
+
+ src
+
+
+
=== modified file 'debian/rules'
--- debian/rules 2010-02-25 20:16:46 +0000
+++ debian/rules 2011-02-09 11:23:53 +0000
@@ -6,6 +6,8 @@
JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS := xercesImpl xalan xml-apis jaxen saxpath junit
DEB_ANT_BUILD_TARGET := jar samples javadoc
+PACKAGE := xom
+MAVEN_REPO := http://repo1.maven.org/maven2
clean::
-find -name '*.class' | xargs $(RM)
@@ -16,6 +18,8 @@
dh_link -plibxom-java usr/share/java/xom-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom.jar
install -m644 build/xom-samples.jar debian/libxom-java/usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar
dh_link -plibxom-java usr/share/java/xom-samples-$(DEB_UPSTREAM_VERSION).jar usr/share/java/xom-samples.jar
+ mh_installpoms -plib$(PACKAGE)-java
+ mh_installjar -plib$(PACKAGE)-java -l debian/poms/$(PACKAGE).pom build/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
install/libxom-java-doc::
dh_installdocs -plibxom-java-doc build/apidocs
@@ -23,4 +27,11 @@
get-orig-source:
-uscan --upstream-version 0 --rename
-DEB_PHONY_RULES += get-orig-source
+get-orig-pom:
+ mkdir -p debian/poms
+ wget -U NoSuchBrowser/1.0 -O debian/poms/$(PACKAGE).pom \
+ $(MAVEN_REPO)/xom/$(PACKAGE)/$(DEB_UPSTREAM_VERSION)/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).pom
+
+
+
+DEB_PHONY_RULES += get-orig-source get-orig-pom