@Mojo(name="check")
public class DiffExtensionMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.execution.MavenSession |
session
The Maven session
|
| Constructor and Description |
|---|
DiffExtensionMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
fileMD5Sum(File file) |
protected org.apache.maven.artifact.Artifact |
getArtifact(String groupId,
String artifactId,
String version,
String type) |
org.apache.maven.project.ProjectBuildingRequest |
newResolveArtifactProjectBuildingRequest() |
File |
unpack(org.apache.maven.artifact.Artifact artifact) |
@Parameter(defaultValue="${session}",
readonly=true,
required=true)
protected org.apache.maven.execution.MavenSession session
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic File unpack(org.apache.maven.artifact.Artifact artifact) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected org.apache.maven.artifact.Artifact getArtifact(String groupId, String artifactId, String version, String type) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic org.apache.maven.project.ProjectBuildingRequest newResolveArtifactProjectBuildingRequest()
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.