Download

Citrus 2.7.1 is the latest stable release . You may also go for the latest snapshot versions of Citrus always being up to date with development changes. Citrus is available on Maven central repository so you can add Citrus as Maven dependency to your project. All available versions and production releases for manual download are listed below:

Release artifacts

Version Artifact Sources
2.7.1 Release zip/tar.gz Sources zip/tar.gz
2.7 Release zip/tar.gz Sources zip/tar.gz
2.6.2 Release zip/tar.gz Sources zip/tar.gz
2.6.1 Release zip/tar.gz Sources zip/tar.gz
2.6 Release zip/tar.gz Sources zip/tar.gz
2.5.2 Release zip/tar.gz Sources zip/tar.gz
2.5.1 Release zip/tar.gz Sources zip/tar.gz
2.5 Release zip/tar.gz Sources zip/tar.gz
2.4 Release zip/tar.gz Sources zip/tar.gz
2.3 Release zip/tar.gz Sources zip/tar.gz
2.2 Release zip/tar.gz Sources zip/tar.gz
2.1 Release zip/tar.gz Sources zip/tar.gz

The Citrus project requires Java 8 (or newer version) to run.

Maven

You can easily use Citrus in a Maven project by defining test-scoped dependencies. Simply add the ConSol Labs repository and the following dependencies to your POM (pom.xml). See also our Maven tutorial for a detailed description.

The Citrus core module dependency.

<dependency>
  <groupId>com.consol.citrus</groupId>
  <artifactId>citrus-core</artifactId>
  <version>2.7.1</version>
  <scope>test</scope>
</dependency>

In case you need Citrus modules add following dependencies. See also our modules section for more information on Citrus modules:

<dependency>
  <groupId>com.consol.citrus</groupId>
  <artifactId>citrus-jms</artifactId>
  <version>2.7.1</version>
  <scope>test</scope>
</dependency>

<dependency>
  <groupId>com.consol.citrus</groupId>
  <artifactId>citrus-http</artifactId>
  <version>2.7.1</version>
  <scope>test</scope>
</dependency>

<dependency>
  <groupId>com.consol.citrus</groupId>
  <artifactId>citrus-ws</artifactId>
  <version>2.7.1</version>
  <scope>test</scope>
</dependency>

<dependency>
  <groupId>com.consol.citrus</groupId>
  <artifactId>citrus-websocket</artifactId>
  <version>2.7.1</version>
  <scope>test</scope>
</dependency>

<dependency>
  <groupId>com.consol.citrus</groupId>
  <artifactId>citrus-camel</artifactId>
  <version>2.7.1</version>
  <scope>test</scope>
</dependency>

<dependency>
  <groupId>com.consol.citrus</groupId>
  <artifactId>citrus-ssh</artifactId>
  <version>2.7.1</version>
  <scope>test</scope>
</dependency>

<dependency>
  <groupId>com.consol.citrus</groupId>
  <artifactId>citrus-vertx</artifactId>
  <version>2.7.1</version>
  <scope>test</scope>
</dependency>

If you would like to use the new Java DSL test writing language you have to add this dependency to your project accordingly.

<dependency>
  <groupId>com.consol.citrus</groupId>
  <artifactId>citrus-java-dsl</artifactId>
  <version>2.7.1</version>
  <scope>test</scope>
</dependency>

Use latest snapshots

Stable releases are available on Maven central repository. We also provide nightly snapshot releases that are available on ConSol Labs repository. So if you want to use latest snapshot releases of Citrus please add the following repository to your Maven POM.

<repository>
  <id>consol-labs-snapshots</id>
  <url>http://labs.consol.de/maven/snapshots-repository/</url>
  <snapshots>
    <enabled>true</enabled>
    <updatePolicy>10080</updatePolicy>
  </snapshots>
  <releases>
    <enabled>false</enabled>
  </releases>
</repository>

Logging framework notice

We use SLF4J as logging abstraction framework, which means that you as a user are not forced to use a specific logging implementation. SLF4J is similar to commons-logging, so you may use whatever logging framework you want to. All you have to do is add an SLF4J logging implementation to your classpath.

In case you are currently using log4j as logging framework just include slf4j-log4j12.jar on your classpath and Citrus will use log4j too. If you want to use some other framework than please see the SLF4J documentation for help.