Issue #730: Core tests for multiple suppression files

Added updates to Maven plugin documentation
Added upgrade notes to the README
This commit is contained in:
Phillip Whittlesea
2017-06-12 01:18:10 +01:00
parent 584fd2a47b
commit 8021aaed4b
8 changed files with 201 additions and 35 deletions

View File

@@ -461,7 +461,7 @@ public class Check extends Update {
*/
@Deprecated
public void setSuppressionFile(String suppressionFile) {
throw new BuildException("Property form of suppressionFile has been replaced by a nested element, please update your configuration.");
throw new BuildException("Definition of a suppression file via a property has been deprecated. Suppression files are now defined as a nested element, please update your configuration.");
}
/**

View File

@@ -140,7 +140,7 @@ public class DependencyCheckTaskTest {
// WHEN executing the ant task
// THEN an exception with a warning is thrown
expectedException.expect(BuildException.class);
expectedException.expectMessage("Property form of suppressionFile has been replaced by a nested element, please update your configuration.");
expectedException.expectMessage("Definition of a suppression file via a property has been deprecated. Suppression files are now defined as a nested element, please update your configuration.");
buildFileRule.executeTarget(antTaskName);
}
}