private String[] splitGoalSpec(String fullGoal) throws MojoFailureException {
        String[] parts = StringUtils.split(fullGoal, ":");
        if (parts.length != 3) {
            throw new MojoFailureException("Cannot parse " + fullGoal + " as a maven plugin goal. " +
                "It must be fully qualified as in <groupId>:<artifactId>:<goal>");
        }
        return new String[] { parts[0] + ":" + parts[1], parts[2] };
    }
A service for executing goals on configured plugins.
<p>
Inspired by and partly reused from
https://github.com/TimMoore/mojo-executor but adapted to newer Maven versions.

@author roland
@since 01/07/15
src/main/java/io/fabric8/maven/docker/service/MojoExecutionService.java