Chapter 2. Setting Up Your Project

This guide will help developers use eXo Platform successfully for their projects. It introduces eXo architecture and gives step-by-step instructions for building your own custom portal based on eXo Platform.

Note

While this document covers the most common tasks used when developing on eXo Platform, it is not a complete reference document. The full Reference Guide is available in the delivery package and is linked rather than replicated here.

Requirements:

Environment:

Add a system environment variable MAVENOPTS (it could be in a .profile startup script on Linux/MacOS operating systems or in global environment variables panel on Windows).

set MAVEN_OPTS=-Xshare:auto -Xms128M -Xmx1G -XX:MaxPermSize=256M
export MAVEN_OPTS="-Xshare:auto -Xms128M -Xmx1G -XX:MaxPermSize=256M"

Maven settings:

Save the file settings.xml in HOME/.m2/settings.xml http://wiki.exoplatform.org/xwiki/bin/download/Main/Building%20from%20sources/settings.xml

Edit and change the local-properties profile:

Note: If you have an existing file settings.xml, you can merge them all together. At the minimum, you will need the following: