提交 17981489 编写于 作者: K kiy0taka 提交者: Kohsuke Kawaguchi

JUnit4 test is failed with maven-junit-plugin

上级 6ffa28d1
......@@ -138,6 +138,23 @@ THE SOFTWARE.
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>${project.basedir}/src/test/junit4</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.kohsuke.stapler</groupId>
<artifactId>maven-stapler-plugin</artifactId>
......@@ -203,6 +220,17 @@ THE SOFTWARE.
</activation>
<build>
<plugins>
<plugin>
<!-- JUnit4 test is failed with maven-junit-plugin-->
<artifactId>maven-surefire-plugin</artifactId>
<!-- version specified in grandparent pom -->
<configuration>
<skip>false</skip>
<includes>
<include>**/UseRecipesWithJenkinsRuleTest.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<!-- see http://maven-junit-plugin.kenai.com/ for more info -->
<groupId>org.kohsuke</groupId>
......@@ -241,6 +269,9 @@ THE SOFTWARE.
<value>true</value>
</property>
</systemProperties>
<excludes>
<exclude>org/jvnet/hudson/main/UseRecipesWithJenkinsRuleTest.class</exclude>
</excludes>
</configuration>
</execution>
</executions>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册