Create a new Maven project

The easiest way to get started is to use the karaf-bundle-archetype to create a new Maven project, which generates a bundle artifact that works in a Karaf container.

mvn archetype:generate \
  -DarchetypeGroupId=org.apache.karaf.archetypes \
  -DarchetypeArtifactId=karaf-bundle-archetype \
  -DarchetypeVersion=2.2.11 \
  -DgroupId=your.company \
  -DartifactId=your-artifact-id \
  -Dversion=1.0-SNAPSHOT \
  -Dpackage=your.company.package \

Last updated

Was this helpful?