これは私がやろうとしているものです:Maven-surefire-pluginの実行を2回に分けて実行する方法は?
[...]
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
<configuration>
<excludes>
<exclude>**/*JSFTest.java</exclude>
</excludes>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<excludes>
<!-- intentionally empty to override configuration above -->
</excludes>
<includes>
<include>**/*JSFTest.java</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
私のカスタム<execution>
は、コンテナ内のすべてのJSF関連のテストを実行する必要があります。残念ながら、それはテストを見つけることはありません。 <includes>
のように見えません。 <excludes>
はフェーズtest
の間にこれらのテストを効果的に除外します。ここで何が間違っていますか?
ありがとう、それは私が探していたものです – yegor256
リンクはもう役に立たず、答えに要約はありません。あなたは拡大したいですか? – virgo47