Skip to content
amesbah edited this page Jan 6, 2013 · 9 revisions

Maven Repositories

Central Maven Repository

Most Crawljax artifacts are available directly in the Central Maven repository.

To include Crawljax in your project, you can declare it as a Maven dependency:

<dependency>
	<groupId>com.crawljax</groupId>
	<artifactId>crawljax</artifactId>
	<version>2.2</version>
</dependency>

Crawljax Maven Repository

A few plugin artifacts have dependencies that are not available in Maven central repository. Those plugins are available in our Crawljax Maven repository.

Crawljax Maven Archetype

It is possible to generate a Crawljax project template through the Crawljax Maven archetype. The generated project includes the example used in this tutorial, which you can use as a starting point.

Crawljax Logger

The maven dependency of Crawljax comes without a Logger implementation for the SLF4J-api. To see the log, you have to provide one yourself. We like to use Logback. To use the default Logback configuration to see Crawljax output, just declare the Logback dependency in you pom:

<dependency>
    <groupId>ch.qos.logback</groupId>
    <artifactId>logback-classic</artifactId>
    <version>1.0.9</version>
</dependency>

This will print all output to the console. You can tame the output by creating a Logback configuration file.