Fix similar to MAVEN-309

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114094 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-09-24 07:42:45 +00:00
parent 925b085988
commit 5f2cc65dad
2 changed files with 13 additions and 8 deletions

View File

@ -37,6 +37,7 @@
<setProperty name="source" value="${maven.test.source}" />
</j:if>
<classpath>
<pathelement path="${maven.test.dest}"/>
<pathelement path="${maven.build.dest}"/>
<path refid="maven.dependency.classpath"/>
<pathelement path="${plugin.getDependencyPath('junit')}"/>
@ -104,9 +105,9 @@
<formatter type="xml"/>
<formatter type="plain" usefile="${maven.junit.usefile}"/>
<classpath>
<path refid="maven.dependency.classpath"/>
<pathelement location="${maven.build.dest}"/>
<pathelement location="${maven.test.dest}"/>
<pathelement location="${maven.build.dest}"/>
<path refid="maven.dependency.classpath"/>
<pathelement path="${plugin.getDependencyPath('junit')}"/>
</classpath>
<batchtest todir="${maven.test.reportsDirectory}">
@ -153,9 +154,9 @@
<jvmarg value="${somejvmarg}"/>
</j:forEach>
<classpath>
<path refid="maven.dependency.classpath"/>
<pathelement location="${maven.build.dest}"/>
<pathelement location="${maven.test.dest}"/>
<pathelement location="${maven.build.dest}"/>
<path refid="maven.dependency.classpath"/>
<pathelement path="${plugin.getDependencyPath('junit')}"/>
</classpath>
<arg value="-noloading"/>
@ -205,9 +206,9 @@
<formatter type="plain" usefile="true"/>
<classpath>
<path refid="maven.dependency.classpath"/>
<pathelement location="${maven.build.dest}"/>
<pathelement location="${maven.test.dest}"/>
<pathelement location="${maven.build.dest}"/>
<path refid="maven.dependency.classpath"/>
<pathelement path="${plugin.getDependencyPath('junit')}"/>
</classpath>
@ -270,9 +271,9 @@
<formatter type="plain" usefile="true"/>
<classpath>
<path refid="maven.dependency.classpath"/>
<pathelement location="${maven.build.dest}"/>
<pathelement location="${maven.test.dest}"/>
<pathelement location="${maven.build.dest}"/>
<path refid="maven.dependency.classpath"/>
<pathelement path="${plugin.getDependencyPath('junit')}"/>
</classpath>

View File

@ -7,6 +7,10 @@
<body>
<release version="1.5" date="in CVS">
<action dev="dion" type="update">
Apply MAVEN-309. Reorganise classpaths so that it's test, build, dependencies
and then JUnit
</action>
<action dev="jstrachan" type="fix">
You can now specify whether the source (java) or classes (class) files
are searched when using the test plugin via the property: