Quick Start

Quick Start

Unknown macro: {scrollbar}

Requirements

Using Pax Exam requires Java 5.0 or above.

Building Pax Exam requires Apache Maven 2.

Usage

Using Pax Exam requires that some (depending on your setup) of Pax Exam to be available in classpath. The instructions bellow assumes that you make use of Apache Maven for building your test project.

    
<!--
Pax Exam API:
-->
<dependency>
  <groupId>org.ops4j.pax.exam</groupId>
  <artifactId>pax-exam</artifactId>
  <version>1.2.0</version>
  <scope>test</scope>
</dependency>
<!--
During runtime Pax Exam will discover the OSGi container to use by searching metadata available into classpath.
Pax Exam comes with a default container that uses [Pax Runner] for implementing the container requirements:
-->
<dependency>
  <groupId>org.ops4j.pax.exam</groupId>
  <artifactId>pax-exam-container-default</artifactId>
  <version>1.2.0</version>
  <scope>test</scope>
</dependency>
<!--
If your test code is based on JUnit you will have to have the Junit support artifact:
-->
<dependency>
  <groupId>org.ops4j.pax.exam</groupId>
  <artifactId>pax-exam-junit</artifactId>
  <version>1.2.0</version>
  <scope>test</scope>
</dependency>

If you are not using Maven you may download the artifacts from OPS4J repository: