2016-12-04 03:34:30 +08:00
|
|
|
<!--
|
2017-03-31 01:44:25 +08:00
|
|
|
~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
|
2016-12-05 03:37:49 +08:00
|
|
|
~ Use of this file is governed by the BSD 3-clause license that
|
2016-12-04 03:34:30 +08:00
|
|
|
~ can be found in the LICENSE.txt file in the project root.
|
|
|
|
-->
|
|
|
|
|
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>
|
2021-01-06 03:22:10 +08:00
|
|
|
<version>4.9.2-SNAPSHOT</version>
|
2016-11-16 03:08:19 +08:00
|
|
|
</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>
|
2020-01-19 02:07:26 +08:00
|
|
|
<version>4.3</version>
|
2016-12-11 07:24:07 +08:00
|
|
|
<scope>test</scope>
|
2016-11-16 03:08:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2016-12-11 07:24:07 +08:00
|
|
|
<scope>test</scope>
|
2016-11-16 03:08:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2017-01-08 00:58:43 +08:00
|
|
|
<scope>test</scope>
|
2016-12-11 07:24:07 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime-test-annotations</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime-test-annotation-processors</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
2016-11-16 03:08:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2020-11-28 22:42:43 +08:00
|
|
|
<version>4.13.1</version>
|
2016-11-16 03:08:19 +08:00
|
|
|
<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>
|
2017-03-27 04:27:57 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jol</groupId>
|
|
|
|
<artifactId>jol-core</artifactId>
|
|
|
|
<version>0.8</version>
|
|
|
|
</dependency>
|
2016-11-16 03:08:19 +08:00
|
|
|
</dependencies>
|
2015-04-20 01:24:07 +08:00
|
|
|
|
2016-12-15 02:33:53 +08:00
|
|
|
<build>
|
|
|
|
<testSourceDirectory>test</testSourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>../runtime</directory>
|
2018-11-15 06:16:05 +08:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/.build/**</exclude>
|
|
|
|
<exclude>**/target/**</exclude>
|
|
|
|
<exclude>Swift/*.xcodeproj/**</exclude>
|
|
|
|
</excludes>
|
2016-12-15 02:33:53 +08:00
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.19.1</version>
|
|
|
|
<configuration>
|
2017-02-10 08:19:34 +08:00
|
|
|
<!-- SUREFIRE-951: file.encoding cannot be set via systemPropertyVariables -->
|
|
|
|
<argLine>-Dfile.encoding=UTF-8</argLine>
|
2016-12-15 02:33:53 +08:00
|
|
|
<includes>
|
2019-09-14 20:36:37 +08:00
|
|
|
<include>**/csharp/Test*.java</include>
|
|
|
|
<include>**/java/Test*.java</include>
|
|
|
|
<include>**/go/Test*.java</include>
|
2020-02-22 10:35:42 +08:00
|
|
|
<include>**/javascript/Test*.java</include>
|
2019-09-14 20:36:37 +08:00
|
|
|
<include>**/python2/Test*.java</include>
|
|
|
|
<include>**/python3/Test*.java</include>
|
|
|
|
<include>**/php/Test*.java</include>
|
2020-01-19 15:22:06 +08:00
|
|
|
<include>**/dart/Test*.java</include>
|
2019-09-14 20:36:37 +08:00
|
|
|
<include>${antlr.tests.swift}</include>
|
|
|
|
</includes>
|
2016-12-15 02:33:53 +08:00
|
|
|
</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>
|
2017-01-06 02:40:29 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>antlr4</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>${basedir}/test</sourceDirectory>
|
2017-01-08 00:58:43 +08:00
|
|
|
<outputDirectory>${project.build.directory}/generated-test-sources/antlr4</outputDirectory>
|
2017-01-06 02:40:29 +08:00
|
|
|
<visitor>true</visitor>
|
2017-01-08 00:58:43 +08:00
|
|
|
<generateTestSources>true</generateTestSources>
|
2017-01-06 02:40:29 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-12-15 02:33:53 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-11-23 02:00:28 +08:00
|
|
|
|
2016-12-15 02:33:53 +08:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>includeSwiftTests</id>
|
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>mac</family>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<antlr.tests.swift>**/swift/Test*.java</antlr.tests.swift>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-06-02 05:20:32 +08:00
|
|
|
</project>
|