2.2. Using PerfCake from a Maven project

In this section, you can find information on using PerfCake in your own Maven project in case you do not want to or you cannot contribute directly to PerfCake repository, or you just want to PerfCake's API.

For inclusion into your project, you can search for PerfCake artifacts at http://search.maven.org. In the results click at the version number and you will see snippets for various build systems. For Maven and version 7.5 you just include the following XML piece into your project dependencies.

  1  <dependency>
  2     <groupId>org.perfcake</groupId>
  3     <artifactId>perfcake</artifactId>
  4     <version>7.5</version>
  5  </dependency>