You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2008/09/13 12:49:41 UTC

svn commit: r694922 - in /maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265: pom.xml verify.bsh

Author: hboutemy
Date: Sat Sep 13 03:49:41 2008
New Revision: 694922

URL: http://svn.apache.org/viewvc?rev=694922&view=rev
Log:
added reports summary page existence (project-reports.html) to IT checks

Modified:
    maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/pom.xml
    maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh

Modified: maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/pom.xml?rev=694922&r1=694921&r2=694922&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/pom.xml (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/pom.xml Sat Sep 13 03:49:41 2008
@@ -36,6 +36,11 @@
         <artifactId>maven-site-plugin</artifactId>
         <version>@pom.version@</version>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>taglist-maven-plugin</artifactId>
+        <version>2.0</version>
+      </plugin>
     </plugins>
   </reporting>
 </project>

Modified: maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh?rev=694922&r1=694921&r2=694922&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh Sat Sep 13 03:49:41 2008
@@ -83,6 +83,12 @@
         return false;
     }
 
+    File reports = new File ( siteDirectory, "project-reports.html" );
+    if ( !reports.exists() || reports.isDirectory() )
+    {
+        System.err.println( "project-reports.html file is missing or a directory." );
+        return false;
+    }
 }
 catch( IOException e )
 {