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/09/02 01:01:46 UTC
svn commit: r810298 - in
/maven/plugins/trunk/maven-site-plugin/src/it/full-reporting: pom.xml
verify.groovy
Author: olamy
Date: Tue Sep 1 23:01:46 2009
New Revision: 810298
URL: http://svn.apache.org/viewvc?rev=810298&view=rev
Log:
more test in the it which generate full reports.
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=810298&r1=810297&r2=810298&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 Tue Sep 1 23:01:46 2009
@@ -33,8 +33,12 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.4.3</version>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.1.2</version>
+ <configuration>
+ <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+ <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+ </configuration>
</plugin>
</plugins>
</reporting>
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=810298&r1=810297&r2=810298&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 Tue Sep 1 23:01:46 2009
@@ -30,6 +30,7 @@
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/apidocs/org/apache/maven/plugins/site/its/App.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();
@@ -37,4 +38,8 @@
assert new File(basedir, 'target/site/taglist.html').exists();
assert new File(basedir, 'target/site/team-list.html').exists();
+assert new File(basedir, 'target/site/dependencies.html').exists();
+content = new File(basedir, 'target/site/dependencies.html').text;
+assert content.contains( 'junit:junit:jar:3.8.2' );
+
return true;
\ No newline at end of file