You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by we...@apache.org on 2003/03/20 15:45:19 UTC
cvs commit: maven/./src/plugins-build/test/xdocs properties.xml
werken 2003/03/20 06:45:18
Modified: ./src/plugins-build/test plugin.jelly plugin.properties
./src/plugins-build/test/xdocs properties.xml
Log:
Applied maven.test.skip patch from Jim Crossley.
Revision Changes Path
1.5 +1 -1 maven/./src/plugins-build/test/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/./src/plugins-build/test/plugin.jelly,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- plugin.jelly 16 Mar 2003 00:59:19 -0000 1.4
+++ plugin.jelly 20 Mar 2003 14:45:18 -0000 1.5
@@ -60,7 +60,7 @@
description="Test the application"
prereqs="test:compile">
- <j:if test="${unitTestSourcesPresent == 'true'}">
+ <j:if test="${unitTestSourcesPresent == 'true' and context.getVariable('maven.test.skip') != 'true'}">
<taskdef
name="junit"
1.2 +1 -0 maven/./src/plugins-build/test/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven/./src/plugins-build/test/plugin.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.properties 24 Jan 2003 03:44:31 -0000 1.1
+++ plugin.properties 20 Mar 2003 14:45:18 -0000 1.2
@@ -9,3 +9,4 @@
maven.junit.usefile = true
maven.test.dest = ${maven.build.dir}/test-classes
maven.test.reportsDirectory = ${maven.build.dir}/test-reports
+maven.test.skip = false
\ No newline at end of file
1.3 +8 -0 maven/./src/plugins-build/test/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven/./src/plugins-build/test/xdocs/properties.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- properties.xml 19 Mar 2003 05:42:05 -0000 1.2
+++ properties.xml 20 Mar 2003 14:45:18 -0000 1.3
@@ -48,6 +48,14 @@
</td>
</tr>
<tr>
+ <td>maven.test.skip</td>
+ <td>Yes</td>
+ <td>
+ Set this to 'true' to bypass unit tests entirely. Its use
+ is NOT RECOMMENDED, but quite convenient on occasion.
+ </td>
+ </tr>
+ <tr>
<td>maven.test.source</td>
<td>Yes</td>
<td>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org