@@ -0,0 +1,1101 @@
+package com.github.ferstl.depgraph;%0A%0Aimport org.apache.maven.artifact.resolver.filter.ArtifactFilter;%0Aimport org.apache.maven.plugins.annotations.LifecyclePhase;%0Aimport org.apache.maven.plugins.annotations.Mojo;%0Aimport org.apache.maven.plugins.annotations.ResolutionScope;%0Aimport com.github.ferstl.depgraph.dot.DotBuilder;%0A%0A/**%0A * Creates a graph containing the group IDs of all dependencies.%0A */%0A@Mojo(%0A    name = %22by-groupid%22,%0A    aggregator = false,%0A    defaultPhase = LifecyclePhase.NONE,%0A    requiresDependencyCollection = ResolutionScope.TEST,%0A    requiresDirectInvocation = false,%0A    threadSafe = true)%0Apublic class DependencyGraphByGroupIdMojo extends AbstractGraphMojo %7B%0A%0A  @Override%0A  protected GraphFactory createGraphFactory(ArtifactFilter artifactFilter) %7B%0A    DotBuilder dotBuilder = new DotBuilder()%0A        .useNodeRenderer(NodeRenderers.SCOPED_GROUP_ID)%0A        .useNodeLabelRenderer(NodeRenderers.GROUP_ID_LABEL);%0A%0A    GraphBuilderAdapter adapter = new GraphBuilderAdapter(this.dependencyGraphBuilder);%0A    return new SimpleGraphFactory(adapter, artifactFilter, dotBuilder);%0A  %7D%0A%0A%7D%0A

Introduce a new mojo for groupId graphs