Issue number: 1340

Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7801 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
jasonchaffee committed 2008-03-16 21:08:51 +00:00
1 parent 3c9c8d80af
commit 2fc2df7226
1 file changed
+9 -1
@@ -106,10 +106,18 @@ public class SurefireArchiver extends MavenReporter {
return false;
try {
return !mojo.getConfigurationValue("skip", Boolean.class);
Boolean skip = mojo.getConfigurationValue("skip", Boolean.class);
Boolean skipExec = mojo.getConfigurationValue("skipExec", Boolean.class);
Boolean skipTests = mojo.getConfigurationValue("skipTests", Boolean.class);
if (((skip != null) && (skip)) || ((skipExec != null) && (skipExec)) || ((skipTests != null) && (!skipTests))) {
return false;
}
} catch (ComponentConfigurationException e) {
return false;
}
return true;
}
public DescriptorImpl getDescriptor() {