public abstract class AbstractMetadataPackageMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
outputTimestamp
Timestamp for reproducible output archive entries, either formatted as ISO 8601
yyyy-MM-dd'T'HH:mm:ssXXX or as an int representing seconds since the epoch (like
SOURCE_DATE_EPOCH). |
protected org.apache.maven.project.MavenProject |
project
The Maven project.
|
| Constructor and Description |
|---|
AbstractMetadataPackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected static File |
getFirstExistingDirectory(File[] directories) |
protected File |
getMetaInfVaultSourceDirectory() |
protected static File |
getMetaInfVaultSourceDirectory(File[] metaInfVaultDirectory,
org.apache.maven.plugin.logging.Log log) |
void |
setPrefix(String prefix) |
getLog, getPluginContext, setLog, setPluginContext@Parameter(property="project",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${project.build.outputTimestamp}")
protected String outputTimestamp
yyyy-MM-dd'T'HH:mm:ssXXX or as an int representing seconds since the epoch (like
SOURCE_DATE_EPOCH).public void setPrefix(String prefix)
protected File getMetaInfVaultSourceDirectory()
metaInfVaultDirectoryCopyright © 2020 The Apache Software Foundation. All rights reserved.