forked from jasder/antlr
163 lines
4.5 KiB
XML
163 lines
4.5 KiB
XML
<!--
|
|
~ Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
|
|
~ Use of this file is governed by the BSD 3-clause license that
|
|
~ can be found in the LICENSE.txt file in the project root.
|
|
-->
|
|
|
|
<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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-master</artifactId>
|
|
<version>4.7-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>
|
|
|
|
<prerequisites>
|
|
<maven>3.0</maven>
|
|
</prerequisites>
|
|
|
|
<inceptionYear>2009</inceptionYear>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>ST4</artifactId>
|
|
<version>4.0.8</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</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>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
<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>
|
|
<dependency>
|
|
<groupId>org.glassfish</groupId>
|
|
<artifactId>javax.json</artifactId>
|
|
<version>1.0.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjdk.jol</groupId>
|
|
<artifactId>jol-core</artifactId>
|
|
<version>0.8</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<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>
|
|
<!-- SUREFIRE-951: file.encoding cannot be set via systemPropertyVariables -->
|
|
<argLine>-Dfile.encoding=UTF-8</argLine>
|
|
<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>
|
|
<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>
|
|
<outputDirectory>${project.build.directory}/generated-test-sources/antlr4</outputDirectory>
|
|
<visitor>true</visitor>
|
|
<generateTestSources>true</generateTestSources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<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>
|
|
</project>
|