c5a208f3eb
Rearrange JS stdlib unit tests.
125 lines
4.9 KiB
XML
125 lines
4.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-project</artifactId>
|
|
<version>1.1-SNAPSHOT</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>kotlin-js-tests</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-js-library</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-sources</id>
|
|
<phase>process-sources</phase>
|
|
<configuration>
|
|
<target>
|
|
<delete dir="${basedir}/target/tests" failonerror="false"/>
|
|
<mkdir dir="${basedir}/target/tests"/>
|
|
<copy todir="${basedir}/target/tests">
|
|
<fileset dir="${basedir}/../../stdlib/test">
|
|
<include name="**/*.kt"/>
|
|
|
|
|
|
<!-- exclude JVM tests-->
|
|
<exclude name="**/*JVMTest.kt"/>
|
|
<exclude name="**/*JVMTests.kt"/>
|
|
|
|
<exclude name="concurrent/**"/>
|
|
<exclude name="io/**"/>
|
|
<exclude name="reflection/**"/>
|
|
|
|
<!-- Can't run: spaces in function name KT-4160 -->
|
|
<exclude name="language/EscapedTestNamesTest.kt"/>
|
|
|
|
</fileset>
|
|
<fileset dir="${basedir}/../../../js/js.libraries/test">
|
|
<include name="**/*.kt" />
|
|
</fileset>
|
|
</copy>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>js</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>js</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirs>
|
|
<sourceDir>${basedir}/target/tests</sourceDir>
|
|
</sourceDirs>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-js-library</artifactId>
|
|
<version>${project.version}</version>
|
|
<outputDirectory>${project.build.directory}/js/lib</outputDirectory>
|
|
<includes>*.js</includes>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</project>
|