2015-02-07 22:36:18 +08:00
|
|
|
<!--
|
|
|
|
Copyright 2015 Alexey Andreev.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm</artifactId>
|
2015-06-30 17:00:35 +08:00
|
|
|
<version>0.4.0-SNAPSHOT</version>
|
2015-02-07 22:36:18 +08:00
|
|
|
</parent>
|
|
|
|
<artifactId>teavm-tests</artifactId>
|
|
|
|
|
|
|
|
<name>TeaVM tests</name>
|
|
|
|
<description>Project containing TeaVM tests, as it is impossible to test each module separately</description>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-classlib</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-platform</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.teavm</groupId>
|
2015-10-04 17:08:01 +08:00
|
|
|
<artifactId>teavm-jso-apis</artifactId>
|
2015-02-07 22:36:18 +08:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2015-09-10 17:11:37 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.teavm</groupId>
|
2015-10-04 17:08:01 +08:00
|
|
|
<artifactId>teavm-jso-apis</artifactId>
|
2015-09-10 17:11:37 +08:00
|
|
|
<version>${project.version}</version>
|
2015-09-24 21:58:37 +08:00
|
|
|
<classifier>tests</classifier>
|
|
|
|
<scope>compile</scope>
|
2015-09-10 17:11:37 +08:00
|
|
|
</dependency>
|
2015-02-07 22:36:18 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-maven-plugin</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-javascript-tests</id>
|
|
|
|
<goals>
|
2015-10-09 22:56:38 +08:00
|
|
|
<goal>testCompile</goal>
|
2015-02-07 22:36:18 +08:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<minifying>false</minifying>
|
2015-09-24 21:58:37 +08:00
|
|
|
<scanDependencies>true</scanDependencies>
|
|
|
|
<wildcards>
|
|
|
|
<wildcard>org.teavm.classlib.**.*Test</wildcard>
|
|
|
|
<wildcard>org.teavm.jso.**.*Test</wildcard>
|
|
|
|
<wildcard>org.teavm.platform.metadata.*Test</wildcard>
|
|
|
|
</wildcards>
|
2015-02-07 22:36:18 +08:00
|
|
|
<properties>
|
|
|
|
<java.util.Locale.available>en, en_US, en_GB, ru, ru_RU</java.util.Locale.available>
|
|
|
|
</properties>
|
|
|
|
<incremental>${teavm.test.incremental}</incremental>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2015-10-09 23:30:31 +08:00
|
|
|
<execution>
|
|
|
|
<id>run-javascript-tests</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2015-02-07 22:36:18 +08:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org/teavm/platform/**/*.java</exclude>
|
|
|
|
<exclude>org/teavm/jso/**/*.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>../checkstyle.xml</configLocation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|