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)

Reply via email to