Main Page

From MVN-PKG-PLUGIN

Jump to: navigation, search

Welcome to the Maven-Packaging-Plugin wiki!

This project provides a maven plugin for packaging maven projects to different targets. It supports on-the-fly generation of .deb, .ipk archives as well as the generation of IzPack-installer.

One of the goal of this plugin was the clean handling of maven dependencies. For the distribution specific packaging targets, the plugin is able to translate the maven dependencies to platform specific (e.g. debian dependencies).


Evolvis Project News

Evolvis Project News Highlights
  • mvn-pkg-plugin 2.0.3 improves compatibility
    Another problem[1] in the 2.0-series of the maven-packaging-plugin was detected wich caused generation of deb-packages which do not fully comply to Debian's filename-convention.

    Some APT-repository tools like debarchiver did not handle these packages correctly.

    [1] https://evolvis.org/tracker/index.php?func=detail&aid=175&group_id=30&atid=169
  • mvn-pkg-plugin 2.0.2 released
    The development team is proud to release version 2.0.2 of the maven-packaging-plugin. This bugfix release fixes a few issues with JNI libraries and provides updated package maps for Debian and Ubuntu distributions.

    The 2.x series of the plugin vastly enhances the packaging possibilities and puts the notion of a target distribution over the used packaging system. This means the packaging system is simply a property of the targeted distribution.

    The project's website has been updated to describe the new configuration options[0] and provides sample configurations[1].

    The bug fixes of the 2.0.2 release include:

    • jni library handling was flaky.
     If the package map said "/usr/lib/java:/usr/lib" this path was taken literary as the target directory for the JNI libraries. In this release we only use the <em>first</em> entry in the path.
    
    • SWT and Eclipse RCP Java package info was missing for Debian Lenny and newer Ubuntu distributions. This caused the use of the older (and not valid) info from Debian Etch being used (because of inheritance).
    • package info for a bunch of Apache Commons libraries have been added

    [0] - http://wiki.evolvis.org/mvn-pkg-plugin/index.php/Configuration

    [1] - http://wiki.evolvis.org/mvn-pkg-plugin/index.php/Sample_Configuration
  • maven packaging plugin is going public
    We are using this plugin for a while. Now that we think it is extremely useful, we have published it. So, use it and have fun.


Getting started

To use the plugin, you have to configure the evolvis maven plugin repository in your ~/.m2/settings.xml, or in the pom.xml of your project.

<pluginRepositories>
    <pluginRepository>
        <id>evolvis-release-repository</id>
        <name>evolvis.org release repository</name>
        <url>http://maven-repo.evolvis.org/releases</url>
        <snapshots>
          <enabled>false</enabled>
         </snapshots>
    </pluginRepository>
 </pluginRepositories>
Personal tools