Author: bentmann
Date: Sun Apr 27 13:49:26 2008
New Revision: 652011
URL: http://svn.apache.org/viewvc?rev=652011&view=rev
Log:
o Polished site
Modified:
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/usage.apt
maven/surefire/trunk/maven-surefire-report-plugin/src/site/fml/faq.fml
Modified:
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt
URL:
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt?rev=652011&r1=652010&r2=652011&view=diff
==============================================================================
---
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt
(original)
+++
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt
Sun Apr 27 13:49:26 2008
@@ -37,6 +37,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.2</version>
<configuration>
<outputName>newname</outputName>
</configuration>
Modified:
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt
URL:
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt?rev=652011&r1=652010&r2=652011&view=diff
==============================================================================
---
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt
(original)
+++
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt
Sun Apr 27 13:49:26 2008
@@ -26,13 +26,13 @@
Source Code Cross Reference
There are times when we need to know right away the line number of the
- source code that caused the failure of the test. The surefire-report plugin
+ source code that caused the failure of the test. The Surefire Report Plugin
has the capability to cross reference the source code that made the test
failed. To be able to activate it, the <<<maven-jxr-plugin>>> should
- also be declared in the \<reporting\> section of the pom along with the
- <<<maven-surefire-report-plugin>>>. For more reference about
- <<<maven-jxr-plugin>>> please click
- {{{http://maven.apache.org/plugins/maven-jxr-plugin/}here}}.
+ also be declared in the \<reporting\> section of the POM along with the
+ <<<maven-surefire-report-plugin>>>. For more details, please read the
+ documentation of the
+ {{{http://maven.apache.org/plugins/maven-jxr-plugin/}Maven JXR Plugin}}.
+----+
<project>
@@ -42,6 +42,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.2</version>
<configuration>
<!-- place your configuration here -->
</configuration>
@@ -49,6 +50,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
+ <version>2.1</version>
</plugin>
</plugins>
</reporting>
Modified:
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt
URL:
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt?rev=652011&r1=652010&r2=652011&view=diff
==============================================================================
---
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt
(original)
+++
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt
Sun Apr 27 13:49:26 2008
@@ -27,9 +27,9 @@
To change the location of the generated output report along with other
project reports. The <<outputDirectory>> property of both
- <<<maven-site-plugin>>> and <<<maven-surefire-plugin>>> should be set to the
- new path. For more information about <<<maven-site-plugin>>>, please click
- {{{http://maven.apache.org/plugins/maven-site-plugin/}here}}.
+ <<<maven-site-plugin>>> and <<<maven-surefire-report-plugin>>> should be set
to the
+ new path. For more information, see the documentation of the
+ {{{http://maven.apache.org/plugins/maven-site-plugin/}Maven Site Plugin}}.
+----+
<project>
@@ -39,6 +39,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.2</version>
<configuration>
<outputDirectory>${basedir}/target/newsite</outputDirectory>
</configuration>
@@ -46,6 +47,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-5</version>
<configuration>
<outputDirectory>${basedir}/target/newsite</outputDirectory>
</configuration>
@@ -56,14 +58,14 @@
</project>
+----+
- Please take note that if the <<outputDirectory>> of the <<<site plugin>>>
- is not configured, the output location of the surefire-report will still
+ Please take note that if the <<outputDirectory>> of the Site Plugin
+ is not configured, the output location of the Surefire report will still
be the default.
-* Configuring the Output Location using standalone goal
+* Configuring the Output Location using Standalone Goal
To change the location of the generated output report using the standalone
- goal. The <<outputDirectory>> property should be set to the new path.
+ goal, the <<outputDirectory>> property should be set to the new path.
+---+
mvn surefire-report:report -DoutputDirectory=newpath
Modified:
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt
URL:
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt?rev=652011&r1=652010&r2=652011&view=diff
==============================================================================
---
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt
(original)
+++
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt
Sun Apr 27 13:49:26 2008
@@ -25,8 +25,8 @@
Showing Failure Tests
- By default, the surefire-report plugin shows all test result status(success
- and failures) in the generated html. To be able to show the failures only,
the
+ By default, the Surefire Report Plugin shows all test result status (success
+ and failures) in the generated HTML. To be able to show the failures only,
the
property <<showSuccess>> should be set to <<false>>.
+----+
@@ -37,6 +37,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.2</version>
<configuration>
<showSuccess>false</showSuccess>
</configuration>
Modified:
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt
URL:
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt?rev=652011&r1=652010&r2=652011&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt
(original)
+++ maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt
Sun Apr 27 13:49:26 2008
@@ -23,32 +23,32 @@
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/guides/mini/guide-apt-format.html
-Maven Surefire-Report Plugin
+Maven Surefire Report Plugin
- The surefire-report plugin parses the generated TEST-*.xml files under
- <<<${basedir}/target/surefire-reports>>> and renders them to DOXIA
+ The Surefire Report Plugin parses the generated <<<TEST-*.xml>>> files under
+ <<<$\{basedir\}/target/surefire-reports>>> and renders them to DOXIA
which creates the web interface version of the test results.
* Goals Overview
- Surefire-report plugin only has one goal (the other is a workaround):
+ Surefire Report Plugin only has one goal (the other is a workaround):
* {{{report-mojo.html}surefire-report:report}} Generates the test
- results report into html format.
+ results report into HTML format.
* {{{report-only-mojo.html}surefire-report:report-only}} This goal does
not run the tests, it only builds the reports. It is provided as a work
- around for {{http://jira.codehaus.org/browse/MSUREFIREREP-6}}
+ around for {{{http://jira.codehaus.org/browse/SUREFIRE-257}SUREFIRE-257}}
[]
* Usage
- Instructions on how to use the surefire-report plugin can be found
{{{usage.html}here}}.
+ Instructions on how to use the Surefire Report Plugin can be found on the
{{{usage.html}usage page}}.
* Examples
- The following examples show how to use the surefire-report plugin in more
advanced usecases:
+ The following examples show how to use the Surefire Report Plugin in more
advanced usecases:
* {{{examples/show-failures.html}Showing Failure Tests}}
Modified:
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/usage.apt
URL:
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/usage.apt?rev=652011&r1=652010&r2=652011&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/usage.apt
(original)
+++ maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/usage.apt
Sun Apr 27 13:49:26 2008
@@ -27,8 +27,8 @@
* Generate the report as part of Project Reports
- To generate the surefire-report as part of the site-generation, add the
following in
- the \<reporting\> section of your pom:
+ To generate the Surefire report as part of the site generation, add the
following in
+ the \<reporting\> section of your POM:
+---+
<project>
@@ -38,6 +38,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.2</version>
</plugin>
</plugins>
</reporting>
@@ -48,17 +49,17 @@
When the <<<mvn site>>> is invoked, the report will be automatically
included in the Project Reports menu as shown in the figure below.
-[images/surefire-sample1.PNG] Sample surefire-report
+[images/surefire-sample1.PNG] Sample Surefire Report
* Generate the report as standalone
- The surefire-report can also generate the report using its standalone goal:
+ The Surefire report can also generate the report using its standalone goal:
+---+
mvn surefire-report:report
+---+
- A html report should be generated in
<<<${basedir}/target/site/surefire-report.html>>>.
+ A HTML report should be generated in
<<<$\{basedir\}/target/site/surefire-report.html>>>.
[images/surefire-sample2.PNG] Sample standalone surefire-report
Modified: maven/surefire/trunk/maven-surefire-report-plugin/src/site/fml/faq.fml
URL:
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/site/fml/faq.fml?rev=652011&r1=652010&r2=652011&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-report-plugin/src/site/fml/faq.fml
(original)
+++ maven/surefire/trunk/maven-surefire-report-plugin/src/site/fml/faq.fml Sun
Apr 27 13:49:26 2008
@@ -22,11 +22,11 @@
<faqs id="FAQ" title="Frequently Asked Questions">
<part id="General">
<faq id="question">
- <question>The surefire-report plugin reruns test. Is this its desired
behavior?</question>
+ <question>The Surefire Report Plugin reruns test. Is this its desired
behavior?</question>
<answer>
<p>
No. This is a very known issue for the plugin. Please see
- <a
href="http://jira.codehaus.org/browse/MSUREFIREREP-6">MSUREFIREREP-6</a>
+ <a
href="http://jira.codehaus.org/browse/SUREFIRE-257">SUREFIRE-257</a>
for
details.
</p>