diff --git a/pom.xml b/pom.xml index c61e4a66d..ab99498ff 100644 --- a/pom.xml +++ b/pom.xml @@ -163,7 +163,7 @@ false ${project.basedir}/src/main/scala ${project.basedir}/src/test/scala - ${main.basedir}/style/scalastyle-config.xml + ${main.basedir}/style/scalastyle.xml UTF-8 diff --git a/style/checkstyle.xml b/style/checkstyle.xml index 10ef5fc40..24dfbb6ca 100644 --- a/style/checkstyle.xml +++ b/style/checkstyle.xml @@ -24,7 +24,7 @@ that can be found at https://google.github.io/styleguide/javaguide.html. Checkstyle is very configurable. Be sure to read the documentation at - http://checkstyle.sf.net (or in your downloaded distribution). + https://checkstyle.sourceforge.io/checks.html. To completely disable a check, just comment it out or delete it from the file. diff --git a/style/scalastyle-config.xml b/style/scalastyle-config.xml deleted file mode 100644 index c3d551df1..000000000 --- a/style/scalastyle-config.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - Scalastyle standard configuration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/style/scalastyle.xml b/style/scalastyle.xml new file mode 100644 index 000000000..7ad1d5ed6 --- /dev/null +++ b/style/scalastyle.xml @@ -0,0 +1,134 @@ + + + + + + Scalastyle standard configuration + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + hudi,3rdParty,javax,java,scala + org\.apache\.hudi\..* + (?!org\.apache\.hudi\.).* + java?\..* + javax?\..* + scala\..* + + + +