Anyone please? > -----Original Message----- > From: Darren Hartford > Sent: Friday, October 27, 2006 9:27 AM > To: users@maven.apache.org > Subject: [m2] Surefire plugin - childDelegation > > Hi all, > Between 2.2-SNAPSHOT and 2.2 official, was there a change in > the way the childDelegation supported overriding java.* and javax.*? > > I'm trying to identify why Embed EJB3 tests are no longer > working (regarding a javax.management issue with > JBossMXServerConfig classnotfound). I have tests that used > to work when using an older version of 2.2-SNAPSHOT, but are > now no longer working. > > References > =============== > http://maven.apache.org/plugins/maven-surefire-plugin/examples > /class-loading.html > childDelegation property to true: > Classes in the java.* and javax.* packages can never be overridden. > > http://jira.jboss.com/jira/browse/EJBTHREE-534 > JBossMXServerConfig issue > > http://mail-archives.apache.org/mod_mbox/maven-users/200606.mb > ox/[EMAIL PROTECTED] > similar problems > > http://jira.codehaus.org/browse/SUREFIRE-38 > Alpha-6, configuring surefire with > <forkMode>pertest</forkMode><childDelegation>false</childDelegation> > > http://docs.codehaus.org/display/MAVENUSER/How+to+use+the+JBos > s+Embedded+EJB3+Container+for+Unit+testing > Sample setup (older surefire that maybe didn't mind > overriding javax.* packages) Personally tested on RC8 and > Surefire 2.2-SNAPSHOT with success. >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]