ported from https://github.com/koekiebox/git-maven-plugin refactored groupId & package structs with permission from @koekiebox