Problems with ear packaging and existing jboss-app.xml

2007-07-30 Thread Todd Nine
Hi all,
  I'm running into a pretty big issue with the ear plugin.  I'm creating an
ear for JBoss with an existing jboss-app.xml file.  I need to have special
classloading directives, and they're not available in the file that's
generated by the plugin.  Whenever the plugin runs, it never packages my
file src/main/resources/META-INF/jboss-app.xml.  Any idea on how to get
around this?  I'm using a different version of Hibernate than JBoss 4.02 and
my app blows up unless I deploy with scoped classloaders.

Thanks,
Todd


Re: Problems with ear packaging and existing jboss-app.xml

2007-07-30 Thread Wayne Fay
src/main/resources is not the correct (default) directory to use for
EARs resources.

As stated on [1], the correct directory is src/main/application.

Try that and report back!

[1] http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html

Wayne

On 7/30/07, Todd Nine [EMAIL PROTECTED] wrote:
 Hi all,
  I'm running into a pretty big issue with the ear plugin.  I'm creating an
 ear for JBoss with an existing jboss-app.xml file.  I need to have special
 classloading directives, and they're not available in the file that's
 generated by the plugin.  Whenever the plugin runs, it never packages my
 file src/main/resources/META-INF/jboss-app.xml.  Any idea on how to get
 around this?  I'm using a different version of Hibernate than JBoss 4.02 and
 my app blows up unless I deploy with scoped classloaders.

 Thanks,
 Todd


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