About XStream version numbers...
Stable Version: 1.4.14
Maven Central Repository
XStream is published to the Maven Central Repository. Use the following Maven coordinates to add XStream to
your project:
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.14</version>
</dependency>
Previous Releases
Previous releases of XStream are also available. However, use of the latest stable version is recommended.
Optional Dependencies
Note, that all those dependencies can be optional. XStream uses by default the XPP API in combination with the
Xpp3 implementation. Therefore are these dependencies not declared as optional in Maven. However, depending on your
choice of the XML parser, you can exclude the dependencies for the XPP API (e.g. by selecting Xpp3 directly) or
Xpp3 (e.g. by selecting StAX). You will then have to declare the dependencies for the alternative XML parser
yourself unless you use a parser form the Java runtime.
- Supported XML parsers and packages:
- XmlPull, the XML pull parser API and factory to detect available implementations.
- Xpp3, an XML pull parser (recommended).
- kXML2 or kXML2-min, an XML pull parser.
- DOM4J, easy XML representation and manipulation framework.
- JDOM, easy XML representation and manipulation (superseded by JDOM2).
- JDOM2, easy XML representation and manipulation, successor of JDOM (requires Java 5).
- StaX, the reference implementation of the Streaming API for XML.
- Woodstox, an alternate open source StaX implementation.
- XOM, another alternative XML API.
- Other optional 3rd party dependencies:
- Java Activation module for the ActivationDataFlavorConverter. The dependency is required for the Java 11 runtime.
- Joda Time for optional ISO8601 date/time converters in JDK 1.7 or below.
- CGLIB for optional support of some proxies generated with the CGLIB Enhancer.
- Jettison for serialization and deserialization support with JSON. Note, that newer versions 1.3.x are no longer compatible with XStream.
- Jettison 1.0.1 for serialization and deserialization support with JSON in JDK 1.4. Note, that newer version 1.1 is not compatible with XStream.
Dependencies Hibernate Module
- Supported Hibernate versions:
- Supported Hibernate Envers versions:
Dependencies JMH Module