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
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-master</artifactId>
|
|
|
|
<version>4.6-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
<artifactId>antlr4-runtime-testsuite</artifactId>
|
|
|
|
<name>ANTLR 4 Runtime Tests (2nd generation)</name>
|
|
|
|
<description>A collection of tests for ANTLR 4 Runtime libraries.</description>
|
2015-04-20 01:24:07 +08:00
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
<prerequisites>
|
|
|
|
<maven>3.0</maven>
|
|
|
|
</prerequisites>
|
2015-04-20 01:24:07 +08:00
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
<inceptionYear>2009</inceptionYear>
|
2015-04-20 01:24:07 +08:00
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>ST4</artifactId>
|
|
|
|
<version>4.0.8</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2016-11-20 08:11:35 +08:00
|
|
|
<version>4.12</version>
|
2016-11-16 03:08:19 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-java</artifactId>
|
|
|
|
<version>2.46.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>8.1.16.v20140903</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-10-05 01:58:43 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
<artifactId>javax.json</artifactId>
|
|
|
|
<version>1.0.4</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-11-20 08:11:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime-test-annotations</artifactId>
|
|
|
|
<version>4.6-SNAPSHOT</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime-test-annotation-processors</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
</dependencies>
|
2015-04-20 01:24:07 +08:00
|
|
|
|
2016-11-07 06:08:06 +08:00
|
|
|
<build>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<testSourceDirectory>test</testSourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>../runtime</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.19.1</version>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/csharp/Test*.java</include>
|
|
|
|
<include>**/java/Test*.java</include>
|
|
|
|
<include>**/go/Test*.java</include>
|
|
|
|
<include>**/javascript/node/Test*.java</include>
|
|
|
|
<include>**/python2/Test*.java</include>
|
|
|
|
<include>**/python3/Test*.java</include>
|
|
|
|
<include>${antlr.tests.swift}</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>includeSwiftTests</id>
|
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>mac</family>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2016-11-07 08:58:53 +08:00
|
|
|
<antlr.tests.swift>**/swift/Test*.java</antlr.tests.swift>
|
2016-11-07 06:08:06 +08:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2016-10-05 01:58:43 +08:00
|
|
|
|
2016-11-07 06:08:06 +08:00
|
|
|
<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>
|
|
|
|
<argument>${basedir}</argument>
|
|
|
|
<argument>-outdir</argument>
|
|
|
|
<argument>${basedir}/test</argument>
|
|
|
|
<argument>-templates</argument>
|
|
|
|
<argument>${basedir}/resources/org/antlr/v4/test/runtime/templates</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</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>
|