Home | History | Annotate | Download | only in tool
      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>antlr</artifactId>
      6     <packaging>jar</packaging>
      7     <name>ANTLR Grammar Tool v 3.4</name>
      8     <url>http://antlr.org</url>
      9 
     10 
     11   <!--
     12 
     13     Inherit from the ANTLR master pom, which tells us what
     14     version we are and allows us to inherit dependencies
     15     and so on.
     16 
     17     -->
     18     <parent>
     19         <groupId>org.antlr</groupId>
     20         <artifactId>antlr-master</artifactId>
     21         <version>3.4</version>
     22     </parent>
     23     
     24     <profiles>
     25         <profile>
     26             <id>uber</id>
     27             <activation>
     28                 <property>
     29                     <name>uber</name>
     30                     <value>true</value>
     31                 </property>
     32             </activation>
     33             <dependencies>
     34                 <dependency>
     35                     <groupId>org.antlr</groupId>
     36                     <artifactId>gunit</artifactId>
     37                     <version>${project.version}</version>
     38                     <scope>runtime</scope>
     39                 </dependency>
     40             </dependencies>
     41         </profile>
     42     </profiles>
     43     
     44     <dependencies>
     45         
     46         <dependency>
     47             <groupId>org.antlr</groupId>
     48             <artifactId>antlr-runtime</artifactId>
     49             <version>${project.version}</version>
     50             <scope>compile</scope>
     51         </dependency>
     52 
     53         <dependency>
     54             <groupId>junit</groupId>
     55             <artifactId>junit</artifactId>
     56             <version>4.8.2</version>
     57             <scope>test</scope>
     58         </dependency>
     59         
     60         <dependency>
     61             <groupId>org.antlr</groupId>
     62             <artifactId>ST4</artifactId>
     63             <version>4.0.4</version>
     64             <scope>compile</scope>
     65         </dependency>
     66             
     67     </dependencies>
     68   <!--
     69 
     70     Tell Maven which other artifacts we need in order to
     71     build, run and test the ANTLR Tool. The ANTLR Tool uses earlier versions
     72     of ANTLR at runtime (for the moment), uses the current
     73     released version of ANTLR String template, but obviously is
     74     reliant on the latest snapshot of the runtime, which will either be
     75     taken from the antlr-snapshot repository, or your local .m2
     76     repository if you built and installed that locally.
     77 
     78     -->
     79 
     80 
     81     <build>
     82 
     83         <defaultGoal>install</defaultGoal>
     84 
     85         <plugins>
     86 
     87             <plugin>
     88                 <groupId>org.antlr</groupId>
     89                 <artifactId>antlr3-maven-plugin</artifactId>
     90                 <version>3.3</version>
     91                 <configuration>
     92                     <libDirectory>target/generated-sources/antlr/org/antlr/grammar/v3</libDirectory>
     93                 </configuration>
     94                 <executions>
     95                     <execution>
     96                         <goals>
     97                             <goal>antlr</goal>
     98                         </goals>
     99                     </execution>
    100                 </executions>
    101             </plugin>
    102 
    103             <plugin>
    104                 <artifactId>maven-compiler-plugin</artifactId>
    105                 <version>2.3.2</version>
    106                 <configuration>
    107                     <source>1.6</source>
    108                     <target>jsr14</target>
    109                     <sourceDirectory>src</sourceDirectory>
    110                 </configuration>
    111             </plugin>
    112 
    113 
    114             
    115         </plugins>
    116 
    117     </build>
    118 </project>
    119