• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<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">
3    <modelVersion>4.0.0</modelVersion>
4    <artifactId>antlr</artifactId>
5    <packaging>jar</packaging>
6    <name>ANTLR 3 Tool</name>
7    <description>The ANTLR 3 tool.</description>
8
9  <!--
10
11    Inherit from the ANTLR master pom, which tells us what
12    version we are and allows us to inherit dependencies
13    and so on.
14
15    -->
16    <parent>
17        <groupId>org.antlr</groupId>
18        <artifactId>antlr-master</artifactId>
19        <version>3.5.2</version>
20    </parent>
21
22    <dependencies>
23        <dependency>
24            <groupId>org.antlr</groupId>
25            <artifactId>antlr-runtime</artifactId>
26            <version>${project.version}</version>
27            <scope>compile</scope>
28        </dependency>
29
30        <dependency>
31            <groupId>junit</groupId>
32            <artifactId>junit</artifactId>
33            <scope>test</scope>
34        </dependency>
35
36        <dependency>
37            <groupId>org.antlr</groupId>
38            <artifactId>ST4</artifactId>
39            <scope>compile</scope>
40        </dependency>
41
42        <dependency>
43            <groupId>org.antlr</groupId>
44            <artifactId>stringtemplate</artifactId>
45            <scope>compile</scope>
46            <optional>true</optional>
47        </dependency>
48
49    </dependencies>
50  <!--
51
52    Tell Maven which other artifacts we need in order to
53    build, run and test the ANTLR Tool. The ANTLR Tool uses earlier versions
54    of ANTLR at runtime (for the moment), uses the current
55    released version of ANTLR String template, but obviously is
56    reliant on the latest snapshot of the runtime, which will either be
57    taken from the antlr-snapshot repository, or your local .m2
58    repository if you built and installed that locally.
59
60    -->
61
62
63    <build>
64
65        <plugins>
66
67            <plugin>
68                <groupId>org.antlr</groupId>
69                <artifactId>antlr3-maven-plugin</artifactId>
70                <version>3.5</version>
71                <configuration>
72                    <libDirectory>target/generated-sources/antlr/org/antlr/grammar/v3</libDirectory>
73                </configuration>
74                <executions>
75                    <execution>
76                        <goals>
77                            <goal>antlr</goal>
78                        </goals>
79                    </execution>
80                </executions>
81
82            </plugin>
83
84        </plugins>
85
86
87    </build>
88</project>
89