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

Modules not properly ordered for profile enabled dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • Profiles
    • None

    Description

      I have the following multimodule project:

      Module A
      Module B
      Module C
      

      Module C is only active in profile myProfile.
      A profile with the same id also makes module B dependent on module C.

      Without the profile being active the modules are built in the order Module A, B (which is fine). But with profile myProfile being active the order is Module A, B, C which is incorrect as B depends on C (only conditionally within the profile).

      Example project https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/3208

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: