@Mojo(name="hashver",
aggregator=true)
public class HashVerMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
DIGEST_ALGO |
static String |
HASHVER_JSON_FILE |
static String |
HASHVER_PROP_FILE |
| Constructor and Description |
|---|
HashVerMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
computeHashVers(org.apache.maven.execution.MavenSession mavenSession,
boolean includeGroupId,
String extraHashData) |
void |
execute() |
protected Map<String,String> |
executeImpl(org.apache.maven.execution.MavenSession mavenSession,
boolean includeGroupId,
String extraHashData) |
protected String |
hashVerKey(org.apache.maven.project.MavenProject prj,
boolean includeGroupId) |
protected void |
logInfo(String msg) |
protected void |
logWarn(String msg) |
public static final String HASHVER_PROP_FILE
public static final String HASHVER_JSON_FILE
public static final String DIGEST_ALGO
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected Map<String,String> executeImpl(org.apache.maven.execution.MavenSession mavenSession, boolean includeGroupId, String extraHashData) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected Map<String,String> computeHashVers(org.apache.maven.execution.MavenSession mavenSession, boolean includeGroupId, String extraHashData) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void logInfo(String msg)
protected void logWarn(String msg)
protected String hashVerKey(org.apache.maven.project.MavenProject prj, boolean includeGroupId)
Copyright © 2020. All rights reserved.