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.
  • Constructor Details

    • AbstractVersionInfoMojo

      public AbstractVersionInfoMojo()
  • Method Details

    • 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/title
      artifacts - the artifacts
      Throws:
      org.apache.maven.plugin.MojoExecutionException