elharo commented on issue #398:
URL: 
https://github.com/apache/maven-ear-plugin/issues/398#issuecomment-5103842319

   per Gemini:
   
   If you look closely at the current API and documentation for the latest 
maven-ear-plugin (version 3.4.0), the includeInApplicationXml property is still 
explicitly restricted to JarModule. It is not present in the base 
AbstractEarModule class, meaning you still cannot configure this property for a 
webModule, ejbModule, or any other standard Java EE module.
   
   The standard behavior of the plugin is—and always has been—to automatically 
include standard modules (like WARs and EJBs) in the generated application.xml. 
However, the original reporter's goal was the exact opposite: they wanted the 
ability to package a webModule inside the EAR without it being automatically 
written into the application.xml. They wanted the toggle exposed for all 
modules so they could set includeInApplicationXml=false, leaving the deployment 
team to manually configure the XML based on the specific deployment environment.
   
   Because standard modules still lack this configuration toggle and cannot be 
omitted from the generated deployment descriptor without being entirely 
excluded from the EAR archive, the issue remains a valid, unresolved feature 
request.


-- 
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]

Reply via email to