There may be a JBoss plugin for M2 that would create the xml file for
you. This is certainly not a feature of the ear plugin.

If you can't find an existing plugin, you could always write your own,
or create the jboss-app.xml file manually.

Wayne

On 1/24/08, elaroche <[EMAIL PROTECTED]> wrote:
>
> thanks for your reply.
>
> actually I don't want to include the datasource xml file in the ear. I need
> it to stay outside from my ear. What I need is the jboss-app.xml file to
> refer to the jndi datasource name.
>
> I'm starting to look for a workaround (creating the jboss-app.xml myself to
> include in the ear) but it's not the "maven" way, well not the right way.
> I'd like maven to generate the jboss-app.xml  properly.
>
>
> Manos Batsis wrote:
> >
> >
> > AFAIK you don't need to use jboss-app.xml, you can add a module in
> > application.xml [1]. Also check out [2].
> >
> > [1] http://www.theserverside.com/discussions/thread.tss?thread_id=34977
> > [2] http://jira.codehaus.org/browse/MEAR-52
> >
> > hth,
> >
> > Manos
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/jboss-data-source-not-included-in-jboss-app.xml-tp15061842s177p15062684.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to