How to package software built with Maven in Debian

maven-debian-helper

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 https://wiki.debian.org/Java/MavenRepoHelper. See also the Maven examples