diff --git a/maven-site/src/site/apt/guides/index.apt b/maven-site/src/site/apt/guides/index.apt index 988fccefe5..291c6b7715 100644 --- a/maven-site/src/site/apt/guides/index.apt +++ b/maven-site/src/site/apt/guides/index.apt @@ -38,7 +38,7 @@ Documentation * {{{mini/guide-embedding-m2.html}Guide to Embedding Maven 2.x}} - * {{{mini/guide-generating-sources.html}Guide to Generating Sources}} + * {{{mini/guide-generating-sources.html}Guide to generating Sources}} * {{{mini/guide-ibiblio-upload.html}Guide to uploading artifacts to Ibiblio}} @@ -66,6 +66,8 @@ Documentation * {{{mini/guide-site.html}Guide to creating a site}} + * {{{mini/guide-using-ant.html}Guide to using Ant with Maven}} + * {{{mini/guide-using-extensions.html}Guide to using Extensions}} * {{{mini/guide-webapp.html}Guide to Webapps}} diff --git a/maven-site/src/site/apt/guides/mini/guide-using-ant.apt b/maven-site/src/site/apt/guides/mini/guide-using-ant.apt new file mode 100644 index 0000000000..03393e9a91 --- /dev/null +++ b/maven-site/src/site/apt/guides/mini/guide-using-ant.apt @@ -0,0 +1,87 @@ + ------ + Guide to using Ant with Maven + ------ + Jason van Zyl + ------ + 12 October 2005 + ------ + +Guide to using Ant with Maven + + 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 section and specifying a new phase. + ++----+ + + + 4.0.0 + my-test-app + my-test-group + 1.0-SNAPSHOT + + + + maven-antrun-plugin + + + generate-sources + + + + + + + + + run + + + + + + + + ++----+ + + So a concrete example would be something like the following: + ++----+ + + + 4.0.0 + my-test-app + my-test-group + 1.0-SNAPSHOT + + + + maven-antrun-plugin + + + generate-sources + + + + + + + + + run + + + + + + + + ++----+ \ No newline at end of file diff --git a/maven-site/src/site/xdoc/index.xml b/maven-site/src/site/xdoc/index.xml index 770df4f6eb..de276fd2d5 100644 --- a/maven-site/src/site/xdoc/index.xml +++ b/maven-site/src/site/xdoc/index.xml @@ -25,8 +25,11 @@ Installation Instructions
  • - Getting Started + Getting Started
  • +
  • + Documentation +