• 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    <groupId>org.antlr</groupId>
5    <artifactId>gunit</artifactId>
6    <packaging>jar</packaging>
7
8    <name>ANTLR gUnit v3.4</name>
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.4</version>
20    </parent>
21
22    <url>http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing</url>
23
24  <!--
25
26    Tell Maven which other artifacts we need in order to
27    build, run and test the ANTLR Tool. The ANTLR Tool uses earlier versions
28    of ANTLR at runtime (for the moment), uses the current
29    released version of ANTLR String template, but obviously is
30    reliant on the latest snapshot of the runtime, which will either be
31    taken from the antlr-snapshot repository, or your local .m2
32    repository if you built and installed that locally.
33
34    -->
35    <dependencies>
36
37        <dependency>
38            <groupId>junit</groupId>
39            <artifactId>junit</artifactId>
40            <version>4.8.2</version>
41            <scope>compile</scope>
42        </dependency>
43
44        <dependency>
45            <groupId>org.antlr</groupId>
46            <artifactId>antlr</artifactId>
47            <version>${project.version}</version>
48            <scope>compile</scope>
49
50        </dependency>
51
52        <dependency>
53            <groupId>org.antlr</groupId>
54            <artifactId>ST4</artifactId>
55            <version>4.0.4</version>
56            <scope>compile</scope>
57        </dependency>
58
59        <dependency>
60            <groupId>org.antlr</groupId>
61            <artifactId>stringtemplate</artifactId>
62            <version>3.2.1</version>
63            <scope>compile</scope>
64        </dependency>
65
66    </dependencies>
67
68    <build>
69
70        <defaultGoal>install</defaultGoal>
71
72        <plugins>
73
74            <plugin>
75                <groupId>org.antlr</groupId>
76                <artifactId>antlr3-maven-plugin</artifactId>
77                <version>${project.version}</version>
78                <configuration></configuration>
79                <executions>
80                    <execution>
81                        <goals>
82                            <goal>antlr</goal>
83                        </goals>
84                    </execution>
85                </executions>
86            </plugin>
87
88            <plugin>
89                <artifactId>maven-compiler-plugin</artifactId>
90                <configuration>
91                    <source>1.6</source>
92                    <target>jsr14</target>
93                    <sourceDirectory>src</sourceDirectory>
94                </configuration>
95            </plugin>
96
97            <plugin>
98                <artifactId>maven-surefire-plugin</artifactId>
99                <version>2.9</version>
100            </plugin>
101
102            <plugin>
103                <groupId>org.codehaus.mojo</groupId>
104                <artifactId>findbugs-maven-plugin</artifactId>
105                <version>2.3.2</version>
106                <configuration>
107                    <findbugsXmlOutput>true</findbugsXmlOutput>
108                    <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
109                    <xmlOutput>true</xmlOutput>
110                </configuration>
111            </plugin>
112
113        </plugins>
114
115        <extensions>
116            <extension>
117                <groupId>org.apache.maven.wagon</groupId>
118                <artifactId>wagon-ssh-external</artifactId>
119                <version>1.0-beta-2</version>
120            </extension>
121        </extensions>
122
123
124    </build>
125
126</project>
127