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]