How to package software built with Maven in Debian


The answer is maven-debian-helper. This tool must always be added to Build-Depends in debian/control when you want to package a pure Maven-based project.

The most important Debian specific packaging files are:

More information and how they function are available at See also the Maven examples