AttachArtifact Task

This task will attatch an artifact to the current Maven project. This is can be used to install and deploy an artifact generated by the Ant tasks.

Task Parameters

Attribute Description Required
file The file to attach to the project Yes
classifier A classifier assigned to the artifact No, defaults to no classifier
type The type of the artifact, zip, war, etc No, defaults to jar


This example shows how to use the attachartifact task.

                <zip destfile=""
                <attachartifact file="" classifier="src" type="zip"/>