Building Camel from Source
Camel uses Maven as its build and management tool. If you don’t fancy using Maven you can use your IDE directly or Download a distribution or JAR.
To build camel maven has to be configured to use more memory
export MAVEN_OPTS="-Xms2048m -Xmx3584m"
set MAVEN_OPTS="-Xms2048m -Xmx3584m"
The following skips building the manual, the distro and does not execute the unit tests, which can complete in less than 10 minutes.
mvn clean install -Pfastinstall
mvn clean install -Pfastinstall,format,sourcecheck
To enable source style checking with checkstyle, build Camel with the
mvn clean install -Psourcecheck