diff --git a/checkstyle-sonar-plugin/config/sevntu_suppressions.xml b/checkstyle-sonar-plugin/config/sevntu_suppressions.xml new file mode 100644 index 00000000..347d35b3 --- /dev/null +++ b/checkstyle-sonar-plugin/config/sevntu_suppressions.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/checkstyle-sonar-plugin/pom.xml b/checkstyle-sonar-plugin/pom.xml index 2c1687de..680554f7 100644 --- a/checkstyle-sonar-plugin/pom.xml +++ b/checkstyle-sonar-plugin/pom.xml @@ -17,6 +17,7 @@ 7.3 2.17 + 1.23.0 @@ -157,6 +158,45 @@ + + org.apache.maven.plugins + maven-checkstyle-plugin + ${checkstyle.plugin.version} + + + com.github.sevntu.checkstyle + sevntu-checkstyle-maven-plugin + ${maven.sevntu.checkstyle.plugin.version} + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + + + + + https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-${checkstyle.version}/config/checkstyle_sevntu_checks.xml + true + false + false + true + 0 + error + project.basedir=${project.basedir} + ${project.basedir}/src + + + + sevntu-checkstyle-check + verify + + check + + + + org.sonarsource.sonar-packaging-maven-plugin sonar-packaging-maven-plugin