You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2009/08/30 08:54:15 UTC
svn commit: r809252 - in
/maven/plugins/trunk/maven-site-plugin/src/it/full-reporting: ./ pom.xml
profiles.txt verify.groovy
Author: olamy
Date: Sun Aug 30 06:54:15 2009
New Revision: 809252
URL: http://svn.apache.org/viewvc?rev=809252&view=rev
Log:
add an it with more report generation using reporting profile.
Added:
maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/
- copied from r808180, maven/plugins/trunk/maven-site-plugin/src/it/surefire-report/
maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/profiles.txt (with props)
Modified:
maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/pom.xml
maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy
Modified: maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/pom.xml?rev=809252&r1=808180&r2=809252&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/pom.xml (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/pom.xml Sun Aug 30 06:54:15 2009
@@ -1,5 +1,10 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-parent</artifactId>
+ <version>11</version>
+ </parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.plugins.site.its</groupId>
<artifactId>surefire-report</artifactId>
@@ -25,7 +30,6 @@
</plugins>
</build>
<reporting>
- <excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Added: maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/profiles.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/profiles.txt?rev=809252&view=auto
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/profiles.txt (added)
+++ maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/profiles.txt Sun Aug 30 06:54:15 2009
@@ -0,0 +1 @@
+reporting
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/profiles.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/profiles.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Modified: maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy?rev=809252&r1=808180&r2=809252&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/full-reporting/verify.groovy Sun Aug 30 06:54:15 2009
@@ -26,6 +26,15 @@
assert content.contains( 'Tests run: 1, Failures: 0, Errors: 0, Skipped: 0' );
assert new File(basedir, 'target/site/surefire-report.html').exists();
-assert !new File(basedir, 'target/site/index.html').exists();
+assert new File(basedir, 'target/site/index.html').exists();
+assert new File(basedir, 'target/site/checkstyle.html').exists();
+assert new File(basedir, 'target/site/cpd.html').exists();
+assert new File(basedir, 'target/site/apidocs/index.html').exists();
+assert new File(basedir, 'target/site/cobertura/index.html').exists();
+assert new File(basedir, 'target/site/xref/index.html').exists();
+assert new File(basedir, 'target/site/xref-test/index.html').exists();
+
+assert new File(basedir, 'target/site/taglist.html').exists();
+assert new File(basedir, 'target/site/team-list.html').exists();
return true;
\ No newline at end of file