1 2
# Maven versions: up to three dot-separated numbers or a `*` last, then an optional RELEASE or SNAPSHOT qualifier. MAVEN_VERSION (?:[0-9]+\.){0,2}(?:\*|[0-9]+)(?:[.-](?:RELEASE|SNAPSHOT))?