Class JWebAssemblyMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.schram.jwebassembly.JWebAssemblyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="compile", defaultPhase=PROCESS_CLASSES) public class JWebAssemblyMojo extends org.apache.maven.plugin.AbstractMojo
Simple Maven plugin (i.e., Mojo for 1. retrieving the JWebAssembly compiler from Maven, and 2. executing the JWebAssembly compiler (through Reflection)
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.apache.maven.plugin.logging.Log
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getPluginContext, setLog, setPluginContext

    Methods inherited from class Object

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

    • JWebAssemblyMojo

      public JWebAssemblyMojo()
  • Method Details

    • 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
    • getLog

      public org.apache.maven.plugin.logging.Log getLog()
      Specified by:
      getLog in interface org.apache.maven.plugin.Mojo
      Overrides:
      getLog in class org.apache.maven.plugin.AbstractMojo