refactored parsing of Groovy version string into AbstractGroovyMojo