MPECLIPSE-46 Overriden jar that resides outside maven repo doesn't get resolved properly

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116121 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
epugh 2004-10-08 15:46:48 +00:00
parent eaaf6cba60
commit 5a7d4042c9
2 changed files with 8 additions and 1 deletions

View File

@ -150,8 +150,14 @@
<j:set var="isClasspath" value="${lib.dependency.isAddedToClasspath()}"/>
<j:if test="${isClasspath}">
<maven:makeRelativePath var="relativePath" basedir="${maven.repo.local}" path="${lib.path}"/>
<u:file var="checkExist" name="${maven.repo.local}/${relativePath}" />
<j:if test="${checkExist.exists()}">
<classpathentry kind="var" path="MAVEN_REPO/${relativePath}"/>
</j:if>
<j:if test="${!checkExist.exists()}">
<classpathentry kind="lib" path="${lib.path}"/>
</j:if>
</j:if>
</j:otherwise>
</j:choose>
</j:forEach>

View File

@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.9" date="in cvs">
<action dev="epugh" type="fix" issue="MPECLIPSE-46" due-to="Archimedes Trajano">Overriden jar that resides outside maven repo doesn't get resolved properly.</action>
<action dev="epugh" type="fix" issue="MPECLIPSE-38">Jar overrides are now properly supported.</action>
</release>
<release version="1.8" date="2004-08-14">