mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 08:34:11 -08:00
163 lines
5.6 KiB
XML
163 lines
5.6 KiB
XML
<!--
|
|
Copyright 2014 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>
|
|
<version>0.4.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>teavm-html4j</artifactId>
|
|
|
|
<name>TeaVM html4j support</name>
|
|
<description>A set of interceptors and hacks for TeaVM to support html4j</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.netbeans.html</groupId>
|
|
<artifactId>net.java.html.boot</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.html</groupId>
|
|
<artifactId>net.java.html.json.tck</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.html</groupId>
|
|
<artifactId>ko4j</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<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>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minifying>false</minifying>
|
|
<targetDirectory>${project.build.directory}/javascript-test</targetDirectory>
|
|
<debugInformationGenerated>true</debugInformationGenerated>
|
|
<sourceMapsGenerated>true</sourceMapsGenerated>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-javascript-tck</id>
|
|
<goals>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minifying>false</minifying>
|
|
<scanDependencies>true</scanDependencies>
|
|
<targetDirectory>${project.build.directory}/javascript-tck</targetDirectory>
|
|
<adapterClass>org.teavm.html4j.testing.KOTestAdapter</adapterClass>
|
|
<transformers>
|
|
<param>org.teavm.javascript.NullPointerExceptionTransformer</param>
|
|
</transformers>
|
|
<debugInformationGenerated>true</debugInformationGenerated>
|
|
<sourceMapsGenerated>true</sourceMapsGenerated>
|
|
<sourceFilesCopied>true</sourceFilesCopied>
|
|
<excludeWildcards>
|
|
<wildcard>**.GC*Test</wildcard>
|
|
</excludeWildcards>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>run-javascript-tests</id>
|
|
<goals>
|
|
<goal>test</goal>
|
|
</goals>
|
|
<configuration>
|
|
<skip>${teavm.test.skip}</skip>
|
|
<numThreads>${teavm.test.threads}</numThreads>
|
|
<seleniumURL>${teavm.test.selenium}</seleniumURL>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>run-javascript-tck</id>
|
|
<goals>
|
|
<goal>test</goal>
|
|
</goals>
|
|
<configuration>
|
|
<testDirectory>${project.build.directory}/javascript-tck</testDirectory>
|
|
<reportFile>${project.build.directory}/teavm-tck-report.json</reportFile>
|
|
<skip>${teavm.test.skip}</skip>
|
|
<numThreads>${teavm.test.threads}</numThreads>
|
|
<seleniumURL>${teavm.test.selenium}</seleniumURL>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<configuration>
|
|
<configLocation>../checkstyle.xml</configLocation>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.16</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</project>
|