o Minor site doc improvement to install/deploy task example
git-svn-id: https://svn.apache.org/repos/asf/maven/ant-tasks/trunk@1073545 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/site/apt/examples/install-deploy.apt b/src/site/apt/examples/install-deploy.apt
index ac6b7fa..a8a127a 100644
--- a/src/site/apt/examples/install-deploy.apt
+++ b/src/site/apt/examples/install-deploy.apt
@@ -49,12 +49,29 @@
</artifact:install>
<artifact:deploy file="target/my-project-1.0.jar">
- <remoteRepository url="file://localhost/www/repository"/>
+ <remoteRepository url="file:///www/repository"/>
<pom refid="mypom"/>
</artifact:deploy>
...
-----
+Attaching Multiple Artifacts
+
+ The install and deploy tasks allow you to attach multiple artifact to a single deployment. For example,
+ the sources and javadoc jars can be attached using the nested <<attach>> element.
+
+-----
+ <artifact:deploy file="target/my-project-1.0.jar">
+ <remoteRepository url="http://localhost/www/repository"/>
+ <pom refid="mypom"/>
+ <attach file="${basedir}/target/my-project-1.0-sources.jar" type="jar" classifier="sources"/>
+ <attach file="${basedir}/target/my-project-1.0-javadoc.jar" type="jar" classifier="javadoc"/>
+ <attach file="${basedir}/target/my-project-1.0-junk.zip" type="zip" classifier="junk"/>
+ </artifact:deploy>
+-----
+
+Deployment Protocols
+
For deploying using a protocol other than local file system, you need to register a provider to make the other
protocols available. For example: