Details
Description
(I hope this is not a duplicate. I searched JIRA but didn't find anything that looked like one.)
In a multi-module project, profiles that are activated only for sub-modules (not the parent project) are omitted from execution during release:perform. In my specific case, I have a large, multi-module project in which one of the sub-modules is there to create an assembly during release. Since I only want it to run during release, I've placed that into a profile in the sub-module's pom.xml. When I run release:perform, I activate the profile. However, the profile is never executed.
Workaround: By adding a dummy profile to the parent pom.xml, I was able to get release:perform to operate as desired.
I'm afraid I don't have an example to upload, at this time. If I can find the time, I'll try to create one and come back to upload it.
Attachments
Attachments
Issue Links
- is related to
-
MRELEASE-571 When collecting active profiles, the active profiles from parent poms are not considered
- Closed