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

Declare the 'assembly' module at the bottom of the <modules> element in the parent POM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • None
    • None
    • Build, Deploy

    Description

      For multiple-modules projects, Maven follows those execution order rules:
      http://maven.apache.org/guides/mini/guide-multiple-modules.html

      If no explicit dependencies are declared Maven will follow the order declared in the <modules> element.

      Because the 'assembly' module is responsible to aggregate build artifacts from other modules/project it make sense to be run last in the execution chain.

      At the moment the 'assembly' stays before modules like 'examples' which makes it impossible to generate DEP package that contains the examples jar.

      IMHO the 'assembly' needs to be kept at the bottom of the <modules> list.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tzolov Christian Tzolov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: