Chapter 2. Setting Up Your Project

This section will help you apply eXo Platform to your projects successfully by introducing eXo architecture and giving step-by-step instructions for you to build your own custom portal based on eXo Platform.

Requirements:

Install and configure Maven:

You need to add a system environment variable MAVENOPTS (it could be in a .profile startup script on Linux/MacOS operating systems or in the 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:

Do as follows:

Step 1: Save the file settings.xml in HOME/.m2/settings.xml

Step 2: Edit and change the local-properties profile, including:

Note:

If the settings.xml file has been existing, you can merge them all together. You will need the followings: