Maybe read http://svn.apache.org/repos/asf/tomee/site/trunk/content/javaagent-with-maven-surefire.mdtextwhile well fix it Le 20 juil. 2013 17:01, "Caroline" <[email protected]> a écrit :
> I'm sorry but how exactly can I do that? The example at > http://tomee.apache.org/javaagent-with-maven-surefire.html is unreadable. > > I need to use SizeOf.jar as -javaagent as well. Can you show me what > changes > I need to make to my pom.xml displayed above and repeated here: > > <dependency> > <groupId>net.sourceforge.sizeof</groupId> > <artifactId>SizeOf</artifactId> > <version>0.2.1</version> > <type>jar</type> > </dependency> > > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <version>2.4</version> > <configuration> > <forkMode>once</forkMode> > <argLine> > > > -javaagent:"${settings.localRepository}/net/sourceforge/sizeof/SizeOf/0.2.1/SizeOf-0.2.1.jar" > </argLine> > <useSystemClassloader>true</useSystemClassloader> > </configuration> > </plugin> > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Help-with-example-http-tomee-apache-org-javaagent-with-maven-surefire-html-tp4664277p4664280.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
