提交 2e656fc1 编写于 作者: P puug

Added maven-soapui-pro-plugin support as well

上级 35c48cfc
......@@ -76,7 +76,8 @@ public class SurefireArchiver extends MavenReporter {
public boolean preExecute(MavenBuildProxy build, MavenProject pom, MojoInfo mojo, BuildListener listener) throws InterruptedException, IOException {
if (isSurefireTest(mojo)) {
if ((!mojo.is("org.apache.maven.plugins", "maven-failsafe-plugin", "integration-test"))
&& (!mojo.is("eviware", "maven-soapui-plugin", "test"))) {
&& (!mojo.is("eviware", "maven-soapui-plugin", "test"))
&& (!mojo.is("eviware", "maven-soapui-pro-plugin", "test"))) {
// tell surefire:test to keep going even if there was a failure,
// so that we can record this as yellow.
// note that because of the way Maven works, just updating system property at this point is too late
......@@ -242,7 +243,8 @@ public class SurefireArchiver extends MavenReporter {
&& (!mojo.is("com.jayway.maven.plugins.android.generation2", "android-maven-plugin", "internal-integration-test"))
&& (!mojo.is("org.apache.maven.plugins", "maven-surefire-plugin", "test"))
&& (!mojo.is("org.apache.maven.plugins", "maven-failsafe-plugin", "integration-test"))
&& (!mojo.is("eviware", "maven-soapui-plugin", "test")))
&& (!mojo.is("eviware", "maven-soapui-plugin", "test"))
&& (!mojo.is("eviware", "maven-soapui-pro-plugin", "test")))
return false;
try {
......@@ -313,6 +315,11 @@ public class SurefireArchiver extends MavenReporter {
if (((skipTests != null) && (skipTests))) {
return false;
}
} else if (mojo.is("eviware", "maven-soapui-pro-plugin", "test")) {
Boolean skipTests = mojo.getConfigurationValue("skip", Boolean.class);
if (((skipTests != null) && (skipTests))) {
return false;
}
}
} catch (ComponentConfigurationException e) {
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册