Class AttachVersionMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    public class AttachVersionMojo
    extends AbstractVersionMojo
    Attach the VERSION.txt to the project.

    Will only attach the VERSION.txt if it exists.

    Phase:
    process-resources
    Goal:
    attach-version-text
    • Constructor Detail

      • AttachVersionMojo

        public AttachVersionMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException