@@ -0,0 +1,1030 @@
+package org.cyclonedx.maven;%0A%0Aimport org.apache.maven.plugin.MojoExecutionException;%0Aimport org.apache.maven.plugins.annotations.LifecyclePhase;%0Aimport org.apache.maven.plugins.annotations.Mojo;%0Aimport org.apache.maven.plugins.annotations.ResolutionScope;%0Aimport org.cyclonedx.maven.model.Component;%0A%0Aimport java.util.Set;%0Aimport java.util.stream.Collectors;%0A%0A@Mojo(%0A        name = %22makeAggregateBom%22,%0A        defaultPhase = LifecyclePhase.VERIFY,%0A        aggregator = true,%0A        requiresOnline = true,%0A        requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME%0A)%0Apublic class CycloneDxAggregateMojo extends BaseCycloneDxMojo %7B%0A%0A    public void execute() throws MojoExecutionException%7B%0A%0A        final Set%3CComponent%3E components = getReactorProjects().stream()%0A                .flatMap(mavenProject -%3E mavenProject.getArtifacts().stream())%0A                .filter(this::shouldInclude)%0A                .map(this::convert)%0A                .collect(Collectors.toSet());%0A%0A        super.execute(components);%0A    %7D%0A%7D%0A%0A

Add mojo for generating aggregate bom for multi module projects