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>gunit</artifactId> 5 <packaging>jar</packaging> 6 7 <name>ANTLR 3 gUnit</name> 8 <description>gUnit grammar testing tool for ANTLR 3</description> 9 10 <!-- 11 12 Inherit from the ANTLR master pom, which tells us what 13 version we are and allows us to inherit dependencies 14 and so on. 15 16 --> 17 <parent> 18 <groupId>org.antlr</groupId> 19 <artifactId>antlr-master</artifactId> 20 <version>3.5.2</version> 21 </parent> 22 23 <url>http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing</url> 24 25 <!-- 26 27 Tell Maven which other artifacts we need in order to 28 build, run and test the ANTLR Tool. The ANTLR Tool uses earlier versions 29 of ANTLR at runtime (for the moment), uses the current 30 released version of ANTLR String template, but obviously is 31 reliant on the latest snapshot of the runtime, which will either be 32 taken from the antlr-snapshot repository, or your local .m2 33 repository if you built and installed that locally. 34 35 --> 36 <dependencies> 37 38 <dependency> 39 <groupId>junit</groupId> 40 <artifactId>junit</artifactId> 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>stringtemplate</artifactId> 55 <scope>compile</scope> 56 </dependency> 57 58 </dependencies> 59 60 <build> 61 62 <plugins> 63 64 <plugin> 65 <groupId>org.antlr</groupId> 66 <artifactId>antlr3-maven-plugin</artifactId> 67 <version>${project.version}</version> 68 <configuration /> 69 <executions> 70 <execution> 71 <goals> 72 <goal>antlr</goal> 73 </goals> 74 </execution> 75 </executions> 76 </plugin> 77 78 </plugins> 79 80 </build> 81 82</project> 83