Developing the Solaris Maven Plugin

This document describes how to work on the Unix Maven plugin itself.

Running the Integration Tests

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

Wanted Features

pkgmk/pkgtrans implemented in java

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.

  • System ABI - Describes the package data stream file format
  • CPIO - Describes the CPIO file format.