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 2018/03/13 07:12:17 UTC

svn commit: r1826606 - /maven/site/trunk/content/apt/guides/mini/guide-using-modello.apt

Author: hboutemy
Date: Tue Mar 13 07:12:16 2018
New Revision: 1826606

URL: http://svn.apache.org/viewvc?rev=1826606&view=rev
Log:
use Archetype NG descriptor as example, instead of old deprecated Archetype 1

Modified:
    maven/site/trunk/content/apt/guides/mini/guide-using-modello.apt

Modified: maven/site/trunk/content/apt/guides/mini/guide-using-modello.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/apt/guides/mini/guide-using-modello.apt?rev=1826606&r1=1826605&r2=1826606&view=diff
==============================================================================
--- maven/site/trunk/content/apt/guides/mini/guide-using-modello.apt (original)
+++ maven/site/trunk/content/apt/guides/mini/guide-using-modello.apt Tue Mar 13 07:12:16 2018
@@ -46,7 +46,7 @@ Guide to using Modello
 
  A typical modello model looks like the following:
 
-%{snippet|id=modello-model|url=https://svn.apache.org/repos/asf/maven/archetype/trunk/archetype-common/src/main/mdo/archetype.mdo}
+%{snippet|id=modello-model|url=https://raw.githubusercontent.com/apache/maven-archetype/master/archetype-models/archetype-descriptor/src/main/mdo/archetype-descriptor.mdo}
 
  To utilize Modello you would configure the <<<maven-modello-plugin>>> something like the following where you want
  to generate the Java sources for the model, the xpp3 serialization code and the xpp3 deserialization code:
@@ -75,7 +75,7 @@ Guide to using Modello
         </executions>
         <configuration>
           <models>
-            <model>src/main/mdo/descriptor.mdo</model>
+            <model>src/main/mdo/archetype-descriptor.mdo</model>
           </models>
           <version>1.0.0</version>
           <useJava5>true</useJava5>