PR: MPPLUGIN-13

check directory exists


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114924 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2004-03-18 05:52:26 +00:00
parent 5e7b46b85c
commit 60b2ba9898
2 changed files with 4 additions and 0 deletions

View File

@@ -198,6 +198,7 @@
<u:file var="localPluginFile"
name="${maven.repo.local}/${groupId}/plugins/${artifactId}-${version}.jar" />
<j:if test="${!localPluginFile.exists()}">
<ant:mkdir dir="${maven.repo.local}/${groupId}/plugins" />
<j:set var="repoList">${maven.repo.remote}</j:set>
<u:tokenize var="repos" delim=",">${repoList.trim()}</u:tokenize>