Maven Smart Assembly Plugin
Homepage Maven Groovy Download
The Smart Assembly Maven Plugin allows you to perform Maven Assembly Plugin-like tasks in incremental fashion.
The archive-dependencies
goal creates a ZIP archive containing all of the
project's dependencies. Whenever possible this goal updates the existing ZIP
file, as opposed to creating a new one (all comparisons are performed using the
"last modified" time stamp). If none of the dependencies have changed, the ZIP
file is not modified.
To use the plugin, configure an execution of this plugin in your pom.xml
(see
Configuring Build Plugins). Example:
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>smartass-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>create-bundled-plugins-zip</id>
<phase>package</phase>
<goals>
<goal>archive-dependencies</goal>
</goals>
<configuration>
<--! include artifacts with this scope -->
<includeScope>runtime</includeScope>
</configuration>
</execution>
</executions>
</plugin>