maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1024282 - in /maven/archetype/trunk/maven-archetype-plugin/src/site: fml/ fml/faq.fml site.xml
Date Tue, 19 Oct 2010 15:39:56 GMT
Author: hboutemy
Date: Tue Oct 19 15:39:55 2010
New Revision: 1024282

URL: http://svn.apache.org/viewvc?rev=1024282&view=rev
Log:
[ARCHETYPE-338] added a FAQ entry about maven-archetype vs jar packaging

Added:
    maven/archetype/trunk/maven-archetype-plugin/src/site/fml/
    maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml
Modified:
    maven/archetype/trunk/maven-archetype-plugin/src/site/site.xml

Added: maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml?rev=1024282&view=auto
==============================================================================
--- maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml (added)
+++ maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml Tue Oct 19 15:39:55
2010
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+
+<faqs id="FAQ" title="Frequently Asked Questions">
+
+  <part id="General">
+
+    <faq id="packaging">
+      <question>What packaging should I use: <code>maven-archetype</code>
or <code>jar</code>? What is the difference?</question>
+      <answer>
+        <p><code>maven-archetype</code> packaging is available since 2.0-alpha-1:
it should be used instead of <code>jar</code>, which was used
+        for Archetype 1.x.</p>
+        <p>Using <code>maven-archetype</code> packaging helps identifying
archetypes in repositories and adds archetype related bindings to
+        build lifecycle, like <a href="./integration-test-mojo.html"><code>integration-tests</code></a>
and
+        <a href="./update-local-catalog-mojo.html"><code>update-local-catalog</code></a>.</p>
+      </answer>
+    </faq>
+
+  </part>
+
+</faqs>

Modified: maven/archetype/trunk/maven-archetype-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-plugin/src/site/site.xml?rev=1024282&r1=1024281&r2=1024282&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype-plugin/src/site/site.xml (original)
+++ maven/archetype/trunk/maven-archetype-plugin/src/site/site.xml Tue Oct 19 15:39:55 2010
@@ -29,7 +29,7 @@
       <item name="Usage" href="/usage.html"/>
       <item name="Advanced Usage" href="/advanced-usage.html"/>
       <item name="Goals" href="/plugin-info.html"/>
-      <!--item name="FAQ" href="faq.html"/-->
+      <item name="FAQ" href="faq.html"/>
       <item name="Specification" href="/specification/specification.html"/>
     </menu>
 



Mime
View raw message