Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5189

Provide a way to specify module ordering when they are activated in profiles.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • Reactor and Workspace
    • None

    Description

      In our project, sub-modules are activated in profiles.
      However, due to unflexible way Maven orders profiles, it's not possible to enforce certain submodule being run last. Only possibility is to move it one level above.

      My suggestion is to allow specifying modules order in which they would run iif they are activated:

      <modulesOrder>
        <module>module1<module>
        <module>module2<module>
        <otherModules/>
        <module>lastButOneModule</module>
        <module>lastModule</module>
      </modulesOrder>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pekarna Ondra Žižka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: