Download, install and configure Maven
${renderedContent}
Download
- Go to the Apache Maven Project download 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).
Install and Configure
${renderedContent}
MAVEN_OPTS=-Djavax.net.ssl.trustStore=/path/to/serverTrustStore.jks -Djavax.net.ssl.trustStorePassword="XXXXXXXX" -Xmx512m -Xms512m -XX:MaxPermSize=512m
${renderedContent}
- 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:
${renderedContent} - If the Maven installation has been verified in the above step, then initialize Maven by typing the command line: mvn plugin::help. Maven download will start and if everything download's correctly, something similar to the following should be displayed at the end of the download:
${renderedContent} - Finally, download the Maven settings.xml file to your ${user.home}/.m2 directory.
Open the settings.xml file with a text editor.
- In the line:
${renderedContent}
change the /path/to/oc4j/j2ee/home to the actual path to your OC4J installation j2ee/home directory.
- In the line:
${renderedContent}
change the XXXXXXXX to a password of your choosing. This is the password the is used to access the OC4J Admin Console.
- In the line: