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 2006/04/03 07:01:54 UTC
svn commit: r390953 -
/maven/site/trunk/src/site/apt/guides/mini/guide-creating-archetypes.apt
Author: brett
Date: Sun Apr 2 22:01:52 2006
New Revision: 390953
URL: http://svn.apache.org/viewcvs?rev=390953&view=rev
Log:
[MNG-2074] typos in archetype creation docs
Submitted by: Stig Lau
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/viewcvs/maven/site/trunk/src/site/apt/guides/mini/guide-creating-archetypes.apt?rev=390953&r1=390952&r2=390953&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 Sun Apr 2 22:01:52 2006
@@ -17,7 +17,7 @@
* the prototype files that are copied by the archetype (directory: <src/main/resources/archetype-resources/>)
- * the prototpye pom (<pom.xml> in: <src/main/resourcs/archetype-resources>)
+ * the prototpye pom (<pom.xml> in: <src/main/resources/archetype-resources>)
* a pom for the archetype (<pom.xml> in the archetype's root directory).
@@ -65,7 +65,7 @@
The \<id\> tag should be the same as the artifactId in the archetype <pom.xml>.
- An optional \<allowPartial\>true\</allowPartial\> tag makes it possible to run the archetype:create even existing projects.
+ An optional \<allowPartial\>true\</allowPartial\> tag makes it possible to run the archetype:create even on existing projects.
The \<sources\>, \<resources\>, \<test-resources\> and \<site-resources\> tags represent the different sections of the project:
@@ -84,6 +84,8 @@
\<sources\> and \<test-sources\> can contain \<source\> elements that specify a source file.
\<test-resources\> and \<site-resources\> can contain \<resource\> elements that specify a resource file.
+
+ Place other resources such as the ones in the <<<src/main/webapp>>> directory inside the \<resources\> tag.
At this point one can only specify individual files to be created but not empty directories.