Here is the configuration.

      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <executions>
          <execution>
            <phase>test</phase>
            <configuration>
              <includes>
                <include>**/*Test.java</include>
              </includes>
              <excludes>
                <exclude>**/projects/**</exclude>
              </excludes>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <excludes>
            <exclude>**/Abstract*.java</exclude>
            <exclude>**/InstallPluginsMojoTest.java</exclude>
          </excludes>
          <systemProperties>
            <property>
              <name>maven.home</name>
              <value>${maven.home}</value>
            </property>
          </systemProperties>
          <argLine>${maven.test.jvmargs}</argLine>
        </configuration>
      </plugin>

When I run with -X the output is:
[DEBUG]   (f) excludes = [**/Abstract*.java, **/InstallPluginsMojoTest.java]
[DEBUG]   (f) forkMode = once
[DEBUG]   (f) junitArtifactName = junit:junit
Since this is sorted alphabetically, you can see that my phase
configuration is being ignored.

Anyone know what is wrong?

Cheers

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to