JBoss.orgCommunity Documentation
Before setting up a complete project/extension, you need to have knowledge of how to install a Maven project.
Requirements
JDK (Java Development Kit) 6.0
SVN 1.6+
Maven 2.2.1+
Tomcat 6.0.32 or JBoss EAP 5.1.1
Install and configure Maven
You need to add a system environment variable MAVEN_OPTS (it could be in a .profile startup script on Linux/MacOS operating systems or in the global environment variables panel on Windows).
Windows:
set MAVEN_OPTS=-Xshare:auto -Xms128M -Xmx1G -XX:MaxPermSize=256M
Linux/MacOS:
export MAVEN_OPTS="-Xshare:auto -Xms128M -Xmx1G -XX:MaxPermSize=256M"
Maven settings
1. Save the settings.xml file to the HOME/.m2/settings.xml path.
2. Edit and change the local-properties profile, including:
exo.projects.directory.dependencies contains the application servers, and Openfire.
each exo.projects.app.AS-NAME.version contains the name and version of the application servers.
If the settings.xml file has been existing, you can merge them. You will need the followings:
The local-properties profile, which defines properties, is used to build application server distributions of our products.
The repository to download our dependencies.
In Linux environments, the ulimit limits the system-wide resource used. When running eXo Platform, you may get the error message about "Too many open files" because the ulimit had limited the opened files. By default, the number of open files is limited to "1024". You should execute the command "ulimit -n 8196" as root before starting the server to avoid this issue.
See also