UNDER CONSTRUCTION
Download, install and configure Maven
Info |
---|
Help is available by sending an email to csf-support@mit.edu |
Panel | ||||||
---|---|---|---|---|---|---|
Quick Links to:
|
Panel | |||||
---|---|---|---|---|---|
Download and Install Maven
| 2 | ||||
h4. *Download* |
| ||
Maven usually comes pre-installed on your MAC. Verify that Maven is installed by opening a terminal window and typing the command line: *mvn --version*. If Maven is installed, you should get something similar to:
|
indent | ||||
---|---|---|---|---|
| ||||
Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: /usr/share/maven
Java version: 1.6.0_31, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
|
indent | ||||
---|---|---|---|---|
| ||||
If you got something similar to the above, you can skip this section and go to the [*Configure Maven* | #Configure Maven] section.
|
Scroll down until you reach the Oracle Containers for J2EE section and click on Pure Java. The Oracle Application Server 10g Software Downloads will be displayed.
Accept the License Agreement, then click on the Oracle Containers for J2EE 10g (OC4J) link. The download of the oc4j_extended_101350.zip file will start. Save this zip file on your workstation.
Install
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.
Configure
Edit the file ${ORACLE_HOME}/j2ee/home/config/system-application.xml and change: 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.indent | ||||
---|---|---|---|---|
| ||||
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"
|
indent | ||||
---|---|---|---|---|
| ||||
\[INFO] ------------------------------------------------------------------------
\[INFO] BUILD SUCCESSFUL
\[INFO] ------------------------------------------------------------------------
\[INFO] Total time: 58 seconds
\[INFO] Finished at: Thu May 31 10:23:25 EDT 2012
\[INFO] Final Memory: 11M/981M
\[INFO] ------------------------------------------------------------------------
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Configure Maven
|