Author: hboutemy
Date: Sun Dec 14 10:39:58 2014
New Revision: 1645436

URL: http://svn.apache.org/r1645436
Log:
[MPIR-267] added check without failing, since it still needs to be fixed

Modified:
    
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh

Modified: 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh?rev=1645436&r1=1645435&r2=1645436&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh
 (original)
+++ 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh
 Sun Dec 14 10:39:58 2014
@@ -110,16 +110,22 @@ try
         }
         return false;
     }
+    if ( content.contains( "<th>mirror-test</th>" ) )
+    {
+        // MPIR-267, not fixed yet: just display ERROR but do not fail
+        System.err.println( "[ERROR] 'Repository locations for each of the 
Dependencies.' in dependencies.html doesn't refer to central repository but 
mirror-test." );
+    }
 
+    // MPIR-216: dependency with range
     File dependencyMgmt = new File( siteDir, "dependency-management.html");
     content = FileUtils.fileRead( dependencyMgmt, "UTF-8" );
     if ( !content.contains( 
"http://maven.apache.org/doxia/doxia/doxia-sink-api/"; ) )
     {
-        System.err.println( "dependency-management doesn't contain 
doxia-sink-api url http://maven.apache.org/doxia/doxia/doxia-sink-api/"; );
+        System.err.println( "MPIR-216: dependency-management doesn't contain 
doxia-sink-api url http://maven.apache.org/doxia/doxia/doxia-sink-api/"; );
         return false;
     }
 }
-catch( Throwable t )
+catch ( Throwable t )
 {
     t.printStackTrace();
     return false;


Reply via email to