This is an automated email from the git hooks/post-receive script. tjaalton-guest pushed a commit to branch master in repository xsom.
commit 14b89efd5ea50eeceb2f172c9cbe5e4174d68bde Author: Timo Aaltonen <[email protected]> Date: Fri Dec 13 23:21:51 2013 +0200 use dh, fix build --- debian/control | 2 +- debian/local/lcm.xsd | 145 +++++++++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 24 +++++++-- 3 files changed, 167 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index 2aa1cb7..61df863 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: java Priority: optional Maintainer: Debian Java Maintainers <[email protected]> Uploaders: Timo Aaltonen <[email protected]> -Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.5) +Build-Depends: debhelper (>= 9), default-jdk, maven-debian-helper (>= 1.6) Build-Depends-Indep: libbuild-helper-maven-plugin-java, libmaven-antrun-plugin-java, librelaxng-datatype-java (>= 1.0), diff --git a/debian/local/lcm.xsd b/debian/local/lcm.xsd new file mode 100644 index 0000000..cef09a7 --- /dev/null +++ b/debian/local/lcm.xsd @@ -0,0 +1,145 @@ +<?xml version = "1.0" encoding = "UTF-8"?> +<!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/lcm.xsd,v 1.5 2005/01/31 22:28:18 farrukh_najmi Exp $ --> +<schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" + xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" + xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" + xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" + elementFormDefault="qualified" + attributeFormDefault="unqualified" + > + + <annotation> + <documentation xml:lang="en">The schema for OASIS ebXML Registry Services</documentation> + </annotation> + <!-- Import the rim.xsd file with XML schema mappaing from RIM --> + <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" schemaLocation="rim.xsd"/> + <!-- Import the rs.xsd file with XML schema for base rs related schema --> + <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" schemaLocation="rs.xsd"/> + <element name="SubmitObjectsRequest"> + <annotation> + <documentation xml:lang="en">The SubmitObjectsRequest allows one to submit a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject el [...] + </annotation> + <complexType> + <complexContent> + <extension base="rs:RegistryRequestType"> + <sequence> + <element ref="rim:RegistryObjectList"/> + </sequence> + </extension> + </complexContent> + </complexType> + </element> + <element name="UpdateObjectsRequest"> + <annotation> + <documentation xml:lang="en">The UpdateObjectsRequest allows one to update a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject el [...] + </annotation> + <complexType> + <complexContent> + <extension base="rs:RegistryRequestType"> + <sequence> + <element ref="rim:RegistryObjectList"/> + </sequence> + </extension> + </complexContent> + </complexType> + </element> + <element name="ApproveObjectsRequest"> + <annotation> + <documentation xml:lang="en"> + The ObjectRefList and AdhocQuery identify the list of + objects being approved. + </documentation> + </annotation> + <complexType> + <complexContent> + <extension base="rs:RegistryRequestType"> + <sequence> + <element ref="rim:AdhocQuery" minOccurs="0" maxOccurs="1" /> + <element ref="rim:ObjectRefList" minOccurs="0" maxOccurs="1" /> + </sequence> + </extension> + </complexContent> + </complexType> + </element> + <element name="DeprecateObjectsRequest"> + <annotation> + <documentation xml:lang="en"> + The ObjectRefList and AdhocQuery identify the list of + objects being deprecated. + </documentation> + </annotation> + <complexType> + <complexContent> + <extension base="rs:RegistryRequestType"> + <sequence> + <element ref="rim:AdhocQuery" minOccurs="0" maxOccurs="1" /> + <element ref="rim:ObjectRefList" minOccurs="0" maxOccurs="1" /> + </sequence> + </extension> + </complexContent> + </complexType> + </element> + <element name="UndeprecateObjectsRequest"> + <annotation> + <documentation xml:lang="en"> + The ObjectRefList is the list of + refs to the registry entrys being un-deprecated. + </documentation> + </annotation> + <complexType> + <complexContent> + <extension base="rs:RegistryRequestType"> + <sequence> + <element ref="rim:AdhocQuery" minOccurs="0" maxOccurs="1" /> + <element ref="rim:ObjectRefList" minOccurs="0" maxOccurs="1" /> + </sequence> + </extension> + </complexContent> + </complexType> + </element> + <element name="RemoveObjectsRequest"> + <annotation> + <documentation xml:lang="en"> + The ObjectRefList is the list of + refs to the registry entrys being removed + </documentation> + </annotation> + <complexType> + <complexContent> + <extension base="rs:RegistryRequestType"> + <sequence> + <element ref="rim:AdhocQuery" minOccurs="0" maxOccurs="1" /> + <element ref="rim:ObjectRefList" minOccurs="0" maxOccurs="1" /> + </sequence> + <attribute name="deletionScope" default="urn:oasis:names:tc:ebxml-regrep:DeletionScopeType:DeleteAll" type="rim:referenceURI" use="optional"/> + </extension> + </complexContent> + </complexType> + </element> + <element name="RelocateObjectsRequest"> + <complexType> + <complexContent> + <extension base="rs:RegistryRequestType"> + <sequence> + <element maxOccurs="1" minOccurs="1" ref="rim:AdhocQuery" /> + <element maxOccurs="1" minOccurs="1" name="SourceRegistry" type="rim:ObjectRefType"/> + <element maxOccurs="1" minOccurs="1" name="DestinationRegistry" type="rim:ObjectRefType"/> + <element maxOccurs="1" minOccurs="1" name="OwnerAtSource" type="rim:ObjectRefType"/> + <element maxOccurs="1" minOccurs="1" name="OwnerAtDestination" type="rim:ObjectRefType"/> + </sequence> + </extension> + </complexContent> + </complexType> + </element> + <element name="AcceptObjectsRequest"> + <!-- The ObjectRefList must only contain local ObjectRefs such that they do not specify home attribute --> + <complexType> + <complexContent> + <extension base="rs:RegistryRequestType"> + <attribute name="correlationId" type="anyURI" use="required"/> + </extension> + </complexContent> + </complexType> + </element> +</schema> diff --git a/debian/rules b/debian/rules index b76c54a..e1da519 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,27 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/maven.mk - JAVA_HOME := /usr/lib/jvm/default-java +%: + dh $@ --buildsystem=maven + +override_dh_auto_build: + # Replace the URL of the XSD file used by the tests with its + # absolute filesystem location: + sed -i \ + 's|http://docs.oasis-open.org/regrep/v3.0/schema/lcm.xsd|file://$(CURDIR)/debian/local/lcm.xsd|' \ + test/XSOMParserTest.java + + dh_auto_build + + +override_dh_auto_clean: + sed -i \ + 's|file://$(CURDIR)/debian/local/lcm.xsd|http://docs.oasis-open.org/regrep/v3.0/schema/lcm.xsd|' \ + test/XSOMParserTest.java + + dh_auto_clean + + get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/xsom.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

