Skip to content

Developping Requirements

Laurent Jourdren edited this page Mar 2, 2016 · 5 revisions

Eoulsan development requirements

To develop an Eoulsan plugin, you need:

  • A Linux 64 bit (x86-64) distribution (e.g. Ubuntu, Debian, Fedora...). Ubuntu 14.04 LTS or greater is recommended to use Docker. You can develop on other system (e.g. Windows or OS X) but your plug-in will not run with Eoulsan.
  • A Java 7 SDK
  • Maven 3.2.x
  • An IDE like Eclipse or Intellij IDEA (Optional)
  • Docker 1.x (Optional)
  • An Internet connection to connect to git, maven and Docker repositories

Installation with Ubuntu packages

If you use Ubuntu 14.04 (Trusty Tahr), you can install all the requirements with the next command line:

$ sudo apt-get install openjdk-7-jdk maven eclipse-jdt

Maven configuration

Warning: Some Maven 3 version cannot compile Eoulsan, so we recommend to install Maven 3.2.3 that has been successfully tested.

To compile Eoulsan, the default memory allocated by Maven is not enough. Your must set the environment variable MAVEN_OPTS to do this. To change this variable using bash use the built-in command export (512MiB or 1GiB is a good amount of memory of Maven):

$ export MAVEN_OPTS=-Xmx1024m