--- Maven 2 Tomcat Plugin --- Mark Hobson --- November 21, 2005 Configuration If no explicit configuration is provided then the Tomcat plugin defaults to the following: * Tomcat manager URL of <<>> * Authentication details of username <<>> and no password * Context path of <<>> [] These can be overridden as described below. * Using a different Tomcat manager URL To configure the plugin for a different Tomcat instance, add a plugin configuration block to your pom.xml as follows: +-- org.codehaus.mojo tomcat-maven-plugin http://www.mydomain.com:1234/mymanager +-- The default Tomcat manager URL is <<>>. * Using different Tomcat manager authentication details To specify a different username and password to use when authenticating with Tomcat manager: [[1]] Add a plugin configuration block to your pom.xml: +-- org.codehaus.mojo tomcat-maven-plugin myserver +-- [[2]] Add a corresponding server block to your settings.xml: +-- myserver myusername mypassword +-- [] The default authentication details are username <<>> and no password. * Using a different context path The default context path is <<>>, which itself defaults to <<>>. The preferred way of changing the context path is to change the <<>> by adding the following to your pom.xml: +-- mycontext +-- Alternatively, a different context path can be specified by adding an explicit plugin configuration block to your pom.xml as follows: +-- org.codehaus.mojo tomcat-maven-plugin /mycontext +--