You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ra...@apache.org on 2008/02/22 19:04:38 UTC

svn commit: r630268 - in /maven/archetype/trunk/archetype-plugin/src/site/apt: index.apt specification/create.apt specification/generate.apt usage.apt

Author: rafale
Date: Fri Feb 22 10:04:22 2008
New Revision: 630268

URL: http://svn.apache.org/viewvc?rev=630268&view=rev
Log:
Doc: changed create to generate mojo usage

Added:
    maven/archetype/trunk/archetype-plugin/src/site/apt/specification/generate.apt
      - copied, changed from r629189, maven/archetype/trunk/archetype-plugin/src/site/apt/specification/create.apt
Removed:
    maven/archetype/trunk/archetype-plugin/src/site/apt/specification/create.apt
Modified:
    maven/archetype/trunk/archetype-plugin/src/site/apt/index.apt
    maven/archetype/trunk/archetype-plugin/src/site/apt/usage.apt

Modified: maven/archetype/trunk/archetype-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-plugin/src/site/apt/index.apt?rev=630268&r1=630267&r2=630268&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-plugin/src/site/apt/index.apt (original)
+++ maven/archetype/trunk/archetype-plugin/src/site/apt/index.apt Fri Feb 22 10:04:22 2008
@@ -52,7 +52,10 @@
 
   The archetype plugin has two goals:
   
-  * {{{create-mojo.html}archetype:create}} ask the user to choose an archetype 
+  * {{{create-mojo.html}archetype:create}} creates a Maven 2 project from an 
+    archetype. It use the behaviour of the Archetype plugin Version 1.0-alpha-7.
+  
+  * {{{generate-mojo.html}archetype:generate}} ask the user to choose an archetype 
     from the archetype catalog, and retrieves it from the remote repository.
     Once retrieved, it is processed to create a working Maven project.
 

Copied: maven/archetype/trunk/archetype-plugin/src/site/apt/specification/generate.apt (from r629189, maven/archetype/trunk/archetype-plugin/src/site/apt/specification/create.apt)
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-plugin/src/site/apt/specification/generate.apt?p2=maven/archetype/trunk/archetype-plugin/src/site/apt/specification/generate.apt&p1=maven/archetype/trunk/archetype-plugin/src/site/apt/specification/create.apt&r1=629189&r2=630268&rev=630268&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-plugin/src/site/apt/specification/create.apt (original)
+++ maven/archetype/trunk/archetype-plugin/src/site/apt/specification/generate.apt Fri Feb 22 10:04:22 2008
@@ -41,7 +41,7 @@
 How to use an archetype?
     The simple way : 
 
- mvn archetype:create
+ mvn archetype:generate
         standard call and standard output/prompt and standard generated tree
     Configuring the plugin
         for selection

Modified: maven/archetype/trunk/archetype-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-plugin/src/site/apt/usage.apt?rev=630268&r1=630267&r2=630268&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-plugin/src/site/apt/usage.apt (original)
+++ maven/archetype/trunk/archetype-plugin/src/site/apt/usage.apt Fri Feb 22 10:04:22 2008
@@ -41,7 +41,7 @@
 
 Usage
 
-   Calling <<<archetype:create>>> the plugin will first ask to choose
+   Calling <<<archetype:generate>>> the plugin will first ask to choose
    the archetype from the internal catalog. Just enter the number of the archetype.
 
    It then ask to enter the values for the groupId, the artifactId
@@ -56,20 +56,20 @@
    <<<version>>> to <<<1.0>>> and <<<package>>> to <<<com.company.project>>>.
 
 +---
-$ mvn archetype:create
+$ mvn archetype:generate
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO] ------------------------------------------------------------------------
 [INFO] Building Maven Default Project
 [INFO]    task-segment: [archetype:create] (aggregator-style)
 [INFO] ------------------------------------------------------------------------
-[INFO] Preparing archetype:create
+[INFO] Preparing archetype:generate
 [INFO] No goals needed for project - skipping
 [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
 [INFO] Setting property: velocimacro.messages.on => 'false'.
 [INFO] Setting property: resource.loader => 'classpath'.
 [INFO] Setting property: resource.manager.logwhenfound => 'false'.
-[INFO] [archetype:create]
+[INFO] [archetype:generate]
 Choose archetype:
 1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web application with Hibernate, Spring and JSF)
 2: internal -> appfuse-basic-spring (AppFuse archetype for creating a web application with Hibernate, Spring and Spring MVC)