You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2009/05/02 07:57:59 UTC

svn commit: r770893 - /maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/site/apt/reference.apt

Author: hboutemy
Date: Sat May  2 05:57:59 2009
New Revision: 770893

URL: http://svn.apache.org/viewvc?rev=770893&view=rev
Log:
o added internal links to improve navigation
o fixed remoteRepository description: releases and snapshots are not attributes but only nested elements

Modified:
    maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/site/apt/reference.apt

Modified: maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/site/apt/reference.apt
URL: http://svn.apache.org/viewvc/maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/site/apt/reference.apt?rev=770893&r1=770892&r2=770893&view=diff
==============================================================================
--- maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/site/apt/reference.apt (original)
+++ maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/site/apt/reference.apt Sat May  2 05:57:59 2009
@@ -64,12 +64,13 @@
 *-------------------------+---------------------------------------------------------------------------+--------------+-------------+
 
   The task can include the <<<dependency>>> nested type, in addition to the other shared types
-  <<<localRepository>>>, <<<pom>>> and <<<remoteRepository>>>, which will be explained later.
+  {{{reference.html#localRepository} <<<localRepository>>>}}, {{{reference.html#pom} <<<pom>>>}} and
+  {{{reference.html#remoteRepository} <<<remoteRepository>>>}}, which will be explained later.
 
-  You must include either:
-       a single <<<pom>>> element
-       or a <<<pomRefId>>> attribute
-       or one or more <<<dependency>>> elements.
+  You must include either
+      a single <<<pom>>> element
+      or a <<<pomRefId>>> attribute
+      or one or more <<<dependency>>> elements.
 
   If you have set a value for <<<versionsId>>>, you can later use {{{reference.html#VersionMapper} <<<VersionMapper>>>}}.
 
@@ -125,10 +126,10 @@
 | <<<uniqueVersion>>> | (<<<deploy>>> only) Whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time | No, the default is <<<true>>>. | |
 *---------------------+--------------------------------------------------------------------------+-------------------------------------------------+-------------+
 
-  The task must take either a nested <<<pom>>> element, or a <<<pomRefId>>> attribute. Both release and <<<-SNAPSHOT>>> versions are supported.
-  The task can have an optional <<<localRepository>>> nested element.
+  The task must take either a nested {{{reference.html#pom} <<<pom>>>}} element, or a <<<pomRefId>>> attribute. Both release and <<<-SNAPSHOT>>> versions are supported.
+  The task can have an optional {{{reference.html#localRepository} <<<localRepository>>>}} nested element.
 
-  <<<deploy>>> can have an optional <<<remoteRepository>>> nested element. If no
+  <<<deploy>>> can have an optional {{{reference.html#remoteRepository} <<<remoteRepository>>>}} nested element. If no
   <<<remoteRepository>>> nested element is given, the <<<distributionManagement>>> section of the POM is used.
 
 ** <<<attach>>> <(since 2.0.6)>
@@ -165,6 +166,7 @@
 * <<<{localRepository}>>>
 
   Specifies the location of the local repository of artifacts.
+  ~~ TODO: id/refid
 
 *------------------+--------------------------------------------------------+--------------+-------------+
 | <<Attribute>>    | <<Description>>                                        | <<Required>> | << Since >> |
@@ -179,20 +181,17 @@
 * <<<{remoteRepository}>>>
 
   Specifies the location of the remote repository.
+  ~~ TODO: id/refid
 
 *----------------------+--------------------------------------------------------+--------------+
 | <<Attribute>>        | <<Description>>                                        | <<Required>> |
 *----------------------+--------------------------------------------------------+--------------+
 | <<<layout>>>         | The layout of the remote repository. The valid options are <<<legacy>>> (Maven 1), or <<<default>>> (Maven 2). Defaults to <<<default>>>. | No |
 *----------------------+--------------------------------------------------------+--------------+
-| <<<releases>>>       | Policies regarding downloading released artifacts.     | No           |
-*----------------------+--------------------------------------------------------+--------------+
-| <<<snapshots>>>      | Policies regarding downloading snapshot artifacts.     | No           |
-*----------------------+--------------------------------------------------------+--------------+
 | <<<url>>>            | The URL of the repository.                             | Yes          |
 *----------------------+--------------------------------------------------------+--------------+
 
-  The <<<remoteRepository>>> can have the following nested elements: <<<authentication>>> and <<<proxy>>>.
+  The <<<remoteRepository>>> can have the following nested elements: <<<releases>>>, <<<snapshots>>>, <<<authentication>>> and <<<proxy>>>.
 
 ** <<<releases>>>, <<<snapshots>>>