{anchor:Configure your Maven settings.xml for Tomcat}
h4.Configure your Maven settings.xml for Tomcat
{warning}If you forgot either the Tomcat *manager-script* username and/or password, you can find the username and password in the $\{CATALINA_HOME}/conf/tomcat-users.xml file.{warning}
# Open *$\{user.home}/.m2/settings.xml* with a text editor.
# In the settings.xml file, find:
{code}
<tomcat.username>script</tomcat.username>
{code}
and replace *script* with the username for the Tomcat *manager-script* user that you configured when you installed Tomcat.
# In the settings.xml file, find:
{code}
<tomcat.password>XXXXXXXX</tomcat.password>
{code}
and replace *XXXXXXXX* with the password for the Tomcat *manager-script* user that you configured when you installed Tomcat.
# When you are satisfied that everything is correct, *save* your changes.
|