Index: plugin.jelly
===================================================================
RCS file: /home/cvspublic/maven-plugins/test/plugin.jelly,v
retrieving revision 1.31
diff -u -r1.31 plugin.jelly
--- plugin.jelly	19 May 2004 12:31:35 -0000	1.31
+++ plugin.jelly	20 May 2004 19:21:31 -0000
@@ -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>

