svn commit: r422116 - in /maven/sandbox/plugins/maven-changes-plugin/src/site: apt/examples/ apt/examples/smtp-authentication.apt apt/usage.apt fml/ fml/faq.fml site.xml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r422116 - in /maven/sandbox/plugins/maven-changes-plugin/src/site: apt/examples/ apt/examples/smtp-authentication.apt apt/usage.apt fml/ fml/faq.fml site.xml

Dennis Lundberg-2
Author: dennisl
Date: Fri Jul 14 17:41:47 2006
New Revision: 422116

URL: http://svn.apache.org/viewvc?rev=422116&view=rev
Log:
Add FAQ and an example

Added:
    maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/
    maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/smtp-authentication.apt
    maven/sandbox/plugins/maven-changes-plugin/src/site/fml/
    maven/sandbox/plugins/maven-changes-plugin/src/site/fml/faq.fml
Modified:
    maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt
    maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml

Added: maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/smtp-authentication.apt
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/smtp-authentication.apt?rev=422116&view=auto
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/smtp-authentication.apt (added)
+++ maven/sandbox/plugins/maven-changes-plugin/src/site/apt/examples/smtp-authentication.apt Fri Jul 14 17:41:47 2006
@@ -0,0 +1,34 @@
+ ------
+ SMTP Authentication
+ ------
+ Allan Ramirez
+ ------
+ 21 October 2005
+ ------
+
+SMTP Authentication
+
+  If the SMTP host needs authentication, you can provide your username and password
+  in the <<<\<configuration\>>>> section:
+
+-------------------
+<project>
+  ...
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-changes-plugin</artifactId>
+        <configuration>
+          <smtpHost>mail.yourhost.com</smtpHost>
+          <smtpPort implementation="java.lang.Integer">25</smtpPort>
+          <username>[hidden email]</username>
+          <password>somepassword</password>
+          ...
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  ...
+</project>
+-------------------

Modified: maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt?rev=422116&r1=422115&r2=422116&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt (original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/site/apt/usage.apt Fri Jul 14 17:41:47 2006
@@ -202,36 +202,8 @@
 mvn changes:announcement-generate
 -------------------
 
-  This is how you mail the generated announcement:
+  This is how you send an email with the generated announcement:
 
 -------------------
 mvn changes:announcement-mail
--------------------
-
-
-*Authentication support
-
-  If the smtp host needs authentication, you can provide your username and password
-  in the <<<\<configuration\>>>> section
-
--------------------
-<project>
-  ...
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-changes-plugin</artifactId>
-        <configuration>
-          <smtpHost>mail.yourhost.com</smtpHost>
-          <smtpPort implementation="java.lang.Integer">25</smtpPort>
-          <username>[hidden email]</username>
-          <password>somepassword</password>
-          ...
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-  ...
-</project>
 -------------------

Added: maven/sandbox/plugins/maven-changes-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/site/fml/faq.fml?rev=422116&view=auto
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/site/fml/faq.fml (added)
+++ maven/sandbox/plugins/maven-changes-plugin/src/site/fml/faq.fml Fri Jul 14 17:41:47 2006
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<faqs id="FAQ" title="Frequently Asked Questions">
+ <part id="General">
+   <faq id="question1">
+     <question>What's the difference between the changes-maven-plugin at Mojo and this one?</question>
+     <answer>
+       <p>
+         This plugin started out at <a href="http://mojo.codehaus.org/">the Mojo project</a>.
+         In March of 2006 the plugin was moved to Apache and the Maven sandbox.
+         So it's the same plugin, but this one is newer.
+       </p>
+     </answer>
+   </faq>
+ </part>
+</faqs>
\ No newline at end of file

Modified: maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml?rev=422116&r1=422115&r2=422116&view=diff
==============================================================================
--- maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml (original)
+++ maven/sandbox/plugins/maven-changes-plugin/src/site/site.xml Fri Jul 14 17:41:47 2006
@@ -35,8 +35,13 @@
     <menu name="Overview">
       <item name="Goals" href="plugin-info.html"/>
       <item name="Usage" href="usage.html"/>
+      <item name="FAQ" href="faq.html"/>
       <item name="Sample Changes Report" href="changes-report.html"/>
       <item name="Sample Jira Report" href="jira-report.html"/>
+    </menu>
+
+    <menu name="Examples">
+      <item name="SMTP Authentication" href="examples/smtp-authentication.html"/>
     </menu>
 
     ${reports}