jira-importer commented on issue #307: URL: https://github.com/apache/maven-ear-plugin/issues/307#issuecomment-2955276863
**[Stephane Nicoll](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=snicoll)** commented You can't do that! You are overriding the modules section in both profile and since common-profile is first, it takes precendence. There is no merging of attributes in a plugin. Consider the list of modules the same as the description or display name for instance. If you set this value in both profile, you're not expecting a combination of the two values right? You should pay attention with the way you use profile, I don't think it is very safe and leads to reproductible build. Maybe you need the rethink the way you design your build. That being said, removing the empty modules in the default profile (?!) does what you expect. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
