use test.skip on other goals
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114834 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
4d64039d94
commit
6395513866
1 file changed
+2
-2
+2
-2
@@ -42,7 +42,7 @@
|
||||
<j:set var="maven.test.searchdir" value="${pom.build.unitTestSourceDirectory}"/>
|
||||
</j:if>
|
||||
|
||||
<j:if test="${unitTestSourcesPresent == 'true'}">
|
||||
<j:if test="${unitTestSourcesPresent == 'true' and context.getVariable('maven.test.skip') != 'true'}">
|
||||
|
||||
<javac
|
||||
destdir="${maven.test.dest}"
|
||||
@@ -338,7 +338,7 @@
|
||||
description="Copy any resources that must be present for run tests"
|
||||
prereqs="test:prepare-filesystem">
|
||||
|
||||
<j:if test="${unitTestSourcesPresent}">
|
||||
<j:if test="${unitTestSourcesPresent == 'true' and context.getVariable('maven.test.skip') != 'true'}">
|
||||
<j:if test="${pom.build.unitTest != null}">
|
||||
<j:if test="${!pom.build.unitTest.resources.isEmpty()}">
|
||||
<maven:copy-resources
|
||||
|
||||
Reference in new issue
Block a user