Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Info

Help is available by sending an email to csf-support@mit.edu
Have any suggestion on how improve this wiki?  Please give us your feedback at csf-support@mit.edu

Panel
Wiki Markup

Quick Links to:

{toc
:minLevel
=4
|maxLeve
=4}
Panel

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
Panel
Wiki Markup

{anchor:Configure your Maven 
Anchor
settings.xml for
TomcatConfigure your Maven settings.xml for TomcatConfigure your Maven
 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.
Open $
{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.
Configure your Maven
Panel
Wiki Markup

{anchor
:Configure your Maven settings.xml for Oracle
OC4J
Configure your Maven settings.xml for Oracle OC4J
 OC4J}
h4.Configure your Maven settings.xml for Oracle OC4J

# Open *$\{user.home}/.m2/settings.xml* with a text editor.

#  In the settings.xml file, find:

{code
}
<oc4j.j2eeHome>/path/to/oc4j/j2ee/home</oc4j.j2eeHome>
{code}
and replace *path/to/oc4j* with the path to j2ee/home directory of your installed OC4J standalone server.

#  In the settings.xml file, find:

{code
}
<oc4j.password>XXXXXXXX</oc4j.password>
{code}
and replace *XXXXXXXX* with the password for the oc4jadmin that you configured when you installed the OC4J standalone server.

# If you changed the default OC4J administrator name when you installed the OC4J standalone server, find

{code
}
<oc4j.username>oc4jadmin</oc4j.username>
{code}
and replace *oc4jadmin* with your new OC4J administrator user name.

# When you are satisfied that everything is correct, *save* your changes.