It could be a โgotcha,โ which I also discovered while downloading snapshot changes from Nexus.
The solution is provided in the Nexus book , but is not fully explained:
<settings> <mirrors> <mirror> <id>nexus</id> <url>http://myserver/nexus/content/groups/public</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> <profiles> <profile> <id>nexus</id> <repositories> <repository> <id>central</id> <url>http://central</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> </repositories> </profile> </profiles> <activeProfiles> <activeProfile>nexus</activeProfile> </activeProfiles> </settings>
It seems you need to explicitly tell Maven that the repository group provided by Nexus may also contain snapshot changes. Presumably what this means is to run Maven to start looking for special metadata files that are used to detect which temporary file is actually the last snapshot.
source share