Maven Native Packaging

Maven plugin to work with code built externally to Maven, making use of Maven's dependency management and artifact publication tools only. This can be used, for example, to package projects that are maintained in arbitrary development environments and built with tools such as "make" or "msbuild".

The compiled artifacts from all of the BeerDragon projects can be found in the Maven repository hosted on this site. By adding appropriate settings to your Maven settings file you can download the artifacts from this repository to the cache used by your build system.

Adding the following fragment to a pom.xml will package the project with Windows defaults using this plugin:

<project>
<!-- ... -->
<packaging>native-exec</packaging>
<!-- ... -->
<build>
<!-- ... -->
<plugins>
<!-- ... -->
<plugin>
<groupId>uk.co.beerdragon</groupId>
<artifactId>maven-native-packaging</artifactId>
<version>0.2.2</version>
<extensions>true</extensions>
<configuration>
<defaults>windows</defaults>
</configuration>
<!-- ... -->
</plugin>
</plugins>
</build>
</project>