Class TransformMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.wcm.maven.plugins.i18n.TransformMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="transform", defaultPhase=GENERATE_RESOURCES, requiresProject=true, threadSafe=true) public class TransformMojo extends org.apache.maven.plugin.AbstractMojo
Transform i18n resources in Java Properties, JSON or XML file format to Sling i18n Messages JSON or XML format.
  • 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
     

    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

    • TransformMojo

      public TransformMojo()
  • 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