Class ParserGWTJavaMojo

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="parserGWTJava",
      defaultPhase=GENERATE_RESOURCES)
public class ParserGWTJavaMojo
extends AbstractI18nParserMojo
To detect from GWT java files new I18n keys, says content of patterns :
  • @Key("XXX")
  • @LocalizableResource.Key("XXX")
  • @com.google.gwt.i18n.client.LocalizableResource.Key("XXX")
Note: this goal must always be invoked before the process-resources phase, otherwise all files will be considered as uptodate.
Since:
2.1
Author:
Tony Chemit - chemit@codelutin.com