Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mike10004/debian-maven-plugin

Maven plugin that creates .deb package files for Debian/Ubuntu
https://github.com/mike10004/debian-maven-plugin

deb debian-packaging maven-plugin

Last synced: 15 days ago
JSON representation

Maven plugin that creates .deb package files for Debian/Ubuntu

Awesome Lists containing this project

README

        

[![Maven Central](https://img.shields.io/maven-central/v/com.github.mike10004/debian-maven-plugin.svg)](https://repo1.maven.org/maven2/com/github/mike10004/debian-maven-plugin/)

# debian-maven-plugin

Maven plugin wrapper around Debian utilities for building `.deb` packages.

## Quick Start

Use Maven plugins to copy resources and dependencies into
`${project.build.directory}/deb`. Everything in that directory will be
included in the package. For example, you might include a directory structure
like this:

* `deb`
+ `usr`
+ `bin`
+ `hello-world.sh`
+ `share`
+ `hello-world`
+ `data.txt`
+ `etc`
+ `hello-world`
+ `config.ini`

Then add a build plugin execution as follows:


com.github.mike10004
debian-maven-plugin
3.2


build-deb
package

package


hello-world
Hello World
1
https://example.com/
Unorganized Developers
Jane Doe
[email protected]

default-jre-headless




## More examples

See the projects under the `debian-maven-plugin-examples` directory.

## Changelog

### 3.3

* add support for links files, emulating *dh_link* functionality from debuild

### 3.2

* parse symbolic links in output of `dpkg-deb --contents`
* resolve package-privateness of exceptions thrown by analyst

### 3.1

* remove support for automatic detection of included artifacts
* support arbitrary packaging files (e.g. `postinst`)
* support custom `dpkg-deb --build` arguments and environment variables

### 1.1.0

* avoid printing messages from executed processes at the *warn* level in build
log; use `legacy` if you liked
the old behavior

### 1.0.9 and lower

* Code forked from https://sourceforge.net/projects/debian-maven/ by
[wowtor](https://sourceforge.net/u/wowtor/profile/)