Author: ltheussl
Date: Sat Mar 19 23:17:05 2011
New Revision: 1083329

URL: http://svn.apache.org/viewvc?rev=1083329&view=rev
Log:
make the IT produce the same (expected) result as with m3

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

Modified: maven/plugins/trunk/maven-site-plugin/src/it/MSITE-312/child/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/MSITE-312/child/pom.xml?rev=1083329&r1=1083328&r2=1083329&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/MSITE-312/child/pom.xml 
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/MSITE-312/child/pom.xml Sat 
Mar 19 23:17:05 2011
@@ -12,6 +12,9 @@
   <artifactId>child</artifactId>
 
   <name>Child</name>
+  <!-- necessary even though it's equivalent to the default value
+        because m2 does not append the slash in the end, which makes the 
relative links go boing -->
+  <url>http://example.com/parent/child/</url>
 
   <properties>
     <childprop>child</childprop>

Modified: maven/plugins/trunk/maven-site-plugin/src/it/MSITE-312/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/MSITE-312/verify.bsh?rev=1083329&r1=1083328&r2=1083329&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/MSITE-312/verify.bsh (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/MSITE-312/verify.bsh Sat Mar 
19 23:17:05 2011
@@ -75,7 +75,7 @@ try
         return false;
     }
 
-    index1 = content.indexOf( "<a href=\"\" title=\"Child\">Child</a>" );
+    index1 = content.indexOf( "<a href=\"./\" title=\"Child\">Child</a>" );
     index2 = content.indexOf( "<a href=\"local/parent\" 
title=\"parent\">parent</a>" );
     index3 = content.indexOf( "<a href=\"local/child\" 
title=\"child\">child</a>" );
 


Reply via email to