diff --git a/Jenkinsfile b/Jenkinsfile
index 211f1bc948f..6c3255b54e9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -73,7 +73,7 @@ pipeline {
agent { node { label 'linux' } }
options { timeout(time: 30, unit: 'MINUTES') }
steps {
- mavenBuild("jdk11", "install checkstyle:check -DskipTests", "maven3", true)
+ mavenBuild("jdk11", "install checkstyle:check -DskipTests -Pcheckstyle", "maven3", true)
recordIssues(
enabledForFailure: true, aggregatingResults: true,
tools: [java(), checkStyle(pattern: '**/target/checkstyle-result.xml', reportEncoding: 'UTF-8')]
diff --git a/pom.xml b/pom.xml
index ffc009d30dc..98ac3e6f2db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -452,6 +452,8 @@
3.1.0
jetty-checkstyle.xml
+ jetty-suppressions.xml
+ checkstyle.suppressions.file
@@ -1140,32 +1142,6 @@
-
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- 3.1.0
-
- jetty-checkstyle.xml
- jetty-suppressions.xml
- checkstyle.suppressions.file
-
-
-
- org.eclipse.jetty
- build-resources
- ${project.version}
-
-
- com.puppycrawl.tools
- checkstyle
- 8.20
-
-
-
-
-
org.apache.maven.plugins