Package org.tentackle.maven.plugin
Class AbstractVersionInfoMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.tentackle.maven.AbstractTentackleMojo
-
- org.tentackle.maven.plugin.AbstractVersionInfoMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
PluginVersionInfoMojo,VersionInfoMojo
public abstract class AbstractVersionInfoMojo extends AbstractTentackleMojo
Base class for the version info mojos.
-
-
Field Summary
-
Fields inherited from class org.tentackle.maven.AbstractTentackleMojo
charset, JDK_TOOLCHAIN, minLogLevel, resourceDirs, verbosity, verbosityLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractVersionInfoMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgenerateVersionProperties(String comment, Set<org.apache.maven.artifact.Artifact> artifacts)Generates the version properties.-
Methods inherited from class org.tentackle.maven.AbstractTentackleMojo
createPackageMap, determineEncoding, determineJavaToolVersion, determineVerbosity, execute, executeImpl, findResourceDirs, finishExecute, getCanonicalPath, getHostName, getMajorVersion, getMavenProject, getMavenSession, getMojoExecution, getPathRelativeToBasedir, getResourceDirName, getSettings, getSettingsDecrypter, getToolchain, getToolchain, getToolchain, getToolchainManager, getToolFinder, installJavaLoggingHandler, isExecutionRecursive, isSkippedByDefault, loadResourceFileIntoString, prepareExecute, validate
-
-
-
-
Method Detail
-
generateVersionProperties
protected void generateVersionProperties(String comment, Set<org.apache.maven.artifact.Artifact> artifacts) throws org.apache.maven.plugin.MojoExecutionException
Generates the version properties.- Parameters:
comment- the comment/titleartifacts- the artifacts- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-