Only want to add an extra junit if no junit is already listed as a dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112839 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -47,8 +47,10 @@
|
||||
<j:if test="${unitTestSourcesPresent}">
|
||||
<classpathentry kind="src" path="${pom.build.unitTestSourceDirectory}"/>
|
||||
|
||||
<j:if test="${pom.getPluginContext('maven-eclipse-plugin').getVariable('maven.eclipse.junit') != ''}">
|
||||
<classpathentry kind="var" path="MAVEN_REPO/junit/jars/junit-${pom.getPluginContext('maven-eclipse-plugin').getVariable('maven.eclipse.junit')}.jar"/>
|
||||
<j:if test="${plugin.getDependencyPath('junit')} != ''">
|
||||
<j:if test="${pom.getPluginContext('maven-eclipse-plugin').getVariable('maven.eclipse.junit') != ''}">
|
||||
<classpathentry kind="var" path="MAVEN_REPO/junit/jars/junit-${pom.getPluginContext('maven-eclipse-plugin').getVariable('maven.eclipse.junit')}.jar"/>
|
||||
</j:if>
|
||||
</j:if>
|
||||
</j:if>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user