PR: MPTEST-32

Submitted By:	Maxwell Grender-Jones
Reviewed By:	Brett Porter
honours source modifications for test compilation


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115454 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2004-06-12 01:25:58 +00:00
parent 47c0838835
commit 5dbd829f4c
2 changed files with 21 additions and 1 deletions

View File

@@ -21,7 +21,7 @@
<project xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:u="jelly:util"
xmlns:define="jelly:define">
xmlns:define="jelly:define" xmlns:ant="jelly:ant">
<goal name="test"
description="Test the application"
@@ -66,6 +66,25 @@
<src>
<path refid="maven.test.compile.src.set"/>
</src>
<!--
|
| Source Modifications.
|
-->
<j:forEach var="sm" items="${pom.build.sourceModifications}">
<ant:available property="classPresent" classname="${sm.className}"/>
<j:if test="${classPresent != 'true'}">
<j:forEach var="exclude" items="${sm.excludes}">
<ant:exclude name="${exclude}"/>
</j:forEach>
<j:forEach var="include" items="${sm.includes}">
<ant:include name="${include}"/>
</j:forEach>
</j:if>
</j:forEach>
<j:if test="${context.getVariable('maven.compile.compilerargs') != null}">
<compilerarg line="${maven.compile.compilerargs}" />
</j:if>

View File

@@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.7-SNAPSHOT" date="in CVS">
<action dev="brett" type="fix" issue="MPTEST-32" due-to="Maxwell Grender-Jones">honour source modifications for test compilation</action>
<action dev="brett" type="fix" issue="MPTEST-31">handle JVM args correctly in test:match</action>
</release>
<release version="1.6.1" date="2004-05-19">