XStream Core

com.thoughtworks.xstream : xstream

[Website] ·
883 usages
· 625 stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>com.thoughtworks.xstream</groupId>
    <artifactId>xstream</artifactId>
    <version>1.4.18</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the com.thoughtworks.xstream:xstream library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>com.thoughtworks.xstream</groupId>
  <artifactId>xstream</artifactId>
  <version>1.4.18</version>
</dependency>
</dependencies>

To install com.thoughtworks.xstream:xstream library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the com.thoughtworks.xstream:xstream library to the dependencies section of your build.gradle file:

dependencies {
implementation 'com.thoughtworks.xstream:xstream:1.4.18'
}

Gradle Kotlin DSL: Add the com.thoughtworks.xstream:xstream library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("com.thoughtworks.xstream:xstream:1.4.18")
}

3. Add dependency to a SBT Scala project

Scala: Add the com.thoughtworks.xstream:xstream library to your build.sbt file:

libraryDependencies += "com.thoughtworks.xstream" % "xstream" % "1.4.18"

4. Add dependency to a Grape project

Grape: Add an annotation com.thoughtworks.xstream:xstream library to your groovy script file:

@Grapes(
    @Grab('com.thoughtworks.xstream:xstream:1.4.18')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (1)

Group / Artifact Usage
javax.xml.bind » jaxb-api 2,674

Test Dependencies (4)

Group / Artifact Usage
org.json » json 2,159
com.megginson.sax » xml-writer 7
commons-lang » commons-lang 4,635
com.sun.xml.ws » jaxws-rt 93