PR: MPTEST-47
Submitted by: Henning Schmiedehausen Allow to add additional elements to the test classpath, new property maven.test.classpath. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@388684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
ffbf62b5d0
commit
575690f73b
4 files changed
+24
No files matched your search
@@ -179,6 +179,9 @@
|
||||
<pathelement path="${plugin.getDependencyPath('xerces:xmlParserAPIs')}"/>
|
||||
<pathelement path="${plugin.getDependencyPath('xerces:xercesImpl')}"/>
|
||||
</j:if>
|
||||
<j:if test="${not empty(context.getVariable('maven.test.classpath'))}">
|
||||
<pathelement path="${maven.test.classpath}"/>
|
||||
</j:if>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reportsDirectory}">
|
||||
<fileset dir="${maven.test.searchdir}">
|
||||
@@ -239,6 +242,9 @@
|
||||
<pathelement path="${plugin.getDependencyPath('xerces:xmlParserAPIs')}"/>
|
||||
<pathelement path="${plugin.getDependencyPath('xerces:xercesImpl')}"/>
|
||||
</j:if>
|
||||
<j:if test="${not empty(context.getVariable('maven.test.classpath'))}">
|
||||
<pathelement path="${maven.test.classpath}"/>
|
||||
</j:if>
|
||||
</classpath>
|
||||
<arg value="-noloading"/>
|
||||
</java>
|
||||
@@ -321,6 +327,9 @@
|
||||
<pathelement path="${plugin.getDependencyPath('xerces:xmlParserAPIs')}"/>
|
||||
<pathelement path="${plugin.getDependencyPath('xerces:xercesImpl')}"/>
|
||||
</j:if>
|
||||
<j:if test="${not empty(context.getVariable('maven.test.classpath'))}">
|
||||
<pathelement path="${maven.test.classpath}"/>
|
||||
</j:if>
|
||||
</classpath>
|
||||
|
||||
<test name="${testcase}" todir="${maven.test.reportsDirectory}"/>
|
||||
@@ -425,6 +434,9 @@
|
||||
<pathelement path="${plugin.getDependencyPath('xerces:xmlParserAPIs')}"/>
|
||||
<pathelement path="${plugin.getDependencyPath('xerces:xercesImpl')}"/>
|
||||
</j:if>
|
||||
<j:if test="${not empty(context.getVariable('maven.test.classpath'))}">
|
||||
<pathelement path="${maven.test.classpath}"/>
|
||||
</j:if>
|
||||
</classpath>
|
||||
|
||||
<batchtest todir="${maven.test.reportsDirectory}">
|
||||
|
||||
Reference in new issue
Block a user