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.
Prerequisites
-
Java 11
-
Maven Wrapper can be used and are bundled.
-
Otherwise, download and install Maven
-
Maven 3.8.x or newer is required to build Camel 3 onwards
-
-
Get the latest source from Github
Maven options
To build Camel maven has to be configured to use more memory, which is done automatically via
the .mvn/jvm.config
file.
A quick build without running tests
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
A normal build without running tests but auto formatting and checkstyle verification enabled
mvn clean install -Pfastinstall,format,sourcecheck