Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.0-beta-1
-
Fix Version/s: 2.0
-
Labels:None
-
Environment:Windows XP
Description
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.
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.
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.