Packaging Kauri applications

While developing a Kauri application, you will typically launch Kauri from the command line. Kauri will automatically read the kauri.xml file from 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:

  • a kauri.xml file
  • a repository containing all the artifacts (jars) used by the project: your own used modules, reused Kauri modules, and their dependencies

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:

Comments (0)