@@ -0,0 +1,1669 @@
+package com.github.ferstl.jarscan;%0A%0Aimport java.io.IOException;%0Aimport java.io.OutputStreamWriter;%0Aimport java.io.PrintWriter;%0Aimport java.util.Set;%0A%0Aimport org.adoptopenjdk.jitwatch.jarscan.JarScan;%0Aimport org.apache.maven.artifact.Artifact;%0Aimport org.apache.maven.plugin.AbstractMojo;%0Aimport org.apache.maven.plugin.MojoExecutionException;%0Aimport org.apache.maven.plugin.MojoFailureException;%0Aimport org.apache.maven.plugins.annotations.Component;%0Aimport org.apache.maven.plugins.annotations.LifecyclePhase;%0Aimport org.apache.maven.plugins.annotations.Mojo;%0Aimport org.apache.maven.plugins.annotations.ResolutionScope;%0Aimport org.apache.maven.project.MavenProject;%0A%0A@Mojo(%0A    name = %22scan%22,%0A    aggregator = false,%0A    defaultPhase = LifecyclePhase.NONE,%0A    inheritByDefault = false,%0A    requiresDependencyCollection = ResolutionScope.TEST,%0A    requiresDependencyResolution = ResolutionScope.TEST,%0A    requiresDirectInvocation = false,%0A    threadSafe = true)%0Apublic class JarScanMojo extends AbstractMojo %7B%0A%0A  @Component%0A  private MavenProject project;%0A%0A  @Override%0A  public void execute() throws MojoExecutionException, MojoFailureException %7B%0A    @SuppressWarnings(%22unchecked%22)%0A    Set%3CArtifact%3E dependencies = this.project.getDependencyArtifacts();%0A    for (Artifact dependency : dependencies) %7B%0A      try %7B%0A        System.out.println(%22Scanning %22 + dependency);%0A        JarScan.iterateJar(dependency.getFile(), 325, new PrintWriter(new OutputStreamWriter(System.out)));%0A        System.out.println(%22done: %22 + dependency);%0A        System.out.println();%0A      %7D catch (IOException e) %7B%0A        throw new MojoExecutionException(e.getMessage());%0A      %7D%0A    %7D%0A  %7D%0A%0A%7D%0A

Add mojo