You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2019/04/21 21:47:09 UTC

[maven-site] 02/02: [MNGSITE-292] Updated link to descriptor and command line

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git

commit 1b956c77303783fff68a8ac2ec062bca96e349c7
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Apr 21 23:23:22 2019 +0200

    [MNGSITE-292] Updated link to descriptor and command line
---
 content/apt/guides/mini/guide-creating-archetypes.apt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/content/apt/guides/mini/guide-creating-archetypes.apt b/content/apt/guides/mini/guide-creating-archetypes.apt
index d8584d1..ea9b1a9 100644
--- a/content/apt/guides/mini/guide-creating-archetypes.apt
+++ b/content/apt/guides/mini/guide-creating-archetypes.apt
@@ -32,7 +32,7 @@ Guide to Creating Archetypes
  very simple artifact, that contains the project prototype you wish to create.
  An archetype is made up of:
 
- * an {{{/archetype-archives/archetype-2.1/archetype-common/archetype.html}archetype descriptor}}
+ * an {{{/archetype/archetype-models/archetype-descriptor/archetype-descriptor.html}archetype descriptor}}
   (<<<archetype-metadata.xml>>> in directory:
    <<<src/main/resources/META-INF/maven/>>>). It lists all the files that will be
    contained in the archetype and categorizes them so they can be processed
@@ -83,7 +83,7 @@ Guide to Creating Archetypes
 +----+
 
 <archetype-descriptor
-        xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 
+        xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0
 	http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd"
         xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -225,6 +225,7 @@ mvn archetype:generate                                  \
 mvn archetype:generate
   -DgroupId=[your project's group id]
   -DartifactId=[your project's artifact id]
+  -DarchetypeGroupId=org.apache.maven.archetypes
   -DarchetypeArtifactId=maven-archetype-archetype
 +------+