Various people have requested that we post some sort of demo or guide to re-branding Apache Karaf shell console, so in this post I'm going to do just that.
To start we will create a new directory 'branding' and in that folder create a simple pom file that will build our branding jar. The important entry is to export 'org.apache.karaf.branding' in our jar.
branding.properties' file. This is a text file which contains some mark ups for text appearance. The basic layout would be 'src/main/resources/org/apache/karaf/branding/branding.properties'.
After completing the above two steps your branding project should have the following layout:
To build the branding jar type 'mvn install'.
To deploy the new branding copy the branding jar inside of the target folder to $KARAF_HOME/lib.
Finally to enable Karaf to use this new branding jar you'll have to edit $KARAF_HOMR/etc/custom.properties to include the following entry:
org.osgi.framework.system.packages.extra = \
The demo described above has been included in trunk and should appear in the next release of Karaf.