You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by pg...@apache.org on 2009/11/19 21:53:32 UTC
svn commit: r882292 - in /maven/ant-tasks/trunk/src/site/apt:
examples/write-pom.apt reference.apt
Author: pgier
Date: Thu Nov 19 20:53:31 2009
New Revision: 882292
URL: http://svn.apache.org/viewvc?rev=882292&view=rev
Log:
[MANTTASKS-168] Updates to site docs.
Modified:
maven/ant-tasks/trunk/src/site/apt/examples/write-pom.apt
maven/ant-tasks/trunk/src/site/apt/reference.apt
Modified: maven/ant-tasks/trunk/src/site/apt/examples/write-pom.apt
URL: http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/site/apt/examples/write-pom.apt?rev=882292&r1=882291&r2=882292&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/site/apt/examples/write-pom.apt (original)
+++ maven/ant-tasks/trunk/src/site/apt/examples/write-pom.apt Thu Nov 19 20:53:31 2009
@@ -28,7 +28,7 @@
The WritePom Task
- <<Note: This task is available since version 2.1.0>>
+ <<Note: This task is available since version 2.1.0 of the maven ant tasks>>
The WritePom task can be used to generate a POM file based on information defined in
the Ant build. For example, this could be used to generate a POM used when
Modified: maven/ant-tasks/trunk/src/site/apt/reference.apt
URL: http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/site/apt/reference.apt?rev=882292&r1=882291&r2=882292&view=diff
==============================================================================
--- maven/ant-tasks/trunk/src/site/apt/reference.apt (original)
+++ maven/ant-tasks/trunk/src/site/apt/reference.apt Thu Nov 19 20:53:31 2009
@@ -170,6 +170,21 @@
| <<<version>>> | The version of the provider to install. | Yes | |
*------------------+--------------------------------------------------------------------------+--------------+-------------+
+* <<<{writePom}>>> <(since 2.1.0)>
+
+ This task will write a POM object to a file.
+
+*------------------+--------------------------------------------------------------------------+--------------+
+| <<Attribute>> | <<Description>> | <<Required>> |
+*------------------+--------------------------------------------------------------------------+--------------+
+| <<<pomRefId>>> | The ID of the POM to write. | Yes |
+*------------------+--------------------------------------------------------------------------+--------------+
+| <<<file>>> | The name of the file to write the POM | Yes |
+*------------------+--------------------------------------------------------------------------+--------------+
+| <<<trim>>> | A boolean value to determine whether unnecessary information should be removed from the POM. Defaults to <<<true>>>. | No |
+*------------------+--------------------------------------------------------------------------+--------------+
+
+
{Type} Reference
@@ -240,6 +255,8 @@
*------------------+--------------------------------------------------------+--------------+
| <<<id>>> | The reference ID of this POM. | No |
*------------------+--------------------------------------------------------+--------------+
+| <<<refid>>> | The reference ID to use a previously defined POM. | No |
+*------------------+--------------------------------------------------------+--------------+
| <<<inheritAllProperties>>> | If set to true, all Ant properties will be passed to the Maven POM. If set to false, only user (command-line) properties will be passed. Defaults to true. | No | 2.1.0 |
*------------------+--------------------------------------------------------+--------------+
| <<<settingsFile>>> | The settings file to use. Defaults to <<<$\{user.home\}/.ant/settings.xml>>> or if that doesn't exist <<<$\{user.home\}/.m2/settings.xml>>>. | No | 2.0.6 |