added support for sonatype snapshot.