Gradle cannot resolve SNAPSHOT dependency

I have a gradle plugin, published to Nexus as “group:my-gradle-plugin:SNAPSHOT”

In my project I use it like:

buildscript {

repositories {

maven {

url “http://maven.example.com/nexus/content/groups/snapshots

}

}

dependencies {

classpath ‘group:my-gradle-plugin:SNAPSHOT’

} }

But when I build project Gradle says:

Could not find group:my-gradle-plugin:SNAPSHOT. Searched in the following locations:

http://maven.example.com/nexus/content/groups/snapshots/group/my-gradle-plugin/SNAPSHOT/my-gradle-plugin-SNAPSHOT.pom

http://maven.example.com/nexus/content/groups/snapshots/group/my-gradle-plugin/SNAPSHOT/my-gradle-plugin-SNAPSHOT.jar

When I enter the Nexus, the plugin is there, but in URL SNAPSHOT is replaced by timestamp. It looks like:

http://maven.example.com/nexus/content/groups/snapshots/group/my-gradle-plugin/SNAPSHOT/my-gradle-plugin-20150224.144145-2.jar

What is wrong, why Gradle can’t resolve the artifact?

I changed version to “1.0-SNAPSHOT” and it works file. Only “SNAPSHOT” does not.