From 21a6dd2aef65a23d92f93c43fa731c0505250363 Mon Sep 17 00:00:00 2001 From: Xin Ren Date: Tue, 19 Jul 2016 11:59:46 +0100 Subject: [PATCH] [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. ``` org.apache.spark ``` As I just find now `3.3.9` 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 Closes #14189 from keypointt/SPARK-16535. --- 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(-) diff --git a/assembly/pom.xml b/assembly/pom.xml index 1b25b7c6afb0b..971a62f87a218 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -25,7 +25,6 @@ ../pom.xml - org.apache.spark spark-assembly_2.11 Spark Project Assembly http://spark.apache.org/ diff --git a/common/network-common/pom.xml b/common/network-common/pom.xml index b1a37e847216f..81f0c6e2265ae 100644 --- a/common/network-common/pom.xml +++ b/common/network-common/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-network-common_2.11 jar Spark Project Networking diff --git a/common/network-shuffle/pom.xml b/common/network-shuffle/pom.xml index 51c06b9e5a076..d211bd5bd194b 100644 --- a/common/network-shuffle/pom.xml +++ b/common/network-shuffle/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-network-shuffle_2.11 jar Spark Project Shuffle Streaming Service diff --git a/common/network-yarn/pom.xml b/common/network-yarn/pom.xml index d43eb71aa5f6a..606ad15739617 100644 --- a/common/network-yarn/pom.xml +++ b/common/network-yarn/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-network-yarn_2.11 jar Spark Project YARN Shuffle Service diff --git a/common/sketch/pom.xml b/common/sketch/pom.xml index 6f2fdd538f489..626f023a5b99c 100644 --- a/common/sketch/pom.xml +++ b/common/sketch/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-sketch_2.11 jar Spark Project Sketch diff --git a/common/tags/pom.xml b/common/tags/pom.xml index 842a1c80e0b80..1c60d510e5703 100644 --- a/common/tags/pom.xml +++ b/common/tags/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-tags_2.11 jar Spark Project Tags diff --git a/common/unsafe/pom.xml b/common/unsafe/pom.xml index 08af461f19640..45af98d94ef91 100644 --- a/common/unsafe/pom.xml +++ b/common/unsafe/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-unsafe_2.11 jar Spark Project Unsafe diff --git a/core/pom.xml b/core/pom.xml index 1b880d883d15d..04b94a258c71c 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -25,7 +25,6 @@ ../pom.xml - org.apache.spark spark-core_2.11 core diff --git a/examples/pom.xml b/examples/pom.xml index 6b9b94454ba04..90bbd3fbb9404 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -25,7 +25,6 @@ ../pom.xml - org.apache.spark spark-examples_2.11 jar Spark Project Examples diff --git a/external/flume-assembly/pom.xml b/external/flume-assembly/pom.xml index 9e0636e63b5d2..fb0292a5f11e0 100644 --- a/external/flume-assembly/pom.xml +++ b/external/flume-assembly/pom.xml @@ -25,7 +25,6 @@ ../../pom.xml - org.apache.spark spark-streaming-flume-assembly_2.11 jar Spark Project External Flume Assembly diff --git a/external/flume-sink/pom.xml b/external/flume-sink/pom.xml index 6b788d7da3882..5e9275c8e66d9 100644 --- a/external/flume-sink/pom.xml +++ b/external/flume-sink/pom.xml @@ -25,7 +25,6 @@ ../../pom.xml - org.apache.spark spark-streaming-flume-sink_2.11 streaming-flume-sink diff --git a/external/flume/pom.xml b/external/flume/pom.xml index 1b1105d763a03..7b68ca7373fe6 100644 --- a/external/flume/pom.xml +++ b/external/flume/pom.xml @@ -25,7 +25,6 @@ ../../pom.xml - org.apache.spark spark-streaming-flume_2.11 streaming-flume diff --git a/external/java8-tests/pom.xml b/external/java8-tests/pom.xml index a0923932908ee..1bc206e8675f1 100644 --- a/external/java8-tests/pom.xml +++ b/external/java8-tests/pom.xml @@ -24,7 +24,6 @@ ../../pom.xml - org.apache.spark java8-tests_2.11 pom Spark Project Java 8 Tests diff --git a/external/kafka-0-10-assembly/pom.xml b/external/kafka-0-10-assembly/pom.xml index 6c1a120c5e0f2..4f5045326a009 100644 --- a/external/kafka-0-10-assembly/pom.xml +++ b/external/kafka-0-10-assembly/pom.xml @@ -25,7 +25,6 @@ ../../pom.xml - org.apache.spark spark-streaming-kafka-0-10-assembly_2.11 jar Spark Integration for Kafka 0.10 Assembly diff --git a/external/kafka-0-10/pom.xml b/external/kafka-0-10/pom.xml index b38de96cd56bf..60afaa582b612 100644 --- a/external/kafka-0-10/pom.xml +++ b/external/kafka-0-10/pom.xml @@ -25,7 +25,6 @@ ../../pom.xml - org.apache.spark spark-streaming-kafka-0-10_2.11 streaming-kafka-0-10 diff --git a/external/kafka-0-8-assembly/pom.xml b/external/kafka-0-8-assembly/pom.xml index 4839ed4f427b4..bc02b8a66246a 100644 --- a/external/kafka-0-8-assembly/pom.xml +++ b/external/kafka-0-8-assembly/pom.xml @@ -25,7 +25,6 @@ ../../pom.xml - org.apache.spark spark-streaming-kafka-0-8-assembly_2.11 jar Spark Project External Kafka Assembly diff --git a/external/kafka-0-8/pom.xml b/external/kafka-0-8/pom.xml index 948b9f500a173..91ccd4a927e98 100644 --- a/external/kafka-0-8/pom.xml +++ b/external/kafka-0-8/pom.xml @@ -25,7 +25,6 @@ ../../pom.xml - org.apache.spark spark-streaming-kafka-0-8_2.11 streaming-kafka-0-8 diff --git a/external/kinesis-asl-assembly/pom.xml b/external/kinesis-asl-assembly/pom.xml index 09ca2c3aac0da..df528b3598024 100644 --- a/external/kinesis-asl-assembly/pom.xml +++ b/external/kinesis-asl-assembly/pom.xml @@ -25,7 +25,6 @@ ../../pom.xml - org.apache.spark spark-streaming-kinesis-asl-assembly_2.11 jar Spark Project Kinesis Assembly diff --git a/external/kinesis-asl/pom.xml b/external/kinesis-asl/pom.xml index 3bb80343f028a..57809ff692c28 100644 --- a/external/kinesis-asl/pom.xml +++ b/external/kinesis-asl/pom.xml @@ -25,7 +25,6 @@ - org.apache.spark spark-streaming-kinesis-asl_2.11 jar Spark Kinesis Integration diff --git a/external/spark-ganglia-lgpl/pom.xml b/external/spark-ganglia-lgpl/pom.xml index 34cbd9a620734..fab409d3e9f96 100644 --- a/external/spark-ganglia-lgpl/pom.xml +++ b/external/spark-ganglia-lgpl/pom.xml @@ -25,7 +25,6 @@ - org.apache.spark spark-ganglia-lgpl_2.11 jar Spark Ganglia Integration diff --git a/graphx/pom.xml b/graphx/pom.xml index c04580cb4696b..bd4e53371b86d 100644 --- a/graphx/pom.xml +++ b/graphx/pom.xml @@ -25,7 +25,6 @@ ../pom.xml - org.apache.spark spark-graphx_2.11 graphx diff --git a/launcher/pom.xml b/launcher/pom.xml index 3db649bd32518..6023cf0771862 100644 --- a/launcher/pom.xml +++ b/launcher/pom.xml @@ -26,7 +26,6 @@ ../pom.xml - org.apache.spark spark-launcher_2.11 jar Spark Project Launcher diff --git a/mllib-local/pom.xml b/mllib-local/pom.xml index 3816a15b142d9..8c985fd13ac06 100644 --- a/mllib-local/pom.xml +++ b/mllib-local/pom.xml @@ -25,7 +25,6 @@ ../pom.xml - org.apache.spark spark-mllib-local_2.11 mllib-local diff --git a/mllib/pom.xml b/mllib/pom.xml index c7a9036695ad6..4484998a49c8f 100644 --- a/mllib/pom.xml +++ b/mllib/pom.xml @@ -25,7 +25,6 @@ ../pom.xml - org.apache.spark spark-mllib_2.11 mllib diff --git a/repl/pom.xml b/repl/pom.xml index 5a288b064dee9..4e623a6ac1f1b 100644 --- a/repl/pom.xml +++ b/repl/pom.xml @@ -25,7 +25,6 @@ ../pom.xml - org.apache.spark spark-repl_2.11 jar Spark Project REPL diff --git a/sql/catalyst/pom.xml b/sql/catalyst/pom.xml index 34ea0a77f1477..82b49ebb21a44 100644 --- a/sql/catalyst/pom.xml +++ b/sql/catalyst/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-catalyst_2.11 jar Spark Project Catalyst diff --git a/sql/core/pom.xml b/sql/core/pom.xml index 627558dd32c35..b2752638bebd5 100644 --- a/sql/core/pom.xml +++ b/sql/core/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-sql_2.11 jar Spark Project SQL diff --git a/sql/hive-thriftserver/pom.xml b/sql/hive-thriftserver/pom.xml index 9ee8d6a36c427..819897cd46858 100644 --- a/sql/hive-thriftserver/pom.xml +++ b/sql/hive-thriftserver/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-hive-thriftserver_2.11 jar Spark Project Hive Thrift Server diff --git a/sql/hive/pom.xml b/sql/hive/pom.xml index d9d8b2e55960d..2be99cb1046f4 100644 --- a/sql/hive/pom.xml +++ b/sql/hive/pom.xml @@ -26,7 +26,6 @@ ../../pom.xml - org.apache.spark spark-hive_2.11 jar Spark Project Hive diff --git a/streaming/pom.xml b/streaming/pom.xml index 31a5fe6ab5e10..07a0dab0ee047 100644 --- a/streaming/pom.xml +++ b/streaming/pom.xml @@ -25,7 +25,6 @@ ../pom.xml - org.apache.spark spark-streaming_2.11 streaming diff --git a/tools/pom.xml b/tools/pom.xml index 86a3ba8086d9a..b9be8db684a90 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -24,7 +24,6 @@ ../pom.xml - org.apache.spark spark-tools_2.11 tools diff --git a/yarn/pom.xml b/yarn/pom.xml index f4a85cd2f3d31..64ff845b5ae9a 100644 --- a/yarn/pom.xml +++ b/yarn/pom.xml @@ -24,7 +24,6 @@ ../pom.xml - org.apache.spark spark-yarn_2.11 jar Spark Project YARN