Class ParserStruts2Mojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, I18nParserConfiguration, org.nuiton.plugin.Plugin, org.nuiton.plugin.PluginWithEncoding

@Mojo(name="parserStruts2", defaultPhase=GENERATE_RESOURCES) public class ParserStruts2Mojo extends AbstractI18nParserMojo
To parse struts2 jsp and obtain all keys.
Since:
2.5
Author:
Tony Chemit - chemit@codelutin.com
  • Field Details

    • DEFAULT_INCLUDES

      public static final String DEFAULT_INCLUDES
      See Also:
    • defaultBasedir

      @Parameter(property="i18n.defaultBasedir", defaultValue="${basedir}/src/main/webapp") protected File defaultBasedir
      Root directory of the default entry.
    • defaultIncludes

      @Parameter(property="i18n.defaultIncludes", defaultValue="**/*.jsp", required=true) protected String defaultIncludes
      Default included files to process (ant-like expression). Note: default value is **\/*.jsp
    • outputGetter

      @Parameter(property="i18n.outputGetter", defaultValue="struts2.getter") protected String outputGetter
      Defines the file name of the getter where to put detected i18n keys while getter phase.
      Since:
      2.0
    • explodedWarPath

      @Parameter(property="i18n.explodedWarPath", defaultValue="${project.build.directory}/${project.artifactId}-{project.version}") protected File explodedWarPath
      Exploded war Build directory (used to know if files in sources are up-to-date).
  • Constructor Details

    • ParserStruts2Mojo

      public ParserStruts2Mojo()
  • Method Details