Im trying to setup what I think is a simple assembly, taking the jars from several modules and putting them in a specific folder inside a zip. The resulting assembly should look like so:
ir4job\
ir4job\app_lib\
ir4job\app_lib\ jar files go here
But maven is giving me an empty zip file when the assembly is generated
Assembly descriptor:
<assembly>
<!-- ir4job folder contents -->
<id>ir4job-app</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<moduleSets>
<moduleSet>
<binaries>
<dependencySets>
<dependencySet>
<outputDirectory>ir4job/app_lib</outputDirectory>
</dependencySet>
</dependencySets>
</binaries>
</moduleSet>
</moduleSets>
</assembly>
pom file:
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>glb</groupId>
<artifactId>Release</artifactId>
<packaging>pom</packaging>
<name>release</name>
<version>1.0</version>
<parent>
.... parent info ....
</parent>
<dependencies>
... various dependencies ...
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>ir4job-app.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>do-release</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Im pretty sure I missed something simple here... what is it?