You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sonar, Nishant" <ni...@wachovia.com> on 2007/10/10 19:43:21 UTC

package file in ear throug ear-plugin

Hi

 

I want to add a file 'aop.xml' to ear in the META-INF folder, is it
possible through 

Maven-ear-plugin?

 

 

xxx.ear 

|

|---META-INF

            |

            |----application.xml

            |---aop.xml (want toad this file here)

            |---abc.war

            |---pqr.war

            

Pleas help

 

-Nishant 


RE: package file in ear throug ear-plugin

Posted by "Sonar, Nishant" <ni...@wachovia.com>.
Thanks Wayene

I dont know how did I skip this thing...its written there...i fooled
myself

Regards,
Nishant

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: Wednesday, October 10, 2007 4:59 PM
To: Maven Users List
Subject: Re: package file in ear throug ear-plugin

As seen in the documentation:
http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html

The configuration you are looking for is "earSourceDirectory" which
defaults to ${basedir}/src/main/application. Try putting your file
there.

Wayne

On 10/10/07, Sonar, Nishant <ni...@wachovia.com> wrote:
> Hi
>
>
>
> I want to add a file 'aop.xml' to ear in the META-INF folder, is it
> possible through
>
> Maven-ear-plugin?
>
>
>
>
>
> xxx.ear
>
> |
>
> |---META-INF
>
>            |
>
>            |----application.xml
>
>            |---aop.xml (want toad this file here)
>
>            |---abc.war
>
>            |---pqr.war
>
>
>
> Pleas help
>
>
>
> -Nishant
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: package file in ear throug ear-plugin

Posted by Wayne Fay <wa...@gmail.com>.
As seen in the documentation:
http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html

The configuration you are looking for is "earSourceDirectory" which
defaults to ${basedir}/src/main/application. Try putting your file
there.

Wayne

On 10/10/07, Sonar, Nishant <ni...@wachovia.com> wrote:
> Hi
>
>
>
> I want to add a file 'aop.xml' to ear in the META-INF folder, is it
> possible through
>
> Maven-ear-plugin?
>
>
>
>
>
> xxx.ear
>
> |
>
> |---META-INF
>
>            |
>
>            |----application.xml
>
>            |---aop.xml (want toad this file here)
>
>            |---abc.war
>
>            |---pqr.war
>
>
>
> Pleas help
>
>
>
> -Nishant
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org