hi, you said you are trying to run different unit tests at different phases but your example below binds two executions to the same phase (test). i havent tried stacking executions on a single phase but what prevents you from combining those two into a single antrun execution?
ciao! On 11/29/05, mike jones <[EMAIL PROTECTED]> wrote: > Hi > I have the following on my POM to try and run different unit tests at > different phases of the lifecycle but I cant seem to configure the 2nd > execution. > > Below is what I have tried last, but I have tried lots of vairations of this > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <executions> > <execution> > <configuration> > <id>unit-test</id> > <phase>test</phase> > <includes> > <include implementation="java.lang.String > ">**/*.java</include> > </includes> > <excludes> > <exclude implementation="java.lang.String > ">**/initialadmindata/*.java</exclude> > </excludes> > </configuration> > <id>unit-test</id> > <phase>test</phase> > </execution> > <execution> > <id>initial-admin-data</id> > <configuration> > <id>unit-test</id> > <phase>test</phase> > <includes> > <include implementation="java.lang.String > ">**/InitialAdminSuite.java</include> > </includes> > </configuration> > <phase>integration-test</phase> > <goals> > <goal>test</goal> > </goals> > </execution> > </executions> > </plugin> > > > > Any help would be appreciated. > Cheers > Mike > > > > > -- > d-_-b \m/(>_<)\m/ (9ò_ó)-o(@_o) > > -- "Programming, an artform that fights back" Anuerin G. Diaz Registered Linux User #246176 Friendly Linux Board @ http://mandrivausers.org/index.php http://capsule.ramfree17.org , when you absolutely have nothing else better to do --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
