Sorry for the misdirection -- I'm a bit surprised that the ear plugin
supports this functionality. Shows how much I've used Maven + JBoss...
;-)

You may need to poke around in the code for maven-ear-plugin and see
exactly how it is creating the jboss-app.xml file etc.

Wayne

On 1/25/08, elaroche <[EMAIL PROTECTED]> wrote:
>
> the ear plugin is supposed to do that, just have a look at that :
> http://maven.apache.org/plugins/maven-ear-plugin/examples/generating-jboss-app.html
> and in
> http://maven.apache.org/plugins/maven-ear-plugin/usage.html
> where it says :
>
> data-sources: specify the desired data source(s) to add into the
> jboss-app.xml, usage is as follows:
> <configuration>
>  <jboss>
>    [...]
>    <data-sources>
>      <data-source>main-ds.xml</data-source>
>      <data-source>config/secondary-ds.xml</data-source>
>      [...]
>    </data-sources>
>  </jboss>
> </configuration>
>
>
> but it doesn't seam to work
>
>
> Wayne Fay wrote:
> >
> > 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
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/jboss-data-source-not-included-in-jboss-app.xml-tp15061842s177p15083435.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