I am using versions-maven-plugin to automatically find latest release/snapshot versions of maven artifacts, found in many different nexus repositories.
It seems like the plugin is using the maven-metadata-$REPO.xml (where $REPO is id for a repository) files in my local repository to find the latest version of an artifact.
I often need to mvn:release an artifact, and just right after that, I need to update another artifact depending on the just released artifact, but versions-maven-plugin cannot find it because it's latest version is listed in those xml files, even though it actually exists in nexus.
I hope some of you can come with ideas as to how I can solve the problem. Thanks for your time.