if the prefix of artifactId is groupId, replace it using char '.'