diff options
author | Xin Ren <iamshrek@126.com> | 2016-07-19 11:59:46 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-07-19 11:59:46 +0100 |
commit | 21a6dd2aef65a23d92f93c43fa731c0505250363 (patch) | |
tree | 8a5590b9b3200a2263d2279ba3e0d0350b48a198 /examples/pom.xml | |
parent | 556a9437ac7b55079f5a8a91e669dcc36ca02696 (diff) | |
download | spark-21a6dd2aef65a23d92f93c43fa731c0505250363.tar.gz spark-21a6dd2aef65a23d92f93c43fa731c0505250363.tar.bz2 spark-21a6dd2aef65a23d92f93c43fa731c0505250363.zip |
[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 <iamshrek@126.com>
Closes #14189 from keypointt/SPARK-16535.
Diffstat (limited to 'examples/pom.xml')
-rw-r--r-- | examples/pom.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/pom.xml b/examples/pom.xml index 6b9b94454b..90bbd3fbb9 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> |