Maven 2 & 3

Remove all direct usage of DefaultArtifactRepository