Install Maven 1.0.2

  1. Download Maven 1.0.2 - http://maven.apache.org/maven-1.x/start/download.html
    • Note - although Maven 2.0 is out and stable, it does not currently work with Sakai. This will change in Sakai 2.5.
  2. Extract to /opt (should create maven-1.0.2 folder)
  3. Set environment variable: MAVEN_HOME=/opt/maven-1.0.2
  4. Add $MAVEN_HOME/bin to PATH\
  5. Set the MAVEN_OPTS environment variable
    MAVEN_OPTS='-Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m'