Anchor |
---|
| Configure your Maven settings.xml for Tomcat |
---|
| Configure your Maven settings.xml for Tomcat |
---|
|
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. - Open ${user.home}/.m2/settings.xml with a text editor.
- In the settings.xml file, find:
Code Block |
---|
<tomcat.username>script</tomcat.username>
| 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 Block |
---|
<tomcat.password>XXXXXXXX</tomcat.password>
| 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.
|