You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Todd Nine <to...@gmail.com> on 2007/07/30 21:28:01 UTC

Problems with ear packaging and existing jboss-app.xml

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

Posted by Wayne Fay <wa...@gmail.com>.
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 <to...@gmail.com> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org