I wanted to thank you for responding and giving me a good head start on the
maven-assembly-plugin. The documentation is Excellent and they are powerful
indeed. I also wanted to share the very simple solution to building the zip
file:
--in my profile sections for different env's I have the assembly plugin
activation "attached" to the package phase
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
--and for the descriptor itself, all I needed was a fileSet
<assembly>
<id>static-assembly</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<includeModuleDirectory>false</includeModuleDirectory>
<fileSets>
<fileSet>
<includes>
<include>style/**</include>
<include>js/**</include>
<include>images/**</include>
</includes>
<directory>target/${hard-coded-final-name}</directory> <!-- this did
not work ${project.build.finalName} -->
<outputDirectory>/</outputDirectory>
</fileSet>
</fileSets>
</assembly>
Thanks again, James