You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by bi...@apache.org on 2011/08/24 00:33:11 UTC
svn commit: r1160910 -
/maven/jxr/trunk/maven-jxr-plugin/src/it/new-site-config/verify.groovy
Author: bimargulies
Date: Tue Aug 23 22:33:11 2011
New Revision: 1160910
URL: http://svn.apache.org/viewvc?rev=1160910&view=rev
Log:
[JXR-91] Javadoc link generation not working when using the 'reportPlugins' parameter of the site plugin instead of the 'reporting' section of the pom.
o make new IT actually check for javadoc links.
Modified:
maven/jxr/trunk/maven-jxr-plugin/src/it/new-site-config/verify.groovy
Modified: maven/jxr/trunk/maven-jxr-plugin/src/it/new-site-config/verify.groovy
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/it/new-site-config/verify.groovy?rev=1160910&r1=1160909&r2=1160910&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/it/new-site-config/verify.groovy (original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/it/new-site-config/verify.groovy Tue Aug 23 22:33:11 2011
@@ -1,4 +1,3 @@
-
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -34,5 +33,6 @@ assert new File( basedir, 'target/site/x
content = new File( basedir, 'target/site/xref/org/apache/maven/jxr/it/App.html' ).text;
assert content.contains( 'App2.html' );
+assert content.contains( '<div id="overview"><a href="../../../../../../apidocs/org/apache/maven/jxr/it/App.html">View Javadoc</a></div>' );
return true;
\ No newline at end of file