As this plugin is bound to the lifecycle of the deb type, one would define her artifact like:
<project ...>
<groupId>be.hobbiton.app</groupId>
<artifactId>hiapp</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>deb</packaging>
</project>The plugin is activated in the <build> section, take care not to forget to enable extensions:
<build>
<plugins>
<plugin>
<groupId>be.hobbiton.maven</groupId>
<artifactId>linux-packaging-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build> When there's no Debian control file available in the DEBIAN folder, a control file will be generated based on the values in following table.
| Field name | config parameter | default value |
| Package | packageName | ${project.artifactId} |
| Version | version | ${project.version}, for SNAPSHOT versions, SNAPSHOT is replaced with a timestamp |
| Architecture | architecture | all |
| Installed-Size | none | calculated |
| Maintainer | maintainer | the first developer from the developer list or else the user.name system property |
| Description | descriptionSynopsis | ${project.name} |
| description | ${project.description} | |
| Homepage | homepage | ${project.url} |
| Section | section | |
| Priority | priority | |
| Depends | depends |