Class CompareMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
-
- org.apache.maven.plugins.artifact.buildinfo.CompareMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="compare", threadSafe=false) public class CompareMojo extends AbstractBuildinfoMojoCompare current build output (frompackage) against reference either previouslyinstall-ed or downloaded from a remote repository: comparison results go to.buildcomparefile.- Since:
- 3.2.0
-
-
Field Summary
-
Fields inherited from class org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
buildinfoFile, outputTimestamp, project, rtInformation, session
-
-
Constructor Summary
Constructors Constructor Description CompareMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Map<org.eclipse.aether.artifact.Artifact,String> artifacts)protected voidskip(org.apache.maven.project.MavenProject last)-
Methods inherited from class org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
copyAggregateToRoot, execute, generateBuildinfo, getExecutionRoot, isSkip, newBuildInfoWriter
-
-
-
-
Method Detail
-
execute
public void execute(Map<org.eclipse.aether.artifact.Artifact,String> artifacts) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
skip
protected void skip(org.apache.maven.project.MavenProject last) throws org.apache.maven.plugin.MojoExecutionException- Overrides:
skipin classAbstractBuildinfoMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-