You can configure the versions plugin like this:
org.codehaus.mojo
versions-maven-plugin
2.1
someUrl
someUrl can also be a file URL. The syntax of the rules file is given in http://www.mojohaus.org/versions-maven-plugin/version-rules.html, it may contain something like this:
.*-beta.
.*_ALPHA