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
Compare current build output (from
package
) against reference either previously install
-ed or downloaded from a remote
repository: comparison results go to .buildcompare
file.- Since:
- 3.2.0
-
Field Summary
Fields inherited from class org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
buildinfoFile, outputTimestamp, project, rtInformation, session
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ConstructorsConstructorDescriptionCompareMojo
(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.apache.maven.rtinfo.RuntimeInformation rtInformation, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session, org.eclipse.aether.RepositorySystem repoSystem) -
Method Summary
Methods inherited from class org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
copyAggregateToRoot, execute, generateBuildinfo, getLastProject, isSkip, isSkipModule, newBuildInfoWriter, relative
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
CompareMojo
@Inject public CompareMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.apache.maven.rtinfo.RuntimeInformation rtInformation, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session, org.eclipse.aether.RepositorySystem repoSystem)
-
-
Method Details
-
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:
skip
in classAbstractBuildinfoMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-