Kauri Documentation
 PreviousHomeNext 
17.3.2 Enable usage of semi-static resourcesBook Index18.1.2 Usage

18 Packaging Kauri applications

While developing a Kauri application, you will typically launch Kauri from the command line. Kauri will by default use the conf directory in the current directory, and retrieve all needed artifacts from your local Maven repository. Because of this, no special packaging is needed to run an application during development, reducing the build-run cycle.

However, at some point, you will have to package your application to distribute it to the users or to put it on some server for deployment.

A packaged Kauri application consists minimally of:

Besides that, it can also include logging configuration, application configuration, Java service wrapper configuration, documentation, and any other resources needed by your application.

There are basically two approaches:

18.1 Packaged Kauri application

18.1.1 What it is

A packaged Kauri application consists of a directory containing everything to run your application, except for Kauri itself.

It has no new concepts or features of its own, it is just a standard method for packaging a Kauri application.

[todo: still needs work: The directory can also contain documentation, installation scripts, and any other resources needed by your application]

A packaged Kauri application can be created by means of the Maven plugin kauri-package-plugin.

 PreviousHomeNext 
17.3.2 Enable usage of semi-static resources18.1.2 Usage