Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /opt/homebrew/Cellar/maven/3.9.5/libexec
Java version: 11.0.21, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home
Default locale: en_DE, platform encoding: UTF-8
OS name: "mac os x", version: "14.1.1", arch: "aarch64", family: "mac"Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: /opt/homebrew/Cellar/maven/3.9.5/libexec Java version: 11.0.21, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home Default locale: en_DE, platform encoding: UTF-8 OS name: "mac os x", version: "14.1.1", arch: "aarch64", family: "mac"
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