You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2005/11/17 22:47:33 UTC
svn commit: r345336 - in /maven/plugins/trunk/maven-antrun-plugin/src/site:
apt/ apt/introduction.apt apt/usage.apt xdoc/
Author: brett
Date: Thu Nov 17 13:47:27 2005
New Revision: 345336
URL: http://svn.apache.org/viewcvs?rev=345336&view=rev
Log:
convert docs to APT
Added:
maven/plugins/trunk/maven-antrun-plugin/src/site/apt/
maven/plugins/trunk/maven-antrun-plugin/src/site/apt/introduction.apt
- copied, changed from r345007, maven/plugins/trunk/maven-antrun-plugin/src/site/xdoc/introduction.xml
maven/plugins/trunk/maven-antrun-plugin/src/site/apt/usage.apt
- copied, changed from r345007, maven/plugins/trunk/maven-antrun-plugin/src/site/xdoc/usage.xml
Removed:
maven/plugins/trunk/maven-antrun-plugin/src/site/xdoc/
Copied: maven/plugins/trunk/maven-antrun-plugin/src/site/apt/introduction.apt (from r345007, maven/plugins/trunk/maven-antrun-plugin/src/site/xdoc/introduction.xml)
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-antrun-plugin/src/site/apt/introduction.apt?p2=maven/plugins/trunk/maven-antrun-plugin/src/site/apt/introduction.apt&p1=maven/plugins/trunk/maven-antrun-plugin/src/site/xdoc/introduction.xml&r1=345007&r2=345336&rev=345336&view=diff
==============================================================================
--- maven/plugins/trunk/maven-antrun-plugin/src/site/xdoc/introduction.xml (original)
+++ maven/plugins/trunk/maven-antrun-plugin/src/site/apt/introduction.apt Thu Nov 17 13:47:27 2005
@@ -1,39 +1,27 @@
-<?xml version="1.0"?>
+ -----
+Introduction
+ -----
+Kenney Westerhof
+ -----
+10 August 2005
+ -----
-<document>
- <properties>
- <author email="kenney@apache.org">Kenney Westerhof</author>
- <title>Introduction</title>
- </properties>
- <head/>
- <body>
- <section name="Introduction">
- <p>
- This plugin provides the ability to run Ant tasks from
- within Maven2. You can even embed your ant scripts in the POM!
- </p>
+Introduction
- <p>
- It is <emph>not</emph> the intention of this plugin to provide a means
- of polluting the POM, so it's encouraged to move all your
- Ant tasks to a build.xml file and just call it from the POM
- using Ant's <a href="http://ant.apache.org/manual/CoreTasks/ant.html"><ant/> task</a>.
- </p>
+ This plugin provides the ability to run Ant tasks from
+ within Maven2. You can even embed your ant scripts in the POM!
- <p>
- One of the main goals of this plugin is to ease the migration from
- Ant based projects to Maven 2. A lot of projects are currently unable
- to migrate simply because they depend on some custom build functionality
- that Maven2 doesn't provide yet.
- </p>
-
- <p>
- Even with plugins widely available there will always be simple, small
- tasks that can be done using one or two lines of Ant script (like
- deploying an EAR), until ofcourse a plugin comes available that does
- the job.
- </p>
+ It is <not> the intention of this plugin to provide a means
+ of polluting the POM, so it's encouraged to move all your
+ Ant tasks to a build.xml file and just call it from the POM
+ using Ant's {{{http://ant.apache.org/manual/CoreTasks/ant.html}\<ant/\> task}}.
- </section>
- </body>
-</document>
+ One of the main goals of this plugin is to ease the migration from
+ Ant based projects to Maven 2. A lot of projects are currently unable
+ to migrate simply because they depend on some custom build functionality
+ that Maven2 doesn't provide yet.
+
+ Even with plugins widely available there will always be simple, small
+ tasks that can be done using one or two lines of Ant script (like
+ deploying an EAR), until ofcourse a plugin comes available that does
+ the job.
Copied: maven/plugins/trunk/maven-antrun-plugin/src/site/apt/usage.apt (from r345007, maven/plugins/trunk/maven-antrun-plugin/src/site/xdoc/usage.xml)
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-antrun-plugin/src/site/apt/usage.apt?p2=maven/plugins/trunk/maven-antrun-plugin/src/site/apt/usage.apt&p1=maven/plugins/trunk/maven-antrun-plugin/src/site/xdoc/usage.xml&r1=345007&r2=345336&rev=345336&view=diff
==============================================================================
--- maven/plugins/trunk/maven-antrun-plugin/src/site/xdoc/usage.xml (original)
+++ maven/plugins/trunk/maven-antrun-plugin/src/site/apt/usage.apt Thu Nov 17 13:47:27 2005
@@ -1,19 +1,16 @@
-<?xml version="1.0"?>
+ ----
+Usage
+ ----
+Kenney Westerhof
+ ----
+10 August 2005
+ ----
-<document>
- <properties>
- <author email="kenney@apache.org">Kenney Westerhof</author>
- <title>Introduction</title>
- </properties>
- <head/>
- <body>
- <section name="Usage">
- <p>
- For those of you unfamiliar with configuring a plugin see the example
- below:
+Usage
- <source>
-<![CDATA[
+ For those of you unfamiliar with configuring a plugin see the example below:
+
+------
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>my-test-app</artifactId>
@@ -49,17 +46,9 @@
</plugins>
</build>
</project>
-]]>
- </source>
- </p>
-
- <p>
- The example above illustrates how to bind an ant script to a
- lifecycle phase. You can add a script to each lifecycle phase,
- by duplicating the <![CDATA[<execution/>]]> section and specifying
- a new phase.
- </p>
- </section>
+------
- </body>
-</document>
+ The example above illustrates how to bind an ant script to a
+ lifecycle phase. You can add a script to each lifecycle phase,
+ by duplicating the <<<\<execution/\>>>> section and specifying
+ a new phase.