KYLIN-2368 Enable Findbugs plugin
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/75625ae5 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/75625ae5 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/75625ae5 Branch: refs/heads/master-hbase1.x Commit: 75625ae512b3d6cc080053e4e8871f3fff816ef0 Parents: 6f8cdeb Author: Billy Liu <billy...@apache.org> Authored: Mon Jan 9 15:02:06 2017 +0800 Committer: Billy Liu <billy...@apache.org> Committed: Mon Jan 9 15:02:13 2017 +0800 ---------------------------------------------------------------------- atopcalcite/pom.xml | 4 +-- core-common/pom.xml | 5 +-- core-cube/pom.xml | 2 +- core-dictionary/pom.xml | 5 +-- core-job/pom.xml | 5 +-- core-metadata/pom.xml | 5 +-- core-storage/pom.xml | 5 +-- engine-mr/pom.xml | 6 +--- engine-spark/pom.xml | 16 ++++------ jdbc/pom.xml | 3 +- kylin-it/pom.xml | 11 ++++--- pom.xml | 73 +++++++++++++++++++++++++++++++------------- query/pom.xml | 1 + server-base/pom.xml | 5 +-- server/pom.xml | 2 +- source-hive/pom.xml | 5 +-- source-kafka/pom.xml | 2 +- storage-hbase/pom.xml | 5 +-- tomcat-ext/pom.xml | 8 +++-- tool/pom.xml | 11 ++++--- 20 files changed, 92 insertions(+), 87 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/atopcalcite/pom.xml ---------------------------------------------------------------------- diff --git a/atopcalcite/pom.xml b/atopcalcite/pom.xml index b1bc171..b916df2 100644 --- a/atopcalcite/pom.xml +++ b/atopcalcite/pom.xml @@ -24,6 +24,7 @@ <artifactId>atopcalcite</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Calcite Overrides</name> + <description>Apache Kylin - Calcite Overrides</description> <parent> <groupId>org.apache.kylin</groupId> @@ -31,9 +32,6 @@ <version>2.0.0-SNAPSHOT</version> </parent> - <properties> - </properties> - <dependencies> <dependency> <groupId>org.apache.calcite</groupId> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/core-common/pom.xml ---------------------------------------------------------------------- diff --git a/core-common/pom.xml b/core-common/pom.xml index 2265651..25b10a7 100644 --- a/core-common/pom.xml +++ b/core-common/pom.xml @@ -24,17 +24,14 @@ <artifactId>kylin-core-common</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Core Common</name> + <description>Apache Kylin - Core Common</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <properties> - </properties> - <dependencies> <!-- Basic Utilities --> <dependency> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/core-cube/pom.xml ---------------------------------------------------------------------- diff --git a/core-cube/pom.xml b/core-cube/pom.xml index b7db363..0a30432 100644 --- a/core-cube/pom.xml +++ b/core-cube/pom.xml @@ -24,12 +24,12 @@ <artifactId>kylin-core-cube</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Core Cube</name> + <description>Apache Kylin - Core Cube</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> <dependencies> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/core-dictionary/pom.xml ---------------------------------------------------------------------- diff --git a/core-dictionary/pom.xml b/core-dictionary/pom.xml index a74eccb..5d839dd 100644 --- a/core-dictionary/pom.xml +++ b/core-dictionary/pom.xml @@ -24,17 +24,14 @@ <artifactId>kylin-core-dictionary</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Core Dictionary</name> + <description>Apache Kylin - Core Dictionary</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <properties> - </properties> - <dependencies> <dependency> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/core-job/pom.xml ---------------------------------------------------------------------- diff --git a/core-job/pom.xml b/core-job/pom.xml index dad0428..36d34c8 100644 --- a/core-job/pom.xml +++ b/core-job/pom.xml @@ -24,17 +24,14 @@ <artifactId>kylin-core-job</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Core Job</name> + <description>Apache Kylin - Core Job</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <properties> - </properties> - <dependencies> <dependency> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/core-metadata/pom.xml ---------------------------------------------------------------------- diff --git a/core-metadata/pom.xml b/core-metadata/pom.xml index f5c8f8a..b3fe885 100644 --- a/core-metadata/pom.xml +++ b/core-metadata/pom.xml @@ -24,17 +24,14 @@ <artifactId>kylin-core-metadata</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Core Metadata</name> + <description>Apache Kylin - Core Metadata</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <properties> - </properties> - <dependencies> <dependency> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/core-storage/pom.xml ---------------------------------------------------------------------- diff --git a/core-storage/pom.xml b/core-storage/pom.xml index 8987608..9bd3f04 100644 --- a/core-storage/pom.xml +++ b/core-storage/pom.xml @@ -24,17 +24,14 @@ <artifactId>kylin-core-storage</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Core Storage</name> + <description>Apache Kylin - Core Storage</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <properties> - </properties> - <dependencies> <dependency> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/engine-mr/pom.xml ---------------------------------------------------------------------- diff --git a/engine-mr/pom.xml b/engine-mr/pom.xml index f31e650..b4ee16e 100644 --- a/engine-mr/pom.xml +++ b/engine-mr/pom.xml @@ -24,19 +24,15 @@ <artifactId>kylin-engine-mr</artifactId> <packaging>jar</packaging> <name>Apache Kylin - MapReduce Engine</name> + <description>Apache Kylin - MapReduce Engine</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <properties> - </properties> - <dependencies> - <dependency> <groupId>org.apache.kylin</groupId> <artifactId>kylin-core-common</artifactId> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/engine-spark/pom.xml ---------------------------------------------------------------------- diff --git a/engine-spark/pom.xml b/engine-spark/pom.xml index 504a966..4921dca 100644 --- a/engine-spark/pom.xml +++ b/engine-spark/pom.xml @@ -20,22 +20,18 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> + + <artifactId>kylin-engine-spark</artifactId> + <packaging>jar</packaging> + <name>Apache Kylin - Spark Engine</name> + <description>Apache Kylin - Spark Engine</description> + <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <artifactId>kylin-engine-spark</artifactId> - - <name>Apache Kylin - Spark Engine</name> - <url>http://maven.apache.org</url> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <dependencies> <dependency> <groupId>org.apache.kylin</groupId> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/jdbc/pom.xml ---------------------------------------------------------------------- diff --git a/jdbc/pom.xml b/jdbc/pom.xml index 45c212a..cd784f4 100644 --- a/jdbc/pom.xml +++ b/jdbc/pom.xml @@ -20,6 +20,7 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> + <artifactId>kylin-jdbc</artifactId> <packaging>jar</packaging> <name>Apache Kylin - JDBC Driver</name> @@ -29,11 +30,9 @@ <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <shadeBase>org.apache.kylin.jdbc.shaded</shadeBase> </properties> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/kylin-it/pom.xml ---------------------------------------------------------------------- diff --git a/kylin-it/pom.xml b/kylin-it/pom.xml index 9bc1885..080558b 100644 --- a/kylin-it/pom.xml +++ b/kylin-it/pom.xml @@ -20,15 +20,18 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <artifactId>kylin-it</artifactId> + <packaging>jar</packaging> + <name>Apache Kylin - Integration Test</name> + <description>Apache Kylin - Integration Test</description> + <parent> <artifactId>kylin</artifactId> <groupId>org.apache.kylin</groupId> <version>2.0.0-SNAPSHOT</version> </parent> - <modelVersion>4.0.0</modelVersion> - - <artifactId>kylin-it</artifactId> - <name>Apache Kylin - Integration Test</name> <properties> <hdp.version/> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index d883eca..841f19d 100644 --- a/pom.xml +++ b/pom.xml @@ -93,7 +93,6 @@ <jsch.version>0.1.53</jsch.version> <xerces.version>2.11.0</xerces.version> <xalan.version>2.7.2</xalan.version> - <!--<compress-lzf.version>1.0.3</compress-lzf.version>--> <extendedset.version>1.3.4</extendedset.version> <kryo.version>4.0.0</kryo.version> <ehcache.version>2.10.2.2.21</ehcache.version> @@ -622,13 +621,6 @@ <artifactId>xalan</artifactId> <version>${xalan.version}</version> </dependency> - <!-- - <dependency> - <groupId>com.ning</groupId> - <artifactId>compress-lzf</artifactId> - <version>${compress-lzf.version}</version> - </dependency> - --> <dependency> <groupId>com.n3twork.druid</groupId> <artifactId>extendedset</artifactId> @@ -901,19 +893,6 @@ <includePom>true</includePom> </configuration> </plugin> - <!--<plugin>--> - <!--<groupId>org.apache.maven.plugins</groupId>--> - <!--<artifactId>maven-failsafe-plugin</artifactId>--> - <!--<version>2.6</version>--> - <!--<executions>--> - <!--<execution>--> - <!--<goals>--> - <!--<goal>integration-test</goal>--> - <!--<goal>verify</goal>--> - <!--</goals>--> - <!--</execution>--> - <!--</executions>--> - <!--</plugin>--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> @@ -946,6 +925,17 @@ </executions> </plugin> <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>3.0.4</version> + <configuration> + <xmlOutput>true</xmlOutput> + <effort>Max</effort> + <threshold>Low</threshold> + <failOnError>false</failOnError> + </configuration> + </plugin> + <plugin> <groupId>net.ju-n.maven.plugins</groupId> <artifactId>checksum-maven-plugin</artifactId> <version>1.3</version> @@ -998,6 +988,10 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + </plugin> </plugins> </build> @@ -1024,6 +1018,43 @@ <module>tomcat-ext</module> </modules> + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.9</version> + <reportSets> + <reportSet> + <reports> + <report>index</report> + <report>summary</report> + <report>dependency-info</report> + <report>project-team</report> + <report>scm</report> + <report>issue-tracking</report> + <report>mailing-list</report> + <!-- <report>dependency-management</report> --> + <!-- <report>dependencies</report> --> + <!-- <report>dependency-convergence</report> --> + <report>cim</report> + <report>plugin-management</report> + <report>plugins</report> + <report>distribution-management</report> + <report>license</report> + <report>modules</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>3.0.4</version> + </plugin> + </plugins> + </reporting> + <profiles> <profile> <id>sandbox</id> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/query/pom.xml ---------------------------------------------------------------------- diff --git a/query/pom.xml b/query/pom.xml index b7cbf6d..1dc05d1 100644 --- a/query/pom.xml +++ b/query/pom.xml @@ -20,6 +20,7 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> + <artifactId>kylin-query</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Query</name> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/server-base/pom.xml ---------------------------------------------------------------------- diff --git a/server-base/pom.xml b/server-base/pom.xml index 1147008..627ae35 100644 --- a/server-base/pom.xml +++ b/server-base/pom.xml @@ -24,17 +24,14 @@ <artifactId>kylin-server-base</artifactId> <packaging>jar</packaging> <name>Apache Kylin - REST Server Base</name> + <description>Apache Kylin - REST Server Base</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <properties> - </properties> - <dependencies> <dependency> <groupId>org.apache.kylin</groupId> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/server/pom.xml ---------------------------------------------------------------------- diff --git a/server/pom.xml b/server/pom.xml index ed96442..617cc85 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -24,7 +24,7 @@ <artifactId>kylin-server</artifactId> <packaging>war</packaging> <name>Apache Kylin - REST Server</name> - <description>Kylin REST Service and RPC Server.</description> + <description>Kylin REST Service and RPC Server</description> <parent> <groupId>org.apache.kylin</groupId> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/source-hive/pom.xml ---------------------------------------------------------------------- diff --git a/source-hive/pom.xml b/source-hive/pom.xml index c7a413e..35027c6 100644 --- a/source-hive/pom.xml +++ b/source-hive/pom.xml @@ -24,17 +24,14 @@ <artifactId>kylin-source-hive</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Hive Source</name> + <description>Apache Kylin - Hive Source</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <properties> - </properties> - <dependencies> <dependency> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/source-kafka/pom.xml ---------------------------------------------------------------------- diff --git a/source-kafka/pom.xml b/source-kafka/pom.xml index e43894d..e2fe448 100644 --- a/source-kafka/pom.xml +++ b/source-kafka/pom.xml @@ -24,12 +24,12 @@ <artifactId>kylin-source-kafka</artifactId> <packaging>jar</packaging> <name>Apache Kylin - Kafka Source</name> + <description>Apache Kylin - Kafka Source</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> <dependencies> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/storage-hbase/pom.xml ---------------------------------------------------------------------- diff --git a/storage-hbase/pom.xml b/storage-hbase/pom.xml index b0738f6..eb2c104 100644 --- a/storage-hbase/pom.xml +++ b/storage-hbase/pom.xml @@ -24,17 +24,14 @@ <artifactId>kylin-storage-hbase</artifactId> <packaging>jar</packaging> <name>Apache Kylin - HBase Storage</name> + <description>Apache Kylin - HBase Storage</description> <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> - </parent> - <properties> - </properties> - <dependencies> <dependency> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/tomcat-ext/pom.xml ---------------------------------------------------------------------- diff --git a/tomcat-ext/pom.xml b/tomcat-ext/pom.xml index 5387eb6..a00592c 100644 --- a/tomcat-ext/pom.xml +++ b/tomcat-ext/pom.xml @@ -21,16 +21,18 @@ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> + + <artifactId>kylin-tomcat-ext</artifactId> <packaging>jar</packaging> + <name>Apache Kylin - Tomcat Extension</name> + <description>Apache Kylin - Tomcat Extension</description> + <parent> <groupId>org.apache.kylin</groupId> <artifactId>kylin</artifactId> <version>2.0.0-SNAPSHOT</version> </parent> - <artifactId>kylin-tomcat-ext</artifactId> - <name>Apache Kylin - Tomcat Extension</name> - <dependencies> <dependency> <groupId>org.apache.tomcat</groupId> http://git-wip-us.apache.org/repos/asf/kylin/blob/75625ae5/tool/pom.xml ---------------------------------------------------------------------- diff --git a/tool/pom.xml b/tool/pom.xml index 8dba3f7..aae0dab 100644 --- a/tool/pom.xml +++ b/tool/pom.xml @@ -19,15 +19,18 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <artifactId>kylin-tool</artifactId> + <name>Apache Kylin - Tool</name> + <packaging>jar</packaging> + <description>Apache Kylin - Tool</description> + <parent> <artifactId>kylin</artifactId> <groupId>org.apache.kylin</groupId> <version>2.0.0-SNAPSHOT</version> </parent> - <modelVersion>4.0.0</modelVersion> - - <artifactId>kylin-tool</artifactId> - <name>Apache Kylin - Tool</name> <dependencies> <dependency>