mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-18 23:34:15 +01:00
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:
@@ -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.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user