evenisse 2003/08/06 01:23:43
Modified: src/plugins-build/test plugin.jelly project.xml
src/plugins-build/test/xdocs changes.xml
Log:
Check if unitTest tag is present in pom before copy resources.
Revision Changes Path
1.16 +7 -5 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.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- plugin.jelly 31 Jul 2003 06:50:27 -0000 1.15
+++ plugin.jelly 6 Aug 2003 08:23:43 -0000 1.16
@@ -308,11 +308,13 @@
prereqs="test:prepare-filesystem">
<j:if test="${unitTestSourcesPresent}">
- <j:if test="${!pom.build.unitTest.resources.isEmpty()}">
- <maven:copy-resources
- resources="${pom.build.unitTest.resources}"
- todir="${maven.test.dest}"
- />
+ <j:if test="${pom.build.unitTest != null}">
+ <j:if test="${!pom.build.unitTest.resources.isEmpty()}">
+ <maven:copy-resources
+ resources="${pom.build.unitTest.resources}"
+ todir="${maven.test.dest}"
+ />
+ </j:if>
</j:if>
</j:if>
</goal>
1.14 +1 -1 maven/src/plugins-build/test/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/test/project.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- project.xml 29 Jul 2003 04:49:40 -0000 1.13
+++ project.xml 6 Aug 2003 08:23:43 -0000 1.14
@@ -5,7 +5,7 @@
<pomVersion>3</pomVersion>
<id>maven-test-plugin</id>
<name>Maven Test Plug-in</name>
- <currentVersion>1.3</currentVersion>
+ <currentVersion>1.4-SNAPSHOT</currentVersion>
<description/>
<shortDescription>Java Project Management Tools</shortDescription>
<url>http://maven.apache.org/reference/plugins/test/</url>
1.3 +6 -1 maven/src/plugins-build/test/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/test/xdocs/changes.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- changes.xml 26 Mar 2003 10:07:23 -0000 1.2
+++ changes.xml 6 Aug 2003 08:23:43 -0000 1.3
@@ -6,7 +6,12 @@
</properties>
<body>
- <release version="1.3" date="in CVS">
+ <release version="1.4" date="in CVS">
+ <action dev="evenisse" type="fix">
+ Check if unitTest tag is present in pom before copy resources.
+ </action>
+ </release>
+ <release version="1.3" date="Unknown">
<action dev="evenisse" type="add">
Add jvmarg support for junit.
Add properties documentation.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]