You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nodje <no...@gmail.com> on 2009/08/20 10:10:50 UTC
Tomcat Maven Plugin doesn't seem to take
webapps/META-INF/context.xml into account
I'm trying to make use of context.xml with the Tomcat Maven Plugin.
Whether I use tomcat:run or tomcat:deploy, it invariably deploys to a
context based on the pom's artifactId an not to the context path specified
in the webapps/META-INF/context.xml.
Has anyone met the issue?
--
View this message in context: http://www.nabble.com/Tomcat-Maven-Plugin-doesn%27t-seem-to-take-webapps-META-INF-context.xml-into-account-tp25057794p25057794.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Tomcat Maven Plugin doesn't seem to take webapps/META-INF/context.xml
into account
Posted by Olivier Lamy <ol...@apache.org>.
Hi,
Try to use path configuration field in the deploy [1].
I usually use this.
--
Olivier
[1] : http://mojo.codehaus.org/tomcat-maven-plugin/deploy-mojo.html
2009/8/20 nodje <no...@gmail.com>:
>
> I'm trying to make use of context.xml with the Tomcat Maven Plugin.
>
> Whether I use tomcat:run or tomcat:deploy, it invariably deploys to a
> context based on the pom's artifactId an not to the context path specified
> in the webapps/META-INF/context.xml.
>
> Has anyone met the issue?
>
> --
> View this message in context: http://www.nabble.com/Tomcat-Maven-Plugin-doesn%27t-seem-to-take-webapps-META-INF-context.xml-into-account-tp25057794p25057794.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Olivier
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Tomcat Maven Plugin doesn't seem to take webapps/META-INF/context.xml
into account
Posted by Wes Wannemacher <we...@wantii.com>.
Did you try moving META-INF/context.xml to src/main/resources?
-Wes
On Thu, Aug 20, 2009 at 4:10 AM, nodje<no...@gmail.com> wrote:
>
> I'm trying to make use of context.xml with the Tomcat Maven Plugin.
>
> Whether I use tomcat:run or tomcat:deploy, it invariably deploys to a
> context based on the pom's artifactId an not to the context path specified
> in the webapps/META-INF/context.xml.
>
> Has anyone met the issue?
>
> --
> View this message in context: http://www.nabble.com/Tomcat-Maven-Plugin-doesn%27t-seem-to-take-webapps-META-INF-context.xml-into-account-tp25057794p25057794.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Wes Wannemacher
Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org