doco update

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164564 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-25 12:44:50 +00:00
parent 95a05c15e2
commit e64e69038c
1 changed files with 17 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<section name="Ant Tasks for Maven 2.0"> <section name="Ant Tasks for Maven 2.0">
<p> <p>
Maven 2.0 now comes with a set of Ant tasks that can be used to utilise Maven's artifact handling features Maven 2.0 now comes with a set of Ant tasks that can be used to utilise Maven's artifact handling features
from within Ant 1.6+ or Maven 1.0+. This includes: from within Ant. This includes:
</p> </p>
<ul> <ul>
<li> <li>
@ -42,6 +42,10 @@
directory, add the following namespace to your <code>build.xml</code> file: directory, add the following namespace to your <code>build.xml</code> file:
</p> </p>
<source><![CDATA[<project ... xmlns:artifact="antlib:org.apache.maven.artifact.ant">]]></source> <source><![CDATA[<project ... xmlns:artifact="antlib:org.apache.maven.artifact.ant">]]></source>
<p>
Note, if you are using Ant 1.5 or below, the tasks should still continue to work by declaring
them as <code>taskdef</code> elements - however this is unsupported.
</p>
</subsection> </subsection>
<subsection name="Declaring Dependencies"> <subsection name="Declaring Dependencies">
<p> <p>
@ -104,7 +108,12 @@
them to an remote location you have set up to serve as a repository in your organisation. them to an remote location you have set up to serve as a repository in your organisation.
</p> </p>
<p> <p>
Please refer to the sample script for usage. Note that the installation and deployment require that you have a Maven 2.0 POM file to deploy along with it.
These are required for the transitive dependency mechanism to work effectively, and can be quite simple to
create.
</p>
<p>
Please refer to the sample script below for usage of the deployment tasks.
</p> </p>
</subsection> </subsection>
<subsection name="Sample Ant Script"> <subsection name="Sample Ant Script">
@ -118,6 +127,12 @@
If you have any questions specific to the Ant tasks, please contact the <a href="mail-lists.html">Maven Users Mailing List</a>. If you have any questions specific to the Ant tasks, please contact the <a href="mail-lists.html">Maven Users Mailing List</a>.
</p> </p>
</subsection> </subsection>
<subsection name="Why Won't it Work in Maven 1.0?">
<p>
This has not been completely tested and Maven 1.0 is based on Ant 1.5. In addition, it will not operate on
Maven 1.0 project files, which may result in some confusion. It may be possible, but is not yet supported.
</p>
</subsection>
</section> </section>
</body> </body>
</document> </document>