indent |
---|
|
Go to the [*Apache Maven Project download*|http://maven.apache.org/download.html] site. Scroll down until you reach the *Maven 2.2.1* section and select either *Maven 2.2.1 (Binary tar.gz)* or *Maven 2.2.1 (Binary zip)*. Select a Mirror and save the downloaded file on your workstation.
|
- Unzip/untar the binaries to a new folder (i.e. c:\maven\2.2.1). Add the path to the Maven bin directory to the system PATH environment variable. For example: add c:\maven\2.2.1\bin to the PATH environment variable.
- Download the serverTrustStore.jks and save it to a new folder (i.e. c:\keystores).
- To download Maven artifacts from the remote MIT maven repository (https://maven.mit.edu
), an SSL connection is required. For Maven to acquire an SSL connection, you must create a system environment variable MAVEN_OPTS and set it as below:
indent |
---|
|
*MAVEN_OPTS=-Djavax.net.ssl.trustStore=/path/to/serverTrustStore.jks -Djavax.net.ssl.trustStorePassword="XXXXXXXX" -Xmx512m -Xms512m -XX:MaxPermSize=512m*
|
In the above, replace the /path/to with the actual path to the serverTrustStore.jks and replace XXXXXXXX with the actual serverTrustStore password. - Verify the Maven installation by opening a CMD window and typying the command line: mvn --version. If everything is correct, something similar to the following should be displayed:
xxxx Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) Java version: 1.6.0_27 Java home: C:\Program Files\Java\jdk1.6.0_27\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
In your ${user.home} directory, create the directories oc4j/10.1.3.5.0 and unzip the oc4j_extended_101350.zip file to the ${user.home}/oc4j/10.3.5.0 directory. Create a system environmental variable ORACLE_HOME and set it's value to ${user.home}/oc4j/10.3.5.0. For example: if ${user.home}=/users/rstone, then ORACLE_HOME=/user/rstone/oc4j/10.1.3.5.0
You can actually unzip to any directory you desire. The only requirement is that all directory names cannot contain any white space. indent |
---|
h4. *Configure*
{indent:1}
Edit the file $\{ORACLE_HOME}/j2ee/home/config/system-application.xml and change:
|
|