Skip to content

Commit

Permalink
Update retrieve pattern, otherwise you can get java.lang.RuntimeExcep…
Browse files Browse the repository at this point in the history
…tion: Multiple artifacts of the module org.mockito#mockito-all;1.8.4 are retrieved to the same file! Update the retrieve pattern to fix this error.

	at org.apache.ivy.core.retrieve.RetrieveEngine.retrieve(RetrieveEngine.java:206)

when have dependencies like: <dependency org="org.mockito" name="mockito-all" rev="1.8.4"/>
  • Loading branch information
jevgeni committed Oct 29, 2011
1 parent 591c6c3 commit ae7cda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<property name="ivy.version" value="2.2.0"/>

<target name="fetch-jars" depends="install-ivy">
<ivy:retrieve pattern="lib/[artifact]-[revision].[ext]" symlink="true"/>
<ivy:retrieve pattern="lib/[conf]/[artifact]-[type]-[revision].[ext]" symlink="true"/>
</target>

<target name="install-ivy">
Expand Down

0 comments on commit ae7cda4

Please sign in to comment.