When trying to use artifact-lock-nio as the lock strategy, I get resolve errors due to OverlappingFileLockException being thrown:
The reason is probably related to our use of the <parallel> and <antcallback> tasks. The documentation of the antcallback task is here: http://ant-contrib.sourceforge.net/tasks/tasks/antcallback_task.html
All the testxxx targets perform a resolve before running some junit tests in a separate vm. These resolve calls appear to cause the OverlappingFileLockException.