You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rice Yeh <ri...@gmail.com> on 2008/11/20 12:07:58 UTC
contents in webapp/META-INF are not packaged in the war
Hi,
I have a web project with some files under webapp/META-INF, like tomcat's
context.xml. I find they are not included in the result war file. I cannot
find any configuration parameter in war:war plugin.
Regards,
Rice
Re: contents in webapp/META-INF are not packaged in the war
Posted by Rice Yeh <ri...@gmail.com>.
Hi all,
Please ignore my question. It is my neglect to cause this problem.
Thanks,
Rice
On Thu, Nov 20, 2008 at 8:07 PM, Samuli Saarinen <samuli.saarinen@remion.com
> wrote:
> Rice Yeh wrote:
>
>> Hi,
>> I have a web project with some files under webapp/META-INF, like tomcat's
>> context.xml. I find they are not included in the result war file. I cannot
>> find any configuration parameter in war:war plugin.
>>
>
> Hello,
>
> Is this what you are looking for?
> http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
>
> Although with a quick test using maven 2.0.9 and war-plugin 2.1-alpha-1 a
> file under webapp/META-INF ends up in the war under META-INF
>
> -Samuli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: contents in webapp/META-INF are not packaged in the war
Posted by Samuli Saarinen <sa...@remion.com>.
Rice Yeh wrote:
> Hi,
> I have a web project with some files under webapp/META-INF, like tomcat's
> context.xml. I find they are not included in the result war file. I cannot
> find any configuration parameter in war:war plugin.
Hello,
Is this what you are looking for?
http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
Although with a quick test using maven 2.0.9 and war-plugin 2.1-alpha-1
a file under webapp/META-INF ends up in the war under META-INF
-Samuli
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org