Description
Following a successful retrieve with overwriteMode set to "always", subsequent retrieve tasks seem to throw an UnsupportedOperationException, as shown in the following stack trace:
Caused by: java.lang.UnsupportedOperationException at java.util.AbstractList.remove(AbstractList.java:161) at java.util.AbstractList$Itr.remove(AbstractList.java:374) at java.util.AbstractCollection.remove(AbstractCollection.java:293) at org.apache.ivy.util.FileUtil.deepCopy(FileUtil.java:188) at org.apache.ivy.util.FileUtil.copy(FileUtil.java:143) at org.apache.ivy.core.retrieve.RetrieveEngine.retrieve(RetrieveEngine.java:171) ... 19 more