You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benjamin Bentmann <be...@udo.edu> on 2008/02/19 17:02:35 UTC

[ANN] JavaCC Maven Plugin 2.4 Released

The Mojo team is pleased to announce the release of the JavaCC Maven Plugin
version 2.4.

Among various bug fixes, especially for JTB, the primary focus of this
release is simplified plugin configuration.

For example, two new goals have been added that allow to execute JJTree/JTB
and JavaCC in a pipeline without the hassle to properly combine two distinct
goal executions (MJAVACC-59, MJAVACC-57).

Furthermore, a syntax like "*.nodes" has been added to the package name
parameters of JJTree and JTB in order to ease batch processing of grammar
files and package refactoring (MJAVACC-73, MJAVACC-77).

Last but not least, the "javacc" goal does not employ timestamp files
anymore but directly compares against the target parser file. This can
prevent unwanted/unnecessary regeneration of parser files after a "mvn
clean" (MJAVACC-30).

Finally note that the goals "jjtree" and "jtb" have been deprecated in favor
of the formerly mentioned new goals for combined execution with JavaCC.
Additionally, the configuration parameter "packageName" of the "javacc" goal
has been deprecated. Users that fear to loose support for their use-cases
due to these deprecations are invited to report back.

A comprehensive list of changes is attached at the end of this mail.

Regards,


Benjamin Bentmann



Release Notes - Maven 2.x JavaCC Plugin - Version 2.4


** Bug
    * [MJAVACC-64] - Make mojos not fail if source directories do not exist
    * [MJAVACC-70] - Make mojos fail if invoked tools reports non-zero exit
      code
    * [MJAVACC-71] - JTB mojo fails to move output files to proper directory
      on Windows
    * [MJAVACC-72] - The jtb mojo throws StringIndexOutOfBoundsException
      when visitor/node package has no dots
    * [MJAVACC-74] - JTB mojo fails to move output files if workingDirectory
      != baseDir
    * [MJAVACC-76] - jjtree mojo generates uncompilable code when option
      visitorException is used
    * [MJAVACC-78] - Make jtb mojo respect parser package when storing
      annotated grammar file
    * [MJAVACC-81] - Plugin fails if JTB is called more than once during a
      build

** Improvement
    * [MJAVACC-30] - Use generated Java files themselves for stale source
      detection
    * [MJAVACC-58] - Add a multi-module project to the integration tests.
    * [MJAVACC-63] - Expose missing JJTree options
    * [MJAVACC-68] - Expose JavaCC option JDK_VERSION
    * [MJAVACC-73] - Make JTB mojo use package of input grammar by default
    * [MJAVACC-75] - Make jjdco mojo scan jtb output directory by default
    * [MJAVACC-77] - Allow to reference parser directory in value for jjtree
      parameter nodePackage
    * [MJAVACC-79] - Add support for inclusion/exclusion patterns to jtb
      mojo
    * [MJAVACC-80] - Suppress jjdoc report when no grammars exist
    * [MJAVACC-84] - Make order of grammars in JJDoc report stable

** New Feature
    * [MJAVACC-57] - Allow jjtree to automatically execute javacc
    * [MJAVACC-59] - Allow JTB to automatically execute JavaCC afterwards

** Task
    * [MJAVACC-60] - Create integration tests for JTB
    * [MJAVACC-61] - Complement the documentation of the jjtree mojo
    * [MJAVACC-62] - Rename jjtree mojo parameter "staticOption" to
      "isStatic" for consistency with javacc mojo
    * [MJAVACC-65] - Add integration tests for pathes with spaces
    * [MJAVACC-66] - Add integration tests that explicitly set all mojo
      parameters
    * [MJAVACC-67] - Remove unsupported JavaCC options TOKEN_EXTENDS and
      TOKEN_FACTORY
    * [MJAVACC-69] - Remove unsupported JJDoc option CSS
    * [MJAVACC-82] - Deprecate paramter "packageName"
    * [MJAVACC-83] - Deprecate jjtree and jtb mojo



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org