Contributor guide

Prerequisites

  • git

  • GraalVM with native-image command installed and GRAALVM_HOME environment variable set, see Building a native executable section of the Quarkus documentation.

  • If your are on Linux, docker is sufficient for the native mode too. Use -Pnative,docker instead of -Pnative if you choose this option.

  • Java 11 for Camel Quarkus < 3.0.0 and then Java 17 for Camel Quarkus >= 3.0.0

  • Maven 3.8.2+ (unless you use the Maven Wrapper, a.k.a. mvnw available in the source tree).

How to build

Checkout the code

$ git clone https://github.com/apache/camel-quarkus.git
$ cd camel-quarkus

A fast build without tests and various checks:

$ mvn clean install -Dquickly

A build with integration tests in the JVM mode only:

$ mvn clean install

A build with integration tests in both the JVM mode and the native mode:

$ mvn clean install -Pnative
You may want to install and use mvnd - the Maven Daemon for faster builds.