Skip to content

Commits on Source 10

* Generate the documentation in a separate package.
At the moment, generation of the user manual with docbook fails.
xmlunit (1.6-2) unstable; urgency=medium
* Removed the dependency on libjaxp1.3-java
* Build with the DH sequencer instead of CDBS
* Removed the libxmlunit-java-doc package
* Removed the build dependencies on maven-ant-helper and libxalan2-java
* Standards-Version updated to 4.4.0
* Switch to debhelper level 11
* Use salsa.debian.org Vcs-* URLs
-- Emmanuel Bourg <ebourg@apache.org> Mon, 09 Sep 2019 15:23:00 +0200
xmlunit (1.6-1) unstable; urgency=medium
* New upstream release
......
......@@ -2,31 +2,26 @@ Source: xmlunit
Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Ludovic Claude <ludovic.claude@laposte.net>, Emmanuel Bourg <ebourg@apache.org>
Build-Depends: debhelper (>= 9), cdbs, default-jdk, ant, ant-optional, maven-ant-helper, dblatex
Build-Depends-Indep: maven-repo-helper, junit, libjaxp1.3-java, docbook-xsl, libxalan2-java (>= 2.7.1-3)
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-java/xmlunit.git
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/xmlunit.git
Uploaders:
Ludovic Claude <ludovic.claude@laposte.net>,
Emmanuel Bourg <ebourg@apache.org>
Build-Depends:
ant,
ant-optional,
debhelper (>= 11),
default-jdk,
junit,
maven-repo-helper
Standards-Version: 4.4.0
Vcs-Git: https://salsa.debian.org/java-team/xmlunit.git
Vcs-Browser: https://salsa.debian.org/java-team/xmlunit
Homepage: http://www.xmlunit.org
Package: libxmlunit-java
Architecture: all
Depends: ${misc:Depends}, junit, libjaxp1.3-java
Depends: ${misc:Depends}, junit
Description: Unit testing for XML documents
XMLUnit extends JUnit and NUnit to enable unit testing of XML.
It compares a control XML document to a test document or the result of a
transformation, validates documents, and compares the results of XPath
expressions.
Package: libxmlunit-java-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}, default-jdk-doc
Description: Documentation for XMLUnit
XMLUnit extends JUnit and NUnit to enable unit testing of XML.
It compares a control XML document to a test document or the result of a
transformation, validates documents, and compares the results of XPath
expressions.
.
This package provides the API and user documentation for XMLUnit.
Document: libxmlunit-java
Title: Programmer API for XMLUnit
Author: Jeff Martin, Tim Bacon, Stefan Bodewig
Abstract: Java API for XMLUnit, a library that enables JUnit-style
assertions to be made about the content and structure of XML.
Section: Programming
Format: HTML
Index: /usr/share/doc/libxmlunit-java/api/index.html
Files: /usr/share/doc/libxmlunit-java/api/*
Document: libxmlunit-java-doc
Title: User guide for XMLUnit
Author: Jeff Martin, Tim Bacon, Stefan Bodewig
Abstract: User guide for XMLUnit, a library that enables JUnit-style
assertions to be made about the content and structure of XML.
Section: Programming
Format: HTML
Index: /usr/share/doc/libxmlunit-java-doc/userguide/html/index.html
Files: /usr/share/doc/libxmlunit-java-doc/userguide/html/*
build/doc/api usr/share/doc/libxmlunit-java
build/doc/userguide usr/share/doc/libxmlunit-java-doc
build/doc/*.html usr/share/doc/libxmlunit-java-doc
build/doc/*.png usr/share/doc/libxmlunit-java-doc
usr/share/doc/libxmlunit-java/api usr/share/doc/libxmlunit-java-doc/api
build/lib/xmlunit.pom --no-parent
build/lib/xmlunit.pom --no-parent --java-lib --artifact=build/lib/xmlunit-*.jar
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/dpkg/pkg-info.mk
PACKAGE := $(DEB_SOURCE_PACKAGE)
VERSION := $(DEB_UPSTREAM_VERSION)
JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS := ant-nodeps ant-junit ant-trax junit jaxp-1.3 xalan2 serializer
DEB_ANT_BUILD_TARGET := jar test docs
DEB_ANT_BUILDFILE := build.xml
DEB_ANT_ARGS := -Dxmlunit.version=$(VERSION) -Ddb5.xsl=/usr/share/xml/docbook/stylesheet/nwalsh
%:
dh $@ --with maven-repo-helper
get-orig-source:
-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename --repack
binary-post-install/lib$(PACKAGE)-java::
cp build/lib/xmlunit-$(VERSION).pom build/lib/xmlunit.pom
mh_installpoms -plib$(PACKAGE)-java
mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml build/lib/xmlunit-$(VERSION).jar
clean::
-rm -rf debian/tmp
mh_clean
override_dh_auto_build:
dh_auto_build -- jar test -Dxmlunit.version=$(DEB_VERSION_UPSTREAM)
cp build/lib/xmlunit-*.pom build/lib/xmlunit.pom
get-orig-pom:
wget -O debian/pom.xml http://repo1.maven.org/maven2/xmlunit/xmlunit/$(VERSION)/xmlunit-$(VERSION).pom
wget -O debian/pom.xml http://repo1.maven.org/maven2/xmlunit/xmlunit/$(DEB_VERSION_UPSTREAM)/xmlunit-$(DEB_VERSION_UPSTREAM).pom