This document describes how to work on the Unix Maven plugin itself.
The plugin use the Shitty plugin to run the
integration tests. To run the tests execute Maven with the integration-tests profile like this:
mvn clean install -Pintegration-tests
Note that this require all the packaging tools to be available for all platforms. If you only want to run a subset of the integration tests, use the "-Dits" setting like this:
mvn -Dits=test-dpkg-*/pom4test.xml integration-test
By implementing the external tools required to create the System V packages it would be possible to use this plugin on all platforms.
The pkg file format is basically a header describing all the packages (a package data stream can contain many packages) and a set of CPIO archives concatinated after each other.