General

General
How do I register my project with UberDist to get my distribution goal called?
Starting with version 1.0.11, you just have to include in your project a goal named: 'project.id':prepared-dist-filesystem.

The older way things with uberdist is deprecated. Do not use project register tag anymore

The tags remains for another version and will be phased out after.





<postGoal name="uber-dist:init">
    <udist:registerProject name="${pom.id}" description="My distribution"/>
    <maven:get plugin="maven-uberdist-plugin" 
               property="maven.uber.dist.assembly.dir" var="dist.assembly.dir" />
    <maven:get plugin="maven-uberdist-plugin" 
               property="maven.uber.dist.dir" var="distribution_dir" />        
</postGoal>


How do I create my distribution with UberDist?
You have to add a goal in your project named: 'pom.artifactId':prepare-dist-filesystem.

Otherwise, the plugin will call the standard dist:build-bin offered by the maven-dist-plugin.