ANTLR 3 Maven plugin

This is the brand new, re-written from scratch plugin for ANTLR v3. Previous valiant efforts all suffered from being unable to modify the ANTLR Tool itself to provide support not just for Maven oriented things but any other tool that might wish to invoke ANTLR without resorting to the command line interface. Rather than try to shoe-horn new code into the existing Mojo (in fact I think that by incorporating a patch supplied by someone I ended up with tow versions of the Mojo, I elected to rewrite everything from scratch, including the documentation, so that we might end up with a perfect Mojo that can do everything that ANTLR v3 supports such as imported grammar processing, proper support for library directories and locating token files from generated sources, and so on. In the end I decided to also change the the ANTLR Tool.java code so that it would be the provider of all the things that a build tool needs, rather than delegating things to 5 different tools. So, things like dependencies, dependency sorting, option tracking, generating sources and so on are all folded back in to ANTLR's Tool.java code, where they belong, and they now provide a public interface to anyone that might want to interface with them. One other goal of this rewrite was to completely document the whole thing to death. Hence even this pom has more comments than funcitonal elements, in case I get run over by a bus or fall off a cliff while skiing. Jim Idle - March 2009

License

License

Categories

Categories

Maven Build Tools Ant ANTLR Compiler-compiler
GroupId

GroupId

org.antlr
ArtifactId

ArtifactId

antlr3-maven-plugin
Last Version

Last Version

3.5.3
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

ANTLR 3 Maven plugin
This is the brand new, re-written from scratch plugin for ANTLR v3. Previous valiant efforts all suffered from being unable to modify the ANTLR Tool itself to provide support not just for Maven oriented things but any other tool that might wish to invoke ANTLR without resorting to the command line interface. Rather than try to shoe-horn new code into the existing Mojo (in fact I think that by incorporating a patch supplied by someone I ended up with tow versions of the Mojo, I elected to rewrite everything from scratch, including the documentation, so that we might end up with a perfect Mojo that can do everything that ANTLR v3 supports such as imported grammar processing, proper support for library directories and locating token files from generated sources, and so on. In the end I decided to also change the the ANTLR Tool.java code so that it would be the provider of all the things that a build tool needs, rather than delegating things to 5 different tools. So, things like dependencies, dependency sorting, option tracking, generating sources and so on are all folded back in to ANTLR's Tool.java code, where they belong, and they now provide a public interface to anyone that might want to interface with them. One other goal of this rewrite was to completely document the whole thing to death. Hence even this pom has more comments than funcitonal elements, in case I get run over by a bus or fall off a cliff while skiing. Jim Idle - March 2009
Project URL

Project URL

http://antlr.org
Project Organization

Project Organization

ANTLR
Source Code Management

Source Code Management

https://github.com/antlr/antlr3/tree/master/antlr3-maven-plugin

Download antlr3-maven-plugin

How to add to project

<plugin>
    <groupId>org.antlr</groupId>
    <artifactId>antlr3-maven-plugin</artifactId>
    <version>3.5.3</version>
</plugin>

Dependencies

compile (5)

Group / Artifact Type Version
org.codehaus.plexus : plexus-compiler-api jar 2.9.0
org.sonatype.plexus : plexus-build-api jar 0.0.7
org.antlr : antlr jar 3.5.3
org.slf4j : slf4j-api jar 1.7.32
org.slf4j : slf4j-simple jar 1.7.32

provided (4)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.8.4
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.2
org.apache.maven : maven-core jar 3.8.4
org.codehaus.plexus : plexus-utils jar 3.4.1

test (4)

Group / Artifact Type Version
junit : junit jar 4.13.2
io.takari.maven.plugins : takari-plugin-testing jar 3.0.0
org.apache.maven : maven-compat jar 3.8.4
org.apache.maven.shared : maven-plugin-testing-harness jar 1.1

Project Modules

There are no modules declared in this project.
org.antlr

Antlr Project

The Project organization for the ANTLR parser generator.

Versions

Version
3.5.3
3.5.2
3.5.1
3.5
3.5-rc-2
3.5-rc-1
3.4
3.4-beta4
3.4-beta3
3.3
3.2
3.1.3-1
3.1.3
3.1.2-1
3.1.2
3.1.1.2
3.1.1.1
3.1.1