You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2008/03/21 15:35:41 UTC

svn commit: r639658 - /maven/site/trunk/src/site/apt/guides/mini/guide-creating-archetypes.apt

Author: dennisl
Date: Fri Mar 21 07:35:31 2008
New Revision: 639658

URL: http://svn.apache.org/viewvc?rev=639658&view=rev
Log:
o Change packaging from "maven-plugin" to "jar" in the pom example.
o Fix a couple of typos.

Modified:
    maven/site/trunk/src/site/apt/guides/mini/guide-creating-archetypes.apt

Modified: maven/site/trunk/src/site/apt/guides/mini/guide-creating-archetypes.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/mini/guide-creating-archetypes.apt?rev=639658&r1=639657&r2=639658&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/guides/mini/guide-creating-archetypes.apt (original)
+++ maven/site/trunk/src/site/apt/guides/mini/guide-creating-archetypes.apt Fri Mar 21 07:35:31 2008
@@ -20,7 +20,7 @@
  * the prototype files that are copied by the archetype (directory: 
    <<<src/main/resources/archetype-resources/>>>)
 
- * the prototpye pom (<<<pom.xml>>> in: 
+ * the prototype pom (<<<pom.xml>>> in: 
    <<<src/main/resources/archetype-resources>>>)
 
  * a pom for the archetype (<<<pom.xml>>> in the archetype's root directory).
@@ -40,19 +40,19 @@
   <groupId>my.groupId</groupId>
   <artifactId>my-archetype-id</artifactId>
   <version>1.0-SNAPSHOT</version>
-  <packaging>maven-plugin</packaging>
+  <packaging>jar</packaging>
 </project>
 
 +----+ 
 
   All you need to specify is a <<<groupId>>>, <<<artifactId>>> and 
   <<<version>>>. These three parameters will be needed later for invoking the 
-  archetype via <<<archetype:create>>> from the commandline.  
+  archetype via <<<archetype:create>>> from the commandline.
 
 * 2. Create the archetype descriptor
 
  The archetype descriptor is a file called <<<archetype.xml>>> which must be 
- located in <<<src/main/resources/META-INF/>>> An example for an archetype 
+ located in the <<<src/main/resources/META-INF/>>> directory. An example of an archetype 
  descriptor can be found in the quickstart archetype: 
 
 +----+
@@ -75,7 +75,7 @@
  An optional <<<\<allowPartial\>true\</allowPartial\>>>> tag makes it possible 
  to run the <<<archetype:create>>> even on existing projects. 
 
- The <<<\<sources\>>>>, <<<\<resources\>>>>, <<<\<testResources\>>>> and 
+ The <<<\<sources\>>>>, <<<\<resources\>>>>, <<<\<testSources\>>>>, <<<\<testResources\>>>> and 
  <<<\<siteResources\>>>> tags represent the different sections of the project: 
 
  * <<<\<sources\>>>> = <<<src/main/java>>>