O'Reilly logo

Learning Apache Karaf by Heath Kesler, Johan Edstrom, Jamie Goodyear

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Custom command creation

The set of commands that come prebuilt into Apache Karaf are meant for the basic administration and monitoring of the runtime container (see Appendix, Apache Karaf Commands, for more in-depth command coverage). Some users, however, need to embed additional commands to augment their own applications. Apache Karaf provides a convenient methodology for expanding its collection of commands using Apache Maven archetypes. An archetype can be thought of as a maven-based project skeleton generator, in this case, all the setup is created to allow you to write your own Karaf command.

Karaf-command-archetype

When you invoke Apache Maven with the Karaf-command-archetype, a maven-based project will be generated for building a custom Karaf ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required