Sonatype OSS repo is returning 301 (permanently moved) for http URLs, which aren't followed by Maven Ant Tasks (artifact:dependencies), and cause the build to fail. Switching the base Sonatype OSS repo to https to see if that fixes the problem.