Repository: spark Updated Branches: refs/heads/master 556a9437a -> 21a6dd2ae
[SPARK-16535][BUILD] In pom.xml, remove groupId which is redundant definition and inherited from the parent https://issues.apache.org/jira/browse/SPARK-16535 ## What changes were proposed in this pull request? When I scan through the pom.xml of sub projects, I found this warning as below and attached screenshot ``` Definition of groupId is redundant, because it's inherited from the parent ``` ![screen shot 2016-07-13 at 3 13 11 pm](https://cloud.githubusercontent.com/assets/3925641/16823121/744f893e-4916-11e6-8a52-042f83b9db4e.png) I've tried to remove some of the lines with groupId definition, and the build on my local machine is still ok. ``` <groupId>org.apache.spark</groupId> ``` As I just find now `<maven.version>3.3.9</maven.version>` is being used in Spark 2.x, and Maven-3 supports versionless parent elements: Maven 3 will remove the need to specify the parent version in sub modules. THIS is great (in Maven 3.1). ref: http://stackoverflow.com/questions/3157240/maven-3-worth-it/3166762#3166762 ## How was this patch tested? I've tested by re-building the project, and build succeeded. Author: Xin Ren <iamsh...@126.com> Closes #14189 from keypointt/SPARK-16535. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/21a6dd2a Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/21a6dd2a Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/21a6dd2a Branch: refs/heads/master Commit: 21a6dd2aef65a23d92f93c43fa731c0505250363 Parents: 556a943 Author: Xin Ren <iamsh...@126.com> Authored: Tue Jul 19 11:59:46 2016 +0100 Committer: Sean Owen <so...@cloudera.com> Committed: Tue Jul 19 11:59:46 2016 +0100 ---------------------------------------------------------------------- assembly/pom.xml | 1 - common/network-common/pom.xml | 1 - common/network-shuffle/pom.xml | 1 - common/network-yarn/pom.xml | 1 - common/sketch/pom.xml | 1 - common/tags/pom.xml | 1 - common/unsafe/pom.xml | 1 - core/pom.xml | 1 - examples/pom.xml | 1 - external/flume-assembly/pom.xml | 1 - external/flume-sink/pom.xml | 1 - external/flume/pom.xml | 1 - external/java8-tests/pom.xml | 1 - external/kafka-0-10-assembly/pom.xml | 1 - external/kafka-0-10/pom.xml | 1 - external/kafka-0-8-assembly/pom.xml | 1 - external/kafka-0-8/pom.xml | 1 - external/kinesis-asl-assembly/pom.xml | 1 - external/kinesis-asl/pom.xml | 1 - external/spark-ganglia-lgpl/pom.xml | 1 - graphx/pom.xml | 1 - launcher/pom.xml | 1 - mllib-local/pom.xml | 1 - mllib/pom.xml | 1 - repl/pom.xml | 1 - sql/catalyst/pom.xml | 1 - sql/core/pom.xml | 1 - sql/hive-thriftserver/pom.xml | 1 - sql/hive/pom.xml | 1 - streaming/pom.xml | 1 - tools/pom.xml | 1 - yarn/pom.xml | 1 - 32 files changed, 32 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/assembly/pom.xml ---------------------------------------------------------------------- diff --git a/assembly/pom.xml b/assembly/pom.xml index 1b25b7c..971a62f 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -25,7 +25,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-assembly_2.11</artifactId> <name>Spark Project Assembly</name> <url>http://spark.apache.org/</url> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/common/network-common/pom.xml ---------------------------------------------------------------------- diff --git a/common/network-common/pom.xml b/common/network-common/pom.xml index b1a37e8..81f0c6e 100644 --- a/common/network-common/pom.xml +++ b/common/network-common/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-network-common_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Networking</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/common/network-shuffle/pom.xml ---------------------------------------------------------------------- diff --git a/common/network-shuffle/pom.xml b/common/network-shuffle/pom.xml index 51c06b9..d211bd5 100644 --- a/common/network-shuffle/pom.xml +++ b/common/network-shuffle/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-network-shuffle_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Shuffle Streaming Service</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/common/network-yarn/pom.xml ---------------------------------------------------------------------- diff --git a/common/network-yarn/pom.xml b/common/network-yarn/pom.xml index d43eb71..606ad15 100644 --- a/common/network-yarn/pom.xml +++ b/common/network-yarn/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-network-yarn_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project YARN Shuffle Service</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/common/sketch/pom.xml ---------------------------------------------------------------------- diff --git a/common/sketch/pom.xml b/common/sketch/pom.xml index 6f2fdd5..626f023 100644 --- a/common/sketch/pom.xml +++ b/common/sketch/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-sketch_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Sketch</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/common/tags/pom.xml ---------------------------------------------------------------------- diff --git a/common/tags/pom.xml b/common/tags/pom.xml index 842a1c8..1c60d51 100644 --- a/common/tags/pom.xml +++ b/common/tags/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-tags_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Tags</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/common/unsafe/pom.xml ---------------------------------------------------------------------- diff --git a/common/unsafe/pom.xml b/common/unsafe/pom.xml index 08af461..45af98d 100644 --- a/common/unsafe/pom.xml +++ b/common/unsafe/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-unsafe_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Unsafe</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/core/pom.xml ---------------------------------------------------------------------- diff --git a/core/pom.xml b/core/pom.xml index 1b880d8..04b94a2 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -25,7 +25,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-core_2.11</artifactId> <properties> <sbt.project.name>core</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/examples/pom.xml ---------------------------------------------------------------------- diff --git a/examples/pom.xml b/examples/pom.xml index 6b9b944..90bbd3f 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -25,7 +25,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-examples_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Examples</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/flume-assembly/pom.xml ---------------------------------------------------------------------- diff --git a/external/flume-assembly/pom.xml b/external/flume-assembly/pom.xml index 9e0636e..fb0292a 100644 --- a/external/flume-assembly/pom.xml +++ b/external/flume-assembly/pom.xml @@ -25,7 +25,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming-flume-assembly_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project External Flume Assembly</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/flume-sink/pom.xml ---------------------------------------------------------------------- diff --git a/external/flume-sink/pom.xml b/external/flume-sink/pom.xml index 6b788d7..5e9275c 100644 --- a/external/flume-sink/pom.xml +++ b/external/flume-sink/pom.xml @@ -25,7 +25,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming-flume-sink_2.11</artifactId> <properties> <sbt.project.name>streaming-flume-sink</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/flume/pom.xml ---------------------------------------------------------------------- diff --git a/external/flume/pom.xml b/external/flume/pom.xml index 1b1105d..7b68ca7 100644 --- a/external/flume/pom.xml +++ b/external/flume/pom.xml @@ -25,7 +25,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming-flume_2.11</artifactId> <properties> <sbt.project.name>streaming-flume</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/java8-tests/pom.xml ---------------------------------------------------------------------- diff --git a/external/java8-tests/pom.xml b/external/java8-tests/pom.xml index a092393..1bc206e 100644 --- a/external/java8-tests/pom.xml +++ b/external/java8-tests/pom.xml @@ -24,7 +24,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>java8-tests_2.11</artifactId> <packaging>pom</packaging> <name>Spark Project Java 8 Tests</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/kafka-0-10-assembly/pom.xml ---------------------------------------------------------------------- diff --git a/external/kafka-0-10-assembly/pom.xml b/external/kafka-0-10-assembly/pom.xml index 6c1a120..4f50453 100644 --- a/external/kafka-0-10-assembly/pom.xml +++ b/external/kafka-0-10-assembly/pom.xml @@ -25,7 +25,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming-kafka-0-10-assembly_2.11</artifactId> <packaging>jar</packaging> <name>Spark Integration for Kafka 0.10 Assembly</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/kafka-0-10/pom.xml ---------------------------------------------------------------------- diff --git a/external/kafka-0-10/pom.xml b/external/kafka-0-10/pom.xml index b38de96..60afaa5 100644 --- a/external/kafka-0-10/pom.xml +++ b/external/kafka-0-10/pom.xml @@ -25,7 +25,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming-kafka-0-10_2.11</artifactId> <properties> <sbt.project.name>streaming-kafka-0-10</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/kafka-0-8-assembly/pom.xml ---------------------------------------------------------------------- diff --git a/external/kafka-0-8-assembly/pom.xml b/external/kafka-0-8-assembly/pom.xml index 4839ed4..bc02b8a 100644 --- a/external/kafka-0-8-assembly/pom.xml +++ b/external/kafka-0-8-assembly/pom.xml @@ -25,7 +25,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming-kafka-0-8-assembly_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project External Kafka Assembly</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/kafka-0-8/pom.xml ---------------------------------------------------------------------- diff --git a/external/kafka-0-8/pom.xml b/external/kafka-0-8/pom.xml index 948b9f5..91ccd4a 100644 --- a/external/kafka-0-8/pom.xml +++ b/external/kafka-0-8/pom.xml @@ -25,7 +25,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming-kafka-0-8_2.11</artifactId> <properties> <sbt.project.name>streaming-kafka-0-8</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/kinesis-asl-assembly/pom.xml ---------------------------------------------------------------------- diff --git a/external/kinesis-asl-assembly/pom.xml b/external/kinesis-asl-assembly/pom.xml index 09ca2c3..df528b3 100644 --- a/external/kinesis-asl-assembly/pom.xml +++ b/external/kinesis-asl-assembly/pom.xml @@ -25,7 +25,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming-kinesis-asl-assembly_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Kinesis Assembly</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/kinesis-asl/pom.xml ---------------------------------------------------------------------- diff --git a/external/kinesis-asl/pom.xml b/external/kinesis-asl/pom.xml index 3bb8034..57809ff 100644 --- a/external/kinesis-asl/pom.xml +++ b/external/kinesis-asl/pom.xml @@ -25,7 +25,6 @@ </parent> <!-- Kinesis integration is not included by default due to ASL-licensed code. --> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming-kinesis-asl_2.11</artifactId> <packaging>jar</packaging> <name>Spark Kinesis Integration</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/external/spark-ganglia-lgpl/pom.xml ---------------------------------------------------------------------- diff --git a/external/spark-ganglia-lgpl/pom.xml b/external/spark-ganglia-lgpl/pom.xml index 34cbd9a..fab409d 100644 --- a/external/spark-ganglia-lgpl/pom.xml +++ b/external/spark-ganglia-lgpl/pom.xml @@ -25,7 +25,6 @@ </parent> <!-- Ganglia integration is not included by default due to LGPL-licensed code --> - <groupId>org.apache.spark</groupId> <artifactId>spark-ganglia-lgpl_2.11</artifactId> <packaging>jar</packaging> <name>Spark Ganglia Integration</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/graphx/pom.xml ---------------------------------------------------------------------- diff --git a/graphx/pom.xml b/graphx/pom.xml index c04580c..bd4e533 100644 --- a/graphx/pom.xml +++ b/graphx/pom.xml @@ -25,7 +25,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-graphx_2.11</artifactId> <properties> <sbt.project.name>graphx</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/launcher/pom.xml ---------------------------------------------------------------------- diff --git a/launcher/pom.xml b/launcher/pom.xml index 3db649b..6023cf0 100644 --- a/launcher/pom.xml +++ b/launcher/pom.xml @@ -26,7 +26,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-launcher_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Launcher</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/mllib-local/pom.xml ---------------------------------------------------------------------- diff --git a/mllib-local/pom.xml b/mllib-local/pom.xml index 3816a15..8c985fd 100644 --- a/mllib-local/pom.xml +++ b/mllib-local/pom.xml @@ -25,7 +25,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-mllib-local_2.11</artifactId> <properties> <sbt.project.name>mllib-local</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/mllib/pom.xml ---------------------------------------------------------------------- diff --git a/mllib/pom.xml b/mllib/pom.xml index c7a9036..4484998 100644 --- a/mllib/pom.xml +++ b/mllib/pom.xml @@ -25,7 +25,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-mllib_2.11</artifactId> <properties> <sbt.project.name>mllib</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/repl/pom.xml ---------------------------------------------------------------------- diff --git a/repl/pom.xml b/repl/pom.xml index 5a288b0..4e623a6 100644 --- a/repl/pom.xml +++ b/repl/pom.xml @@ -25,7 +25,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-repl_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project REPL</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/sql/catalyst/pom.xml ---------------------------------------------------------------------- diff --git a/sql/catalyst/pom.xml b/sql/catalyst/pom.xml index 34ea0a7..82b49eb 100644 --- a/sql/catalyst/pom.xml +++ b/sql/catalyst/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-catalyst_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Catalyst</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/sql/core/pom.xml ---------------------------------------------------------------------- diff --git a/sql/core/pom.xml b/sql/core/pom.xml index 627558d..b275263 100644 --- a/sql/core/pom.xml +++ b/sql/core/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-sql_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project SQL</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/sql/hive-thriftserver/pom.xml ---------------------------------------------------------------------- diff --git a/sql/hive-thriftserver/pom.xml b/sql/hive-thriftserver/pom.xml index 9ee8d6a..819897c 100644 --- a/sql/hive-thriftserver/pom.xml +++ b/sql/hive-thriftserver/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-hive-thriftserver_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Hive Thrift Server</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/sql/hive/pom.xml ---------------------------------------------------------------------- diff --git a/sql/hive/pom.xml b/sql/hive/pom.xml index d9d8b2e..2be99cb 100644 --- a/sql/hive/pom.xml +++ b/sql/hive/pom.xml @@ -26,7 +26,6 @@ <relativePath>../../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-hive_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project Hive</name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/streaming/pom.xml ---------------------------------------------------------------------- diff --git a/streaming/pom.xml b/streaming/pom.xml index 31a5fe6..07a0dab 100644 --- a/streaming/pom.xml +++ b/streaming/pom.xml @@ -25,7 +25,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-streaming_2.11</artifactId> <properties> <sbt.project.name>streaming</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/tools/pom.xml ---------------------------------------------------------------------- diff --git a/tools/pom.xml b/tools/pom.xml index 86a3ba8..b9be8db 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -24,7 +24,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-tools_2.11</artifactId> <properties> <sbt.project.name>tools</sbt.project.name> http://git-wip-us.apache.org/repos/asf/spark/blob/21a6dd2a/yarn/pom.xml ---------------------------------------------------------------------- diff --git a/yarn/pom.xml b/yarn/pom.xml index f4a85cd..64ff845 100644 --- a/yarn/pom.xml +++ b/yarn/pom.xml @@ -24,7 +24,6 @@ <relativePath>../pom.xml</relativePath> </parent> - <groupId>org.apache.spark</groupId> <artifactId>spark-yarn_2.11</artifactId> <packaging>jar</packaging> <name>Spark Project YARN</name> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org