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

Compare with Current View Page History

« Previous Version 38 Next »

UNDER CONSTRUCTION

Download, install and configure Maven

Download

${renderedContent}

Install and Configure

  1. 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.
  2. Download the serverTrustStore.jks and save it to a new folder (i.e. c:\keystores).
  3. 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:

    ${renderedContent}

    In the above, replace the /path/to with the actual path to the serverTrustStore.jks and replace XXXXXXXX with the actual serverTrustStore password.
  4. 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}

  5. 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}

  6. Finally, download the Maven settings.xml file to your ${user.home}/.m2 directory. Open the settings.xml file with a text editor and 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 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.
    ${renderedContent}
  • No labels