Class AbstractVersionInfoMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    PluginVersionInfoMojo, VersionInfoMojo

    public abstract class AbstractVersionInfoMojo
    extends org.tentackle.maven.AbstractTentackleMojo
    Base class for the version info mojos.
    • Field Summary

      • Fields inherited from class org.tentackle.maven.AbstractTentackleMojo

        charset, JDK_TOOLCHAIN, resourceDirs, verbosity, verbosityLevel
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String generateVersionProperties​(java.util.Set<org.apache.maven.artifact.Artifact> artifacts)
      Generates the version properties in XML format.
      • Methods inherited from class org.tentackle.maven.AbstractTentackleMojo

        determineEncoding, determineJavaToolVersion, determineVerbosity, execute, executeImpl, findResourceDirs, finishExecute, getCanonicalPath, getMajorVersion, getMavenProject, getMavenSession, getMojoExecution, getPathRelativeToBasedir, getResourceDirName, getSettings, getSettingsDecrypter, getToolchain, getToolchain, getToolchain, getToolchainManager, getToolFinder, isExecutionRecursive, isSkippedByDefault, loadResourceFileIntoString, prepareExecute, validate
      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractVersionInfoMojo

        public AbstractVersionInfoMojo()
    • Method Detail

      • generateVersionProperties

        protected java.lang.String generateVersionProperties​(java.util.Set<org.apache.maven.artifact.Artifact> artifacts)
        Generates the version properties in XML format.
        Parameters:
        artifacts - the artifacts
        Returns:
        the version strings