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/12 16:31:42 UTC

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

Author: jvanzyl
Date: Wed Oct 12 07:31:40 2005
New Revision: 314931

URL: http://svn.apache.org/viewcvs?rev=314931&view=rev
Log:
touching up archetype doco

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

Modified: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-creating-archetypes.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-creating-archetypes.apt?rev=314931&r1=314930&r2=314931&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-creating-archetypes.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-creating-archetypes.apt Wed Oct 12 07:31:40 2005
@@ -56,7 +56,18 @@
 
 +----+
 
-m2 package
+m2 install
 
 +----+
 
+ Now that you have created an archetype you can try it on your local system by using the following command:
+
++----+
+
+m2 archetype:create -DgroupId=com.mycompany.app \
+    -DartifactId=my-archetype -DarchetypeGroupId=<artifact-group-id> -DarchetypeArtifactId=<archetype-artifact-id>
+
++----+
+
+ Once you are happy with the state of your archetype you can deploy (or submit it to ibiblio) it as any other artifact and
+ the archetype will then be available to any user of Maven.
\ No newline at end of file