[ http://jira.codehaus.org/browse/MPANT-27?page=comments#action_69611 ]
Jon Tayler commented on MPANT-27: --------------------------------- Looks like the plugin will have to generate something like: <dirname property="groupId.artifactId" file="${maven.repo.local}/org/votech/ds6/plastic/plastic-window-frame/0.5.2-SNAPSHOT/plastic-window-frame-0.5.2-SNAPSHOT.jar"/> <!--property name will have to be some mangled version of the artifact and group id--> <mkdir dir="${groupId.artifactId}"/> <get verbose="on" src="http://www.astrogrid.org/maven/org/votech/ds6/plastic/plastic-window-frame/0.5.2-SNAPSHOT/plastic-window-frame-0.5.2-SNAPSHOT.jar" dest="${maven.repo.local}/org/votech/ds6/plastic/plastic-window-frame/0.5.2-SNAPSHOT/plastic-window-frame-0.5.2-SNAPSHOT.jar" usetimestamp="true" ignoreerrors="true"/> for each depdency. > Generated Ant script does not work unless mvn has previously been run to > create the repo directory structure > ------------------------------------------------------------------------------------------------------------ > > Key: MPANT-27 > URL: http://jira.codehaus.org/browse/MPANT-27 > Project: maven-ant-plugin > Type: Bug > Environment: Windows XP > Reporter: Jon Tayler > > > This is for version 2.0-beta-1 > The generated ant script creates a get-deps target that is a list of get > tasks downloading dependencies from remote repos into the local repos. It > attempts to create the maven 2 directory structure. Unfortunately if this > structure does not exist, then the script will fail silently (due to the > ignoreErrors flag) since the ant get task doesn't automatically create the > missing folders. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira