Hello,
I think you just need to declare src/main/application as a resource
folder in your pom -
<resources>
<resource>
<directory>src/main/application</directory>
</resource>
and it should work exactly as src/main/resources does.
Yours,
David Bernhard
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 18 June 2008 07:54
> To: Maven Users List
> Subject: location of application.xml?
>
> I'm not sure when you put META-INF\application.xml.
>
> Does it go under src\main\resources or src\main\application?
>
> mvn eclipse:eclipse generates a source dir reference to
> src\main\application, and that is what it appears to need to
> be able to
> run the test app in the environment.
>
> However, although maven generates a correct application.xml
> (one that uses
> the correct version numbers from the war/ejb modules) it does
> not put it
> in the generated ear file - not if I use
> src\main\application. If I use
> src\main\application then it uses what is in the file system and not
> generate one.
>
> Which almost makes me take the approach of using both
> src\main\resources
> and src\main\application - yuk!
>
> Which is correct?
>
> -Chris
>
>
> **********************************************************************
> CAUTION - This message is intended for the addressee named
> above. It may contain privileged or confidential information.
>
> If you are not the intended recipient of this message you must:
> - Not use, copy, distribute or disclose it to anyone other
> than the addressee;
> - Notify the sender via return email; and
> - Delete the message (and any related attachments) from your
> computer immediately.
>
> Internet emails are not necessarily secure. Australian
> Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI),
> and its related entities, do not accept responsibility for
> changes made to this message after it was sent.
>
> Unless otherwise stated, views expressed within this email
> are the author's own and do not represent those of AAMI.
> **********************************************************************
>
> ---------------------------------------------------------------------
> 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]