Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16535

pom.xml warning: "Definition of groupId is redundant, because it's inherited from the parent"

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: Build
    • Labels:
      None

      Description

      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
      

      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

        Attachments

          Activity

            People

            • Assignee:
              iamshrek Xin Ren
              Reporter:
              iamshrek Xin Ren
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: