Project configuration contribution
The configurator adds plugins output directory to project build classpath. Location of the output directory is determined by evaluation of ouputDirectory plugin parameter. Default value is
Project build contribution
Before executing the plugin, the connector checks source files for modification. lexDefinitions plugin parameter is evaluated, which is expected to provide a list of paths. For each path, the following check is made: If the path denotes a file, the file is checked for modification. If the path denotes a directory, the directory is scanned recursively for changes in any files. If lexDefinitions parameter is not defined,
src/main/jflex directory is checked. If none of the checked files have been modified since last build, plugin execution is skipped.
After plugin execution contents of plugin output directory (determined by evaluating outputDirectory plugin parameter) are refreshed.
Right now all files in source directories are checked for modifications, although according to plugin documentation only files matching *.lex, *.flex, *.jlex, *.jflex patterns are processed. See TOOLS-40