Class GenerateMojo

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

    @Mojo(name="generate",
          defaultPhase=GENERATE_RESOURCES)
    public class GenerateMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Constructor Detail

      • GenerateMojo

        public GenerateMojo()
      • GenerateMojo

        public GenerateMojo​(org.apache.maven.project.MavenProject project,
                            String text,
                            File outputDirectory,
                            String filename,
                            boolean includeInfo,
                            String info,
                            String font,
                            String color)
        This constructor can be used to set all the parameters of the mojo.
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoFailureException
        Generates the Spring Boot banner. Make sure that all parameters are initialized before calling this method.
        Throws:
        org.apache.maven.plugin.MojoFailureException