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:
parent
ffbf62b5d0
commit
575690f73b
@ -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}">
|
||||
|
||||
@ -35,3 +35,4 @@ maven.test.dest = ${maven.build.dir}/test-classes
|
||||
maven.test.reportsDirectory = ${maven.build.dir}/test-reports
|
||||
maven.test.skip = false
|
||||
maven.test.excludeXmlApis = no
|
||||
maven.test.classpath =
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.8-SNAPSHOT" date="in SVN">
|
||||
<action dev="ltheussl" type="add" issue="MPTEST-47" due-to="Henning Schmiedehausen">Allow to add additional elements to the test classpath, new property <code>maven.test.classpath</code>.</action>
|
||||
<action dev="ltheussl" type="add" issue="MPTEST-36">Display a warning if some tests do not pass (and <code>maven.test.failure.ignore=true</code>).</action>
|
||||
<action dev="ltheussl" type="add" issue="MPTEST-10">Add timeouts to the test plugin, new property <code>maven.junit.timeout</code>.</action>
|
||||
<action dev="ltheussl" type="add" issue="MPTEST-58" due-to="Mauro Botelho">Add ability to fail the build on test errors, new property <code>maven.test.error.ignore</code>.</action>
|
||||
|
||||
@ -164,6 +164,16 @@
|
||||
Defaults to <code>${maven.build.dir}/test-reports</code>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.test.classpath</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Specifies one or more locations that will be added to
|
||||
the classpath when the tests are run. Multiple values
|
||||
can be used; the rules of the ant <pathelement path="...">
|
||||
directive apply.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.junit.jvmargs</td>
|
||||
<td>Yes</td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user