[
http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100378
]
Stephane Nicoll commented on MEAR-52:
-------------------------------------
According to Adrian Brock, the supported solution is as follows:
{quote}
So for future compatibility, the correct mechanism for non-spec
deployments is to add a META-INF/jboss-app.xml
<jboss-app>
<module>
<service>mydatasource-ds.xml</service>
</module>
</jboss-app>
{quote}
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira