Title: JavaAgent with Maven Surefire
## Maven2
In maven2 you can enable the javaagent for your tests by adding this to
your pom.xml file:
org.apache.maven.plugins
maven-surefire-plugin
pertest
-javaagent:${basedir}/target/openejb-javaagent-3.0.jar
${basedir}/target
org.apache.maven.plugins
maven-dependency-plugin
copy
process-resources
copy
org.apache.openejb
openejb-javaagent
3.0
${project.build.directory}