Merge branch 'maven' into master
This commit is contained in:
commit
a2c5535da1
|
@ -36,89 +36,25 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<!-- Maven model we are inheriting from
|
||||
-->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<!--
|
||||
<parent>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>4.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
Now that the ANTLR project has adopted Maven with a vengence,
|
||||
all ANTLR tools will be grouped under org.antlr and will be
|
||||
controlled by a project member.
|
||||
-->
|
||||
<groupId>org.antlr</groupId>
|
||||
|
||||
|
||||
<!--
|
||||
|
||||
This is the ANTLR plugin for ANTLR version 4.0 and above. It might
|
||||
have been best to change the name of the plugin as the 4.0 plugins
|
||||
behave a little differently, however for the sake of one transitional
|
||||
phase to a much better plugin, it was decided that the name should
|
||||
remain the same.
|
||||
-->
|
||||
<artifactId>antlr4-maven-plugin</artifactId>
|
||||
<packaging>maven-plugin</packaging>
|
||||
|
||||
<!-- Note that as this plugin depends on the ANTLR tool itself
|
||||
we cannot use the paren pom to control the version number
|
||||
and MUST update <version> in this pom manually!
|
||||
-->
|
||||
<version>4.0-SNAPSHOT</version>
|
||||
<name>Maven plugin for ANTLR V4</name>
|
||||
<name>ANTLR 4 Maven plugin</name>
|
||||
|
||||
<prerequisites>
|
||||
<maven>3.0</maven>
|
||||
</prerequisites>
|
||||
|
||||
<!--
|
||||
Where does our actual project live on the interwebs.
|
||||
-->
|
||||
<url>http://antlr.org</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<description>
|
||||
|
||||
This is the brand new, re-written from scratch plugin for ANTLR v4.
|
||||
|
||||
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 v4 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
|
||||
|
||||
</description>
|
||||
|
||||
<developers>
|
||||
|
||||
<developer>
|
||||
<name>Jim Idle</name>
|
||||
<url>http://www.temporal-wave.com</url>
|
||||
<roles>
|
||||
<role>Originator, version 4.0</role>
|
||||
</roles>
|
||||
</developer>
|
||||
|
||||
<developer>
|
||||
<name>Terence Parr</name>
|
||||
<url>http://antlr.org/wiki/display/~admin/Home</url>
|
||||
|
@ -127,6 +63,22 @@ Jim Idle - March 2009
|
|||
</roles>
|
||||
</developer>
|
||||
|
||||
<developer>
|
||||
<name>Sam Harwell</name>
|
||||
<url>http://tunnelvisionlabs.com</url>
|
||||
<roles>
|
||||
<role>Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
|
||||
<developer>
|
||||
<name>Jim Idle</name>
|
||||
<url>http://www.temporal-wave.com</url>
|
||||
<roles>
|
||||
<role>Originator, version 4.0</role>
|
||||
</roles>
|
||||
</developer>
|
||||
|
||||
<developer>
|
||||
<name>David Holroyd</name>
|
||||
<url>http://david.holroyd.me.uk/</url>
|
||||
|
@ -145,13 +97,6 @@ Jim Idle - March 2009
|
|||
|
||||
</developers>
|
||||
|
||||
<!-- Where do we track bugs for this project?
|
||||
-->
|
||||
<issueManagement>
|
||||
<system>JIRA</system>
|
||||
<url>http://antlr.org/jira/browse/ANTLR</url>
|
||||
</issueManagement>
|
||||
|
||||
<!-- Location of the license description for this project
|
||||
-->
|
||||
<licenses>
|
||||
|
|
|
@ -51,3 +51,4 @@ YYYY/MM/DD, github id, Full name, email
|
|||
2012/07/12, parrt, Terence Parr, parrt@antlr.org
|
||||
2012/09/18, sharwell, Sam Harwell, sam@tunnelvisionlabs.com
|
||||
2012/10/10, stephengaito, Stephen Gaito, stephen@percepitsys.co.uk
|
||||
2012/11/23, maguro, Alan Cabrera, adc@toolazydogs.com
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>4.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>ANTLR 4</name>
|
||||
<url>http://www.antlr.org</url>
|
||||
|
||||
<modules>
|
||||
<module>runtime/Java</module>
|
||||
<module>tool</module>
|
||||
<module>antlr4-maven-plugin</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
||||
<issueManagement>
|
||||
<system>GitHub Issues</system>
|
||||
<url>https://github.com/antlr/antlr4/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<scm>
|
||||
<url>https://github.com/antlr/antlr4</url>
|
||||
<connection>scm:git:git://github.com/antlr/antlr4.git</connection>
|
||||
</scm>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>antlr.snapshots</id>
|
||||
<name>ANTLR Snapshots Repository</name>
|
||||
<url>http://antlr.org/antlr-snapshot</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
</project>
|
|
@ -3,17 +3,16 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.antlr</groupId>
|
||||
<parent>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>4.0-SNAPSHOT</version>
|
||||
<relativePath>../..</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>antlr4-runtime</artifactId>
|
||||
<version>4.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>antlr4-runtime</name>
|
||||
<url>http://www.antlr.org</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<name>ANTLR 4 Runtime</name>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
21
tool/pom.xml
21
tool/pom.xml
|
@ -3,17 +3,15 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.antlr</groupId>
|
||||
<parent>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>4.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>antlr4</artifactId>
|
||||
<version>4.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>antlr4</name>
|
||||
<url>http://www.antlr.org</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<name>ANTLR 4 Tool</name>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -49,6 +47,11 @@
|
|||
</resources>
|
||||
|
||||
<testSourceDirectory>test</testSourceDirectory>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>test</directory>
|
||||
</testResource>
|
||||
</testResources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
Loading…
Reference in New Issue