Skip to content

Commit

Permalink
RANGER-5017: enable checkstyle in root pom.xml (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
mneethiraj authored Jan 13, 2025
1 parent 46dfebe commit 852a26b
Show file tree
Hide file tree
Showing 65 changed files with 2 additions and 160 deletions.
2 changes: 0 additions & 2 deletions agents-audit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Audit Component</name>
<description>Auth Audit</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<securesm.version>1.2</securesm.version>
</properties>
Expand Down
2 changes: 0 additions & 2 deletions agents-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Common library for Plugins</name>
<description>Plugins Common</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions agents-cred/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Credential Support</name>
<description>Plugins Common</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions agents-installer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Installer Support Component</name>
<description>Security Plugins Installer</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
4 changes: 0 additions & 4 deletions credentialbuilder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
<packaging>jar</packaging>
<name>Credential Builder</name>
<description>Credential Builder for non-hadoop java codebase</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.fasterxml.woodstox</groupId>
Expand Down
2 changes: 0 additions & 2 deletions embeddedwebserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Embedded Web Server Invoker</name>
<description>Embedded Web Server Invoker</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions hbase-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>HBase Security Plugin</name>
<description>HBase Security Plugins</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<hbase.jetty.version>9.4.51.v20230217</hbase.jetty.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand Down
2 changes: 0 additions & 2 deletions hdfs-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Hdfs Security Plugin</name>
<description>Hdfs Security Plugins</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions hive-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Hive Security Plugin</name>
<description>Hive Security Plugins</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
4 changes: 0 additions & 4 deletions intg/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
</parent>

<artifactId>ranger-intg</artifactId>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.ranger</groupId>
Expand Down
2 changes: 0 additions & 2 deletions jisql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Jdbc SQL Connector</name>
<description>Jdbc SQL Connector to execute sql statement in any db</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
4 changes: 0 additions & 4 deletions kms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
<packaging>jar</packaging>
<name>Key Management Service</name>
<description>Key Management Service</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
</properties>
<dependencies>
<dependency>
<groupId>asm</groupId>
Expand Down
2 changes: 0 additions & 2 deletions knox-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Knox Security Plugin</name>
<description>Knox Security Plugins</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<knox.jetty.version>9.4.51.v20230217</knox.jetty.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand Down
2 changes: 0 additions & 2 deletions plugin-atlas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Atlas Security Plugin</name>
<description>Atlas Security Plugins</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Elasticsearch Security Plugin</name>
<description>Elasticsearch Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>KAFKA Security Plugin</name>
<description>KAFKA Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-kms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>KMS Security Plugin</name>
<description>KMS Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-kudu/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Kudu Security Plugin</name>
<description>Kudu Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-kylin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Kylin Security Plugin</name>
<description>Kylin Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-nestedstructure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
<description>NestedStructure Security Plugin</description>

<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<commons.codec.version>1.11</commons.codec.version>
<commons.logging.version>1.1.1</commons.logging.version>
<json.path.version>2.9.0</json.path.version>
Expand Down
2 changes: 0 additions & 2 deletions plugin-nifi-registry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>NiFi Registry Security Plugin</name>
<description>NiFi Registry Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-nifi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>NiFi Security Plugin</name>
<description>NiFi Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-ozone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ limitations under the License.
<name>Ozone Security Plugin</name>
<description>Ozone Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-presto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Presto Security Plugin</name>
<description>Presto Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-schema-registry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

<properties>
<avro.version>1.11.4</avro.version>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<jersey.version>2.22.1</jersey.version>
<jettison.version>1.5.4</jettison.version>
<schema.registry.version>0.9.1</schema.registry.version>
Expand Down
2 changes: 0 additions & 2 deletions plugin-solr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>SOLR Security Plugin</name>
<description>SOLR Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-sqoop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Sqoop Security Plugin</name>
<description>Sqoop Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions plugin-trino/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
<description>Ranger Security Plugin for Trino</description>

<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
2 changes: 0 additions & 2 deletions plugin-yarn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>YARN Security Plugin</name>
<description>YARN Security Plugin</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
<aws-java-sdk.version>1.12.765</aws-java-sdk.version>
<bouncycastle.version>1.70</bouncycastle.version>
<cglib.version>2.2.0-b23</cglib.version>
<checkstyle.failOnViolation>false</checkstyle.failOnViolation>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.plugin.version>3.1.0</checkstyle.plugin.version>
<checkstyle.skip>true</checkstyle.skip>
<checkstyle.skip>false</checkstyle.skip>
<checkstyle.version>8.29</checkstyle.version>
<codehaus.woodstox.stax2api.version>4.2.1</codehaus.woodstox.stax2api.version>
<com.microsoft.azure.adal4j.version>1.6.4</com.microsoft.azure.adal4j.version>
Expand Down
2 changes: 0 additions & 2 deletions ranger-atlas-plugin-shim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Atlas Security Plugin Shim</name>
<description>Atlas Security Plugins Shim</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions ranger-authn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
<description>Ranger Authentication module</description>

<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
2 changes: 0 additions & 2 deletions ranger-common-ha/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
<name>Ranger HA Common Library</name>
<description>Ranger HA Common Library</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
2 changes: 0 additions & 2 deletions ranger-elasticsearch-plugin-shim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Elasticsearch Security Plugin Shim</name>
<description>Elasticsearch Security Plugin Shim</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
4 changes: 0 additions & 4 deletions ranger-examples/conditions-enrichers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
<artifactId>conditions-enrichers</artifactId>
<name>Ranger Examples - Conditions and ContextEnrichers</name>
<description>Ranger Examples - Conditions and ContextEnrichers</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.ranger</groupId>
Expand Down
4 changes: 0 additions & 4 deletions ranger-examples/plugin-sampleapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
<packaging>jar</packaging>
<name>Ranger Examples - Ranger Plugin for SampleApp</name>
<description>Ranger Examples - SampleApp</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down
4 changes: 0 additions & 4 deletions ranger-examples/sample-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@

<artifactId>sample-client</artifactId>
<packaging>jar</packaging>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
</properties>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
Expand Down
4 changes: 0 additions & 4 deletions ranger-examples/sampleapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
<packaging>jar</packaging>
<name>Ranger Examples - SampleApp</name>
<description>Ranger Examples - SampleApp</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
</properties>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
Expand Down
2 changes: 0 additions & 2 deletions ranger-hbase-plugin-shim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>HBase Security Plugin Shim</name>
<description>HBase Security Plugins Shim</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions ranger-hdfs-plugin-shim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Hdfs Security Plugin Shim</name>
<description>Hdfs Security Plugins Shim</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions ranger-hive-plugin-shim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>Hive Security Plugin Shim</name>
<description>Hive Security Plugins Shim</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions ranger-kafka-plugin-shim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
<name>KAFKA Security Plugin Shim</name>
<description>KAFKA Security Plugin shim</description>
<properties>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<checkstyle.skip>false</checkstyle.skip>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
Loading

0 comments on commit 852a26b

Please sign in to comment.