Karaf EIK uses Maven as its build tool.



A normal build

mvn install

Doing a Quick Build

The following avoids running all the unit test cases, we just skip the test running phase and not the building part

mvn -Dmaven.test.skip=true clean install


mvn -DskipTests clean install 

Building source jars

If you want to build jar files with the source code, that for instance Eclipse can important so you can debug the Karaf code as well. Then you can run this command from the karaf root folder:

mvn clean source:jar install -Dtest=false