[jaxb] 08/24: Build librngom-java and relocate the org.kohsuke.rngom artifact to com.sun.xml.bind.external

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Sep 28 21:04:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository jaxb.

commit f6d984a8a68c965c7282fdb8a336446c7ae1b4f6
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Sep 28 12:47:15 2017 +0200

    Build librngom-java and relocate the org.kohsuke.rngom artifact to com.sun.xml.bind.external
---
 debian/changelog               |  2 ++
 debian/control                 | 20 ++++++++++++++++++--
 debian/libjaxb-java.classpath  |  1 -
 debian/libjaxb-java.poms       |  4 ++--
 debian/librngom-java.classpath |  1 +
 5 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2586378..50b3780 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ jaxb (2.2.10-1) UNRELEASED; urgency=medium
     - Fixed the compatibility with args4j 2.x
     - Removed the dependency on dom4j, isorelax, relaxngcc
       and xml-commons-resolver1.1
+    - Build librngom-java and relocate the org.kohsuke.rngom artifact
+      to com.sun.xml.bind.external
   * Track and download the new releases from GitHub
   * Standards-Version updated to 4.1.0
   * Switch to debhelper level 10
diff --git a/debian/control b/debian/control
index 8954be5..16a19cc 100644
--- a/debian/control
+++ b/debian/control
@@ -17,8 +17,8 @@ Build-Depends:
  libmaven-dependency-plugin-java,
  libmaven-javadoc-plugin-java,
  libmsv-java,
- librngom-java,
  libtxw2-java (>= 0.1+20110809),
+ librelaxng-datatype-java,
  maven-debian-helper (>= 2.2)
 Standards-Version: 4.1.0
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/jaxb.git
@@ -27,7 +27,7 @@ Homepage: https://jaxb.java.net
 
 Package: libjaxb-java
 Architecture: all
-Depends: ${misc:Depends}, ${maven:Depends}
+Depends: ${misc:Depends}, ${maven:Depends}, librngom-java (>= ${source:Version})
 Suggests: ${maven:OptionalDepends}
 Description: JAXB Reference Implementation
  GlassFish Java Architecture for XML Binding (JAXB) Reference
@@ -61,3 +61,19 @@ Description: JAXB Reference Implementation -- documentation
  objects.
  .
  This package contains the Javadoc API.
+
+Package: librngom-java
+Architecture: all
+Depends: ${misc:Depends}, librelaxng-datatype-java
+Description: Java library for parsing RELAX NG grammars
+ RNGOM is an open-source Java library for parsing RELAX NG grammars.
+ .
+ In particular, RNGOM can:
+  * parse the XML syntax
+  * parse the compact syntax
+  * check all the semantic restrictions as specified in the specification
+  * parse RELAX NG into application-defined data structures
+  * build a default data structure based around the binarized simple syntax
+    or another data structure that preserves more of the parsed information
+  * parse foreign elements/attributes in a schema
+  * parse comments in a schema
diff --git a/debian/libjaxb-java.classpath b/debian/libjaxb-java.classpath
index 880d805..fd84f01 100644
--- a/debian/libjaxb-java.classpath
+++ b/debian/libjaxb-java.classpath
@@ -4,5 +4,4 @@ usr/share/java/jaxb-jxc.jar                      jaxb-xjc.jar jaxb-runtime.jar
 usr/share/java/jaxb-runtime.jar                  jaxb-core.jar stax-ex.jar stax-api.jar FastInfoset.jar
 usr/share/java/jaxb-xjc.jar                      jaxb-core.jar xsom.jar codemodel.jar rngom.jar dtd-parser.jar istack-commons-tools.jar
 usr/share/java/jaxb1-impl.jar                    jaxb-runtime.jar msv-core.jar
-usr/share/java/rngom.jar                         relaxngDatatype.jar
 usr/share/java/txwc2.jar                         rngom.jar txw2.jar codemodel.jar args4j.jar xsom.jar
diff --git a/debian/libjaxb-java.poms b/debian/libjaxb-java.poms
index ed9ef4e..ec2ec13 100644
--- a/debian/libjaxb-java.poms
+++ b/debian/libjaxb-java.poms
@@ -5,8 +5,8 @@ jaxb-ri/codemodel/pom.xml
 jaxb-ri/codemodel/codemodel/pom.xml
 jaxb-ri/codemodel/codemodel-annotation-compiler/pom.xml
 jaxb-ri/core/pom.xml
-jaxb-ri/external/pom.xml
-jaxb-ri/external/rngom/pom.xml
+jaxb-ri/external/pom.xml --no-parent --package=librngom-java
+jaxb-ri/external/rngom/pom.xml --package=librngom-java --relocate=org.kohsuke.rngom:rngom:debian
 jaxb-ri/jxc/pom.xml
 jaxb-ri/runtime/pom.xml
 jaxb-ri/runtime/impl/pom.xml
diff --git a/debian/librngom-java.classpath b/debian/librngom-java.classpath
new file mode 100644
index 0000000..bb0c873
--- /dev/null
+++ b/debian/librngom-java.classpath
@@ -0,0 +1 @@
+usr/share/java/rngom.jar  relaxngDatatype.jar

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



More information about the pkg-java-commits mailing list