Extracts the base version number from maven project. E.g. base version of 1.0.0-SNAPSHOT is 1.0