SLING-10636 Enable code checks with Checkstyle

update dependencies
diff --git a/pom.xml b/pom.xml
index 238db5d..99fb648 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,12 +56,12 @@
           <dependency>
             <groupId>com.puppycrawl.tools</groupId>
             <artifactId>checkstyle</artifactId>
-            <version>8.45</version>
+            <version>9.0</version>
           </dependency>
           <dependency>
             <groupId>de.bildschirmarbeiter</groupId>
             <artifactId>checkstyle</artifactId>
-            <version>2</version>
+            <version>3</version>
           </dependency>
         </dependencies>
         <configuration>