diff --git a/build-tools/src/main/resources/checkstyle.xml b/build-tools/src/main/resources/checkstyle.xml deleted file mode 100755 index 54423176f5..0000000000 --- a/build-tools/src/main/resources/checkstyle.xml +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-support/AtlasCodeScheme-IntelliJ.xml b/dev-support/AtlasCodeScheme-IntelliJ.xml new file mode 100644 index 0000000000..f3edfb2a0f --- /dev/null +++ b/dev-support/AtlasCodeScheme-IntelliJ.xml @@ -0,0 +1,501 @@ + + + + + diff --git a/build-tools/src/main/resources/checkstyle-suppressions.xml b/dev-support/checkstyle-suppressions.xml similarity index 79% rename from build-tools/src/main/resources/checkstyle-suppressions.xml rename to dev-support/checkstyle-suppressions.xml index 759a52ec75..d56f4a1436 100644 --- a/build-tools/src/main/resources/checkstyle-suppressions.xml +++ b/dev-support/checkstyle-suppressions.xml @@ -24,6 +24,8 @@ - - + + + + diff --git a/dev-support/checkstyle.xml b/dev-support/checkstyle.xml new file mode 100755 index 0000000000..349971428c --- /dev/null +++ b/dev-support/checkstyle.xml @@ -0,0 +1,272 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 5726faa15d..df3a405ddf 100644 --- a/pom.xml +++ b/pom.xml @@ -88,6 +88,9 @@ 1.7.5 1.16.0 false + 3.1.0 + true + 8.29 3.1.4 1.4 1.14 @@ -1162,12 +1165,6 @@ 0.13 - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.9.1 - - org.apache.maven.plugins maven-site-plugin @@ -1505,7 +1502,13 @@ org.apache.maven.plugins maven-checkstyle-plugin + ${checkstyle.plugin.version} + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + org.apache.atlas atlas-buildtools @@ -1520,10 +1523,11 @@ verify - ${skipCheck} - false + true true - checkstyle.suppressions.file + ./dev-support/checkstyle.xml + ./dev-support/checkstyle-suppressions.xml + ${checkstyle.skip} ${checkstyle.failOnViolation}