Contributor guide
Prerequisites
-
git -
GraalVM with
native-imagecommand installed andGRAALVM_HOMEenvironment variable set, see Building a native executable section of the Quarkus documentation. -
If your are on Linux,
dockeris sufficient for the native mode too. Use-Pnative,dockerinstead of-Pnativeif 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.
mvnwavailable 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. |