? cactus_exclude.patch
? changelog.patch
Index: src/plugins-build/cactus/plugin.jelly
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/src/plugins-build/cactus/plugin.jelly,v
retrieving revision 1.10
diff -u -r1.10 plugin.jelly
--- src/plugins-build/cactus/plugin.jelly	7 Nov 2002 13:48:08 -0000	1.10
+++ src/plugins-build/cactus/plugin.jelly	8 Nov 2002 15:41:41 -0000
@@ -127,7 +127,6 @@
 
     <taskdef name="junit"
       classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
-
     <junit printSummary="yes" fork="true" dir="${basedir}"
       failureProperty="maven.cactus.test.failure">
 
@@ -149,9 +148,11 @@
         <pathelement path="${plugin.getDependencyPath('xerces')}"/>
       </classpath>
       <batchtest todir="${maven.cactus.test.reportsDirectory}">
-        <fileset dir="${maven.cactus.src.dir}"/>
+        <fileset dir="${maven.cactus.src.dir}">
+          <include name="${maven.cactus.test.fileset.include}"/>
+          <exclude name="${maven.cactus.test.fileset.exclude}"/>
+        </fileset>    
       </batchtest>
-
     </junit>
 
     <j:if test="${maven.cactus.test.failure}">
Index: src/plugins-build/cactus/plugin.properties
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/src/plugins-build/cactus/plugin.properties,v
retrieving revision 1.4
diff -u -r1.4 plugin.properties
--- src/plugins-build/cactus/plugin.properties	7 Nov 2002 13:42:27 -0000	1.4
+++ src/plugins-build/cactus/plugin.properties	8 Nov 2002 15:41:42 -0000
@@ -52,3 +52,9 @@
 
 # Location of generated raw test reports
 maven.cactus.test.reportsDirectory = ${maven.cactus.build.dir}/test-reports
+
+# Files to test
+maven.cactus.test.fileset.include=**/*.*
+
+# Files to not test
+maven.cactus.test.fileset.exclude=
Index: src/plugins-build/changelog/plugin.jelly
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/src/plugins-build/changelog/plugin.jelly,v
retrieving revision 1.12
diff -u -r1.12 plugin.jelly
--- src/plugins-build/changelog/plugin.jelly	30 Oct 2002 17:55:28 -0000	1.12
+++ src/plugins-build/changelog/plugin.jelly	8 Nov 2002 15:41:42 -0000
@@ -20,7 +20,7 @@
       <j:set var="maven.mode.online" value="true" />
     </j:if>
     <j:choose>
-      <j:when test="${maven.mode.online}">
+      <j:when test="${maven.mode.online} &amp; ${pom.repository.connection} != null">
       <define:taglib uri="changelog">
         <define:jellybean
           name="changelog"
@@ -43,7 +43,14 @@
       </j:when>
 
       <j:otherwise>
-        <echo>The Changelog is available in the online mode only.</echo>
+        <j:choose>
+          <j:when test="${pom.repository.connection} == ''">
+            <echo>The Changelog requires the pom.repository.connection to be set.</echo>
+          </j:when>
+          <j:otherwise>
+            <echo>The Changelog is available in the online mode only.</echo>
+          </j:otherwise>
+        </j:choose>
       </j:otherwise>
     </j:choose>
 

