PR: MPJXR-32

New property to make inclusion of test Xref optional.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@366372 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2006-01-06 00:59:24 +00:00
parent 485dc6f33c
commit 6208d73019
4 changed files with 12 additions and 2 deletions

View File

@ -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}"

View File

@ -25,3 +25,5 @@ maven.jxr.destdir.test = ${maven.docs.dest}/xref-test
maven.jxr.stylesheet = ${plugin.resources}/stylesheet.css
maven.jxr.templateDir = templates
maven.jxr.include.testXref=true

View File

@ -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>

View File

@ -31,6 +31,13 @@
<th>Optional?</th>
<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>