Author: hboutemy
Date: Sun Apr 11 20:01:41 2010
New Revision: 932982
URL: http://svn.apache.org/viewvc?rev=932982&view=rev
Log:
improved documentation about central catalog
Modified:
maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java
Modified:
maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java
URL:
http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java?rev=932982&r1=932981&r2=932982&view=diff
==============================================================================
---
maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java
(original)
+++
maven/archetype/trunk/archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java
Sun Apr 11 20:01:41 2010
@@ -105,12 +105,12 @@ public class CreateProjectFromArchetypeM
* <li>'<code>file://...</code>' with <code>archetype-catalog.xml</code>
automatically appended when pointing to a directory</li>
* <li>'<code>http://...</code>' with <code>archetype-catalog.xml</code>
always appended</li>
* <li>'<code>local</code>' which is the shortcut for
'<code>file://~/.m2/archetype-catalog.xml</code>'</li>
- * <li>'<code>remote</code>' which is the shortcut for
'<code>http://repo1.maven.org/maven2</code>'</li>
+ * <li>'<code>remote</code>' which is the shortcut for Maven Central
repository, ie '<code>http://repo1.maven.org/maven2</code>'</li>
* <li>'<code>internal</code>' which is an internal catalog</li>
* </ul>
*
* Since 2.0-alpha-5, default value is no longer
<code>internal,local</code> but <code>remote,local</code>.
- * This can only work if central has a catalog file at root.
+ * If Maven Central repository catalog file is empty,
<code>internal</code> catalog is used instead.
*
* @parameter expression="${archetypeCatalog}" default-value="remote,local"
*/