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:
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user