Author: ltheussl Date: Thu Jan 5 16:59:24 2006 New Revision: 366372 URL: http://svn.apache.org/viewcvs?rev=366372&view=rev Log: PR: MPJXR-32 New property to make inclusion of test Xref optional.
Modified: maven/maven-1/plugins/trunk/jxr/plugin.jelly maven/maven-1/plugins/trunk/jxr/plugin.properties maven/maven-1/plugins/trunk/jxr/xdocs/changes.xml maven/maven-1/plugins/trunk/jxr/xdocs/properties.xml Modified: maven/maven-1/plugins/trunk/jxr/plugin.jelly URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jxr/plugin.jelly?rev=366372&r1=366371&r2=366372&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/jxr/plugin.jelly (original) +++ maven/maven-1/plugins/trunk/jxr/plugin.jelly Thu Jan 5 16:59:24 2006 @@ -44,7 +44,7 @@ target="_blank" description="A set of browsable cross-referenced sources."/> </j:if> - <j:if test="${unitTestSourcesPresent}"> + <j:if test="${unitTestSourcesPresent and maven.jxr.include.testXref == 'true'}"> <doc:registerReport name="Test Xref" pluginName="maven-jxr-plugin" @@ -105,7 +105,7 @@ bottom="${copyright}"> </jxr:jxr> - <j:if test="${unitTestSourcesPresent == 'true'}"> + <j:if test="${unitTestSourcesPresent == 'true' and maven.jxr.include.testXref == 'true'}"> <ant:mkdir dir="${maven.jxr.destdir.test}"/> <ant:copy file="${maven.jxr.stylesheet}" Modified: maven/maven-1/plugins/trunk/jxr/plugin.properties URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jxr/plugin.properties?rev=366372&r1=366371&r2=366372&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/jxr/plugin.properties (original) +++ maven/maven-1/plugins/trunk/jxr/plugin.properties Thu Jan 5 16:59:24 2006 @@ -25,3 +25,5 @@ maven.jxr.stylesheet = ${plugin.resources}/stylesheet.css maven.jxr.templateDir = templates + +maven.jxr.include.testXref=true Modified: maven/maven-1/plugins/trunk/jxr/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jxr/xdocs/changes.xml?rev=366372&r1=366371&r2=366372&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/jxr/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/jxr/xdocs/changes.xml Thu Jan 5 16:59:24 2006 @@ -25,6 +25,7 @@ </properties> <body> <release version="1.5-SNAPSHOT" date="In SVN"> + <action dev="ltheussl" type="add" issue="MPJXR-32">New property to make inclusion of test Xref optional.</action> <action dev="aheritier" type="update" issue="MAVEN-1712">Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated : <ul> <li>commons-collections v3.1 -> v3.0</li> Modified: maven/maven-1/plugins/trunk/jxr/xdocs/properties.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jxr/xdocs/properties.xml?rev=366372&r1=366371&r2=366372&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/jxr/xdocs/properties.xml (original) +++ maven/maven-1/plugins/trunk/jxr/xdocs/properties.xml Thu Jan 5 16:59:24 2006 @@ -32,6 +32,13 @@ <th>Description</th> </tr> <tr> + <td>maven.jxr.include.testXref</td> + <td>Yes</td> + <td> + <p>Default value is <code>true</code>.</p> + </td> + </tr> + <tr> <td>maven.jxr.templateDir</td> <td>Yes</td> <td>