You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2005/10/19 02:52:43 UTC

svn commit: r326312 - /maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-generating-sources.apt

Author: jvanzyl
Date: Tue Oct 18 17:52:41 2005
New Revision: 326312

URL: http://svn.apache.org/viewcvs?rev=326312&view=rev
Log:
o using a snippet in the Antlr plug-in for the generating sources guide

Modified:
    maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-generating-sources.apt

Modified: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-generating-sources.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-generating-sources.apt?rev=326312&r1=326311&r2=326312&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-generating-sources.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-generating-sources.apt Tue Oct 18 17:52:41 2005
@@ -1,24 +1,17 @@
  ------
- Guide to Generating Sources
+ Guide to generating Sources
  ------
  Jason van Zyl
  ------
  12 October 2005
  ------
 
+Guide to generating sources
+
  Let's run though a short example to try and help. To generate sources you must first have a plugin that
  participates in the generate-sources phase like the Antlr plugin:
 
-+----+
-
-/**
- * @goal generate
- * @phase generate-sources
- * @requiresDependencyResolution compile
- * @description Antlr plugin
- */
-
-+----+
+%{snippet|id=generate-sources-0|url=http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-antlr-plugin/src/main/java/org/apache/maven/plugin/antlr/AntlrPlugin.java}
 
  The first two lines say "I want to be fit into the generate-sources
  phase and my 'handle' is generate".