Resolvers are as follows:
<chain name="main" returnFirst="true">
<ibiblio name="local-maven2" m2compatible="true" root="file:///c:/Users/<username>/.m2/repository" />
<ibiblio name="public" m2compatible="true" root="http://<artifactory>/artifactory/libs-releases" />
When artifacts are discovered using the "public" resolver, source (if published) is downloaded automatically. However when using the "local-maven2" resolver no source is copied.
This appears to be the issue:
[ivy:retrieve] maven-metadata not available: file:/c:/Users/<username>/.m2/repository/com/example/test/1.1-SNAPSHOT/maven-metadata.xml
In this case there is no maven-metadata.xml, there is only a maven-metadata-local.xml