Hi everyone,

I'm trying to generate a ear containing a jboss-app.xml file which would
declare the datasource to use.

actually what I have is:
                <plugin>
                        <artifactId>maven-ear-plugin</artifactId>
                        <configuration>
                                
<defaultJavaBundleDir>/lib/</defaultJavaBundleDir>
                                <jboss>
                                        <version>4.2</version>
                                        <data-sources>
                                                
<data-source>mydatasource-ds.xml</data-source>
                                        </data-sources>
                                </jboss>                        
                        </configuration>
                </plugin>

but the generated jboss-app.xml is :
 <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-app PUBLIC
        "-//JBoss//DTD J2EE Application 1.4//EN"
        "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd";>
<jboss-app/>

The datasource referency is not included :confused:


I've been really looking everywhere without any success !!! any Idea ?
-- 
View this message in context: 
http://www.nabble.com/jboss-data-source-not-included-in-jboss-app.xml-tp15061842s177p15061842.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]

Reply via email to