Download

About XStream version numbers...

Stable Version: 1.4.20

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.20</version>
</dependency>

Previous Releases

Previous releases of XStream are also available. However, use of the latest stable version is recommended.

Optional Dependencies

All these dependencies can be optional. XStream uses by default the XPP API in combination with the MXParser 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 MXParser (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.

Note, that the bundle entries of the manifest do not declare any dependencies. In an OSGi environment it is the task of the developer to setup the used bundles for his own project.

Dependencies Hibernate Module

Dependencies JMH Module