Class BuildSoyMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.liferay.portal.tools.soy.builder.maven.BuildSoyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class BuildSoyMojo extends org.apache.maven.plugin.AbstractMojo
Compile Closure Templates into JavaScript functions.
  • 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
     
    void
    setDir(File dir)
    The directory containing the .soy files to compile.

    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 Details

    • BuildSoyMojo

      public BuildSoyMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • setDir

      public void setDir(File dir)
      The directory containing the .soy files to compile.