From fb66cb7e2d1ee7cba8d209f93a901f0940ad9a1c Mon Sep 17 00:00:00 2001 From: brett Date: Tue, 18 Jan 2005 08:28:03 +0000 Subject: [PATCH] add FAQ git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@125467 13f79535-47bb-0310-9956-ffa450edef68 --- test/xdocs/faq.fml | 70 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 test/xdocs/faq.fml diff --git a/test/xdocs/faq.fml b/test/xdocs/faq.fml new file mode 100644 index 00000000..206e800f --- /dev/null +++ b/test/xdocs/faq.fml @@ -0,0 +1,70 @@ + + + + + + + General + + + + How do I email a test report? + + +

+ The following sample code will email a test report if there are any failures: +

+ + + + + + + + + + + ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')} + + + + + + +]]> +

+ Include this in your maven.xml file, and set the property test.mail.report + to true for the users that you want to send the mail from (typically just you continuous + integration environment). +

+

+ Note that you have to include Xalan in your dependencies for this particular example (see the main + Maven FAQ for more information), and provide the + overview-summary.xsl file in your project's base directory. An example one is + distributed with Ant in etc/junit-noframes.xsl. +

+

+ If you want to receive successful reports, exclude the ]]> condition. +

+
+
+
+