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>

View File

@ -25,6 +25,9 @@
</properties>
<body>
<release version="1.3-SNAPSHOT" date="in CVS">
<action dev="brett" type="fix" issue="MPPLUGIN-13">
Create local repository directory first so plugin:download doesn't fail when it doesn't exist
</action>
<action dev="dion" type="update">
Add optional msg attribute to assertFileExists and assertEquals tags
</action>