Check if unitTest tag is present in pom before copy resources.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113804 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
fd76737f1a
commit
9858c5c6b9
3 files changed
+14
-7
No files matched your search
+7
-5
@@ -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
-1
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user