Index: src/site/apt/ant-tasks.apt =================================================================== --- src/site/apt/ant-tasks.apt (Revision 448424) +++ src/site/apt/ant-tasks.apt (Arbeitskopie) @@ -352,9 +352,14 @@ *-----------------+--------------------------------------------------------+ | <<>> | The reference ID to store a path under for the resolved dependencies. *-----------------+--------------------------------------------------------+ +| <<>> | The reference ID from a pom datatype defined earlier in the build file. +*-----------------+--------------------------------------------------------+ The task can include the <<>> nested type, in addition to the other shared types explained later. - You must include at least one <<>> element, or a single <<>> element, but not both. + You must include either : + a single <<>> element, + or a pomRefId attribute + or one or more <<>> element(s) ** <<>> @@ -387,22 +392,32 @@ This task will install the given file into the local repository. It is stored using the information in the supplied POM. -*------------------+--------------------------------------------------------+ -| <<>> | The file to install in the local repository. -*------------------+--------------------------------------------------------+ +*------------------+--------------------------------------------------------------------------+-------------------------------------------------+ +| Attribute | Description | Required | +*------------------+--------------------------------------------------------------------------+-------------------------------------------------+ +| <<>> | The file to install in the local repository. | Yes, except if packaging is pom | +*------------------+--------------------------------------------------------------------------+-------------------------------------------------+ +| <<>> | The reference ID from a pom datatype defined earlier in the build file. | No, if a pom nested element is provided instead | +*------------------+--------------------------------------------------------------------------+-------------------------------------------------+ + + The task must also take a either a nested <<>> element, or a pomRefId attribute. + The task can have an optional <<>> element. - The task must also take a nested <<>>, and can have an optional <<>> element. - * <<>> This task will deploy the given file into the remote repository. It is stored using the information in the supplied POM. -*------------------+--------------------------------------------------------+ -| <<>> | The file to deploy in the remote repository. -*------------------+--------------------------------------------------------+ +*------------------+----------------------------------------------------------------------------+-------------------------------------------------+ +| Attribute | Description | Required | +*------------------+----------------------------------------------------------------------------+-------------------------------------------------+ +| <<>> | The file to deploy in the remote repository. | Yes, except if packaging is pom | +*------------------+----------------------------------------------------------------------------+-------------------------------------------------+ +| <<>> | The reference ID from a pom datatype defined earlier in the build file. | No, if a pom nested element is provided instead | +*-----------------+--------------------------------------------------------+--------------------+-------------------------------------------------+ - The task must also take a nested <<>>, and can have an optional <<>> element. If no + The task must have either a nested <<>> or a pomRefId attribute. + <<>> can have an optional <<>> element. If no <<>> element is given, the <<>> section of the POM is used. Type Reference