Fixed available check for snapshots in local repository

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@463034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kenney Westerhof 2006-10-11 23:08:56 +00:00
parent 96285e9256
commit 40c0643d08
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ need different versions of modello. -->
/> />
<condition property="build.failed"> <condition property="build.failed">
<not> <not>
<available file="${maven.repo.local}/${orgpath}/${version}/${name}-${version}.jar"/> <available file="${maven.repo.local}/${orgpath}/${version}/${name}-${fileversion}.jar"/>
</not> </not>
</condition> </condition>
<fail if="build.failed" message="Couldn't pull dependency ${orgpath}/${name}/${version}"/> <fail if="build.failed" message="Couldn't pull dependency ${orgpath}/${name}/${version}"/>