2015-07-16 05:45:45 +08:00
|
|
|
<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">
|
2015-06-02 05:20:32 +08:00
|
|
|
|
2015-04-20 01:24:07 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
2015-06-02 05:20:32 +08:00
|
|
|
<groupId>org.antlr</groupId>
|
2015-04-20 01:24:07 +08:00
|
|
|
<artifactId>antlr4-master</artifactId>
|
2015-08-21 03:11:58 +08:00
|
|
|
<version>4.5.2-SNAPSHOT</version>
|
2015-04-20 01:24:07 +08:00
|
|
|
</parent>
|
2015-06-27 04:33:32 +08:00
|
|
|
<artifactId>antlr4-runtime-testsuite</artifactId>
|
2015-04-20 01:24:07 +08:00
|
|
|
<name>ANTLR 4 Runtime Test Generator</name>
|
|
|
|
<description>A collection of tests for ANTLR 4 Runtime libraries.</description>
|
|
|
|
|
|
|
|
<prerequisites>
|
|
|
|
<maven>3.0</maven>
|
|
|
|
</prerequisites>
|
|
|
|
|
|
|
|
<inceptionYear>2009</inceptionYear>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>ST4</artifactId>
|
|
|
|
<version>4.0.8</version>
|
|
|
|
</dependency>
|
2015-06-28 21:20:14 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2015-06-30 05:04:00 +08:00
|
|
|
</dependency>
|
2015-06-28 21:20:14 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2015-06-30 02:03:41 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-java</artifactId>
|
2015-09-03 23:17:37 +08:00
|
|
|
<version>2.46.0</version>
|
2015-06-30 02:03:41 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>8.1.16.v20140903</version>
|
2015-06-30 05:04:00 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-04-20 01:24:07 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
2015-06-28 21:20:14 +08:00
|
|
|
<testSourceDirectory>test</testSourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>../runtime</directory>
|
|
|
|
</resource>
|
2015-06-30 05:04:00 +08:00
|
|
|
</resources>
|
2015-06-30 05:26:22 +08:00
|
|
|
<plugins>
|
2015-06-30 10:03:16 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2015-09-18 23:39:39 +08:00
|
|
|
<version>2.12.4</version>
|
2015-06-30 10:03:16 +08:00
|
|
|
<configuration>
|
|
|
|
<includes>
|
2015-09-19 00:51:37 +08:00
|
|
|
<include>**/csharp/TestLexerExec.java</include>
|
2015-09-19 00:02:47 +08:00
|
|
|
<!--
|
2015-09-19 00:51:37 +08:00
|
|
|
<include>**/java/Test*.java</include>
|
2015-09-19 00:02:47 +08:00
|
|
|
<include>**/javascript/node/Test*.java</include>
|
2015-09-18 23:29:52 +08:00
|
|
|
<include>**/python2/Test*.java</include>
|
|
|
|
<include>**/python3/Test*.java</include>-->
|
2015-06-30 10:03:16 +08:00
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-06-24 02:01:28 +08:00
|
|
|
<plugin>
|
2015-06-28 21:20:14 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2015-09-18 23:39:39 +08:00
|
|
|
<version>2.4</version>
|
2015-06-24 02:01:28 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2015-06-28 21:20:14 +08:00
|
|
|
<goal>test-jar</goal>
|
2015-06-24 02:01:28 +08:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-06-30 10:03:16 +08:00
|
|
|
</plugin>
|
2015-06-30 05:04:00 +08:00
|
|
|
</plugins>
|
2015-04-20 01:24:07 +08:00
|
|
|
</build>
|
2015-06-30 05:26:22 +08:00
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>gen</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>1.4.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>java</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>org.antlr.v4.testgen.TestGenerator</mainClass>
|
|
|
|
<arguments>
|
|
|
|
<argument>-root</argument>
|
2015-09-17 02:51:10 +08:00
|
|
|
<argument>${basedir}</argument>
|
|
|
|
<argument>-outdir</argument>
|
2015-06-30 05:26:22 +08:00
|
|
|
<argument>${basedir}/test</argument>
|
|
|
|
<argument>-templates</argument>
|
|
|
|
<argument>${basedir}/resources/org/antlr/v4/test/runtime/templates</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-06-30 10:03:16 +08:00
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>tests</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/Test*.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-06-02 05:20:32 +08:00
|
|
|
</project>
|