[jackson-jaxrs-providers] 11/162: add Woodstox dependency
Timo Aaltonen
tjaalton at moszumanska.debian.org
Mon Sep 8 22:16:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton pushed a commit to branch master
in repository jackson-jaxrs-providers.
commit d921473398b449cf5362969d5fd4fe9f3d3d3eb4
Author: Tatu Saloranta <tsaloranta at gmail.com>
Date: Mon Feb 4 14:56:41 2013 -0800
add Woodstox dependency
---
release-notes/VERSION | 7 ++++++-
xml/pom.xml | 26 ++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/release-notes/VERSION b/release-notes/VERSION
index 0291552..98e71fe 100644
--- a/release-notes/VERSION
+++ b/release-notes/VERSION
@@ -5,7 +5,12 @@ Sub-modules:
jackson-jaxrs-xml-provider
Version: 2.2.0 (...)
-First multi-module release!
+First multi-module release, to make release easier, share some boilerplate code.
+
+Changes:
+
+* Add Woodstox dependency (not just in 'test' scope) to try to avoid problems
+ with users relying on SJSXP (such as 'extra' xmlns declarations)
------------------------------------------------------------------------
=== History: ===
diff --git a/xml/pom.xml b/xml/pom.xml
index 1fecd36..d015da3 100644
--- a/xml/pom.xml
+++ b/xml/pom.xml
@@ -74,6 +74,32 @@
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>${version.jackson.jaxb}</version>
</dependency>
+ <!-- JDK 1.6 provides stax-api (javax.xml.stream), but let's add this for documentation -->
+ <dependency>
+ <groupId>javax.xml.stream</groupId>
+ <artifactId>stax-api</artifactId>
+ <version>1.0-2</version>
+ <scope>provided</scope>
+ </dependency>
+ <!-- But Stax2 API must be included -->
+ <dependency>
+ <groupId>org.codehaus.woodstox</groupId>
+ <artifactId>stax2-api</artifactId>
+ <!-- Ideally we'd accept range of versions but won't really work with Maven... -->
+
+<!-- <version>[3.0.4, 3.5.0)</version> -->
+ <version>3.1.1</version>
+ </dependency>
+
+ <!-- Also: While JDK-included SJSXP almost works, there are some rough edges;
+ so let's add full non-test dep to modern Jackson version.
+ -->
+ <dependency>
+ <groupId>org.codehaus.woodstox</groupId>
+ <artifactId>woodstox-core-asl</artifactId>
+ <version>4.1.4</version>
+ </dependency>
+
</dependencies>
<build>
<plugins>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jackson-jaxrs-providers.git
More information about the pkg-java-commits
mailing list