You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/06/25 21:05:08 UTC

[maven-site] branch master updated: Adding extension to support packaging type maven-archetype in creating archetypes guide

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d4136da  Adding extension to support packaging type maven-archetype in creating archetypes guide
d4136da is described below

commit d4136da899401e3f5be6e55491405363a90b947c
Author: aviemzur <av...@gmail.com>
AuthorDate: Tue Jun 11 11:34:22 2019 +0300

    Adding extension to support packaging type maven-archetype in creating archetypes guide
---
 content/apt/guides/mini/guide-creating-archetypes.apt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/content/apt/guides/mini/guide-creating-archetypes.apt b/content/apt/guides/mini/guide-creating-archetypes.apt
index ea9b1a9..fb4fe74 100644
--- a/content/apt/guides/mini/guide-creating-archetypes.apt
+++ b/content/apt/guides/mini/guide-creating-archetypes.apt
@@ -65,6 +65,15 @@ Guide to Creating Archetypes
   <artifactId>my-archetype-id</artifactId>
   <version>1.0-SNAPSHOT</version>
   <packaging>maven-archetype</packaging>
+
+  <build>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.archetype</groupId>
+        <artifactId>archetype-packaging</artifactId>
+       </extension>
+     </extensions>
+   </build>
 </project>
 
 +----+