[
https://issues.apache.org/jira/browse/MEJB-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595131#comment-14595131
]
Alex Alvarez commented on MEJB-82:
----------------------------------
Doesn't work if you want to create different deployments with slighty different
configurations. i.e. if you have multiple configurations, you will have to
create a POM for each one, even if you just need slight configuration changes.
projA/META-INF/ejb-jar.xml
projA/META-INF/weblogic-ejb-jar.xml
projB/META-INF/ejb-jar.xml
projB/META-INF/weblogic-ejb-jar.xml
projC/META-INF/ejb-jar.xml
projC/META-INF/weblogic-ejb-jar.xml
As most application servers require some sort of extension anyway the setting
where you can specify a single a ejb-jar.xml only works for the most simple of
cases.
> Ability to add additional files to the META-INF directory
> ---------------------------------------------------------
>
> Key: MEJB-82
> URL: https://issues.apache.org/jira/browse/MEJB-82
> Project: Maven EJB Plugin
> Issue Type: Improvement
> Affects Versions: 2.5
> Reporter: Alexandre Alvarez
> Assignee: Karl Heinz Marbaise
>
> Currently it is possible to specify the ejb-jar.xml to use via the ejbJar
> property. However, some containers require additional configuration files
> (i.e. weblogic-ejb-jar.xml), so it would be helpful to be able to specify a
> META-INF folder (with filters) to package.
> <metaInf>
> <include>projA/META-INF/ejb-jar.xml</include>
> <include>projA/META-INF/weblogic-ejb-jar.xml</include>
> </metaInf>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)