diff --git a/checkstyle/src/plugin-test/checkstyle.xml b/checkstyle/src/plugin-test/checkstyle.xml
new file mode 100644
index 00000000..3c6b525b
--- /dev/null
+++ b/checkstyle/src/plugin-test/checkstyle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/checkstyle/src/plugin-test/maven.xml b/checkstyle/src/plugin-test/maven.xml
index f62c042d..842d7639 100644
--- a/checkstyle/src/plugin-test/maven.xml
+++ b/checkstyle/src/plugin-test/maven.xml
@@ -15,20 +15,30 @@
* limitations under the License.
*/
-->
-
+
-
-
${expectedFile} not generated
+
+
+
+
+
+
+ Should not have generated an error as we have a suppression filter set on SuppressionFilterSample
+
+
\ No newline at end of file
diff --git a/checkstyle/src/plugin-test/project.properties b/checkstyle/src/plugin-test/project.properties
index b9ae4c45..7aa4fa61 100644
--- a/checkstyle/src/plugin-test/project.properties
+++ b/checkstyle/src/plugin-test/project.properties
@@ -16,3 +16,5 @@
# required so it can be called from reactor
maven.checkstyle.header.file = ${basedir}/LICENSE.txt
+maven.checkstyle.properties=${basedir}/checkstyle.xml
+
diff --git a/checkstyle/src/plugin-test/src/main/org/apache/maven/Dummy.java b/checkstyle/src/plugin-test/src/main/org/apache/maven/Dummy.java
index b966b0c8..3e34d7d6 100644
--- a/checkstyle/src/plugin-test/src/main/org/apache/maven/Dummy.java
+++ b/checkstyle/src/plugin-test/src/main/org/apache/maven/Dummy.java
@@ -2,5 +2,7 @@ package org.apache.maven;
public class Dummy
{
+ // Voluntarily missing static keyword in order to trigger the
+ // VisibilityModifier check (only static members must be private).
public String badChecky = "error";
}
\ No newline at end of file
diff --git a/checkstyle/src/plugin-test/src/main/org/apache/maven/SuppressionFilterSample.java b/checkstyle/src/plugin-test/src/main/org/apache/maven/SuppressionFilterSample.java
new file mode 100644
index 00000000..08db441c
--- /dev/null
+++ b/checkstyle/src/plugin-test/src/main/org/apache/maven/SuppressionFilterSample.java
@@ -0,0 +1,11 @@
+package org.apache.maven;
+
+import java.lang.Boolean;
+
+public class SuppressionFilterSample
+{
+ // Voluntarily instantiate a boolean in order to have the
+ // IllegalInstantiationCheck check fail. We let it pass using a
+ // suppression filter in order to test that feature.
+ public Boolean forbidden = new Boolean(true);
+}
diff --git a/checkstyle/src/plugin-test/suppressions.xml b/checkstyle/src/plugin-test/suppressions.xml
new file mode 100644
index 00000000..fa5b3307
--- /dev/null
+++ b/checkstyle/src/plugin-test/suppressions.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+