You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

Download, install and configure your Maven settings.xml

${renderedContent}

Quick Links to:

Download and Install your Maven settings.xml

  • Download the settings.xml by right clicking on this link then select Save target as....  Navigate to your ${user.home}/.m2 directory and click Save.

Configure your Maven settings.xml for 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.

  1. Open ${user.home}/.m2/settings.xml with a text editor.
  2. In the settings.xml file, find:
    <tomcat.username>script</tomcat.username>
    
    and replace script with the username for the Tomcat manager-script user that you configured when you installed Tomcat.
  3. In the settings.xml file, find:
    <tomcat.password>XXXXXXXX</tomcat.password>
    
    and replace XXXXXXXX with the password for the Tomcat manager-script user that you configured when you installed Tomcat.
  4. When you are satisfied that everything is correct, save your changes.

Configure your Maven settings.xml for Oracle OC4J

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.

  1. Open ${user.home}/.m2/settings.xml with a text editor.
  2. In the settings.xml file, find:
    <tomcat.username>script</tomcat.username>
    
    and replace script with the username for the Tomcat manager-script user that you configured when you installed Tomcat.
  3. In the settings.xml file, find:
    <tomcat.password>XXXXXXXX</tomcat.password>
    
    and replace XXXXXXXX with the password for the Tomcat manager-script user that you configured when you installed Tomcat.
  4. When you are satisfied that everything is correct, save your changes.
  • No labels