Open ${user.home}/.m2/settings.xml with a text editor.
If you are using a Tomcat 7 standalone server do the following:
Find the following:
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.
Find the following:
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.
If you forgot either the manager-script username and/or password, you can find the username and password in the ${CATALINA_HOME}/conf/tomcat-users.xml file.
Find the following:
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.
If you are using an OC4J standalone server do the following: