mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
226f4c2c8a
package, as well as some other classes go to org.teavm.vm.spi. html4j now supports generation of JavaScript that is completely compatible with bck2brwsr without altering HTML page
145 lines
4.9 KiB
XML
145 lines
4.9 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.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>teavm-html4j</artifactId>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-core</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-classlib</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.html</groupId>
|
|
<artifactId>net.java.html.boot</artifactId>
|
|
<version>0.8-SNAPSHOT</version>
|
|
<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>
|
|
<version>0.8-SNAPSHOT</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.netbeans.html</groupId>
|
|
<artifactId>ko4j</artifactId>
|
|
<version>0.8-SNAPSHOT</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-maven-plugin</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-javascript-tests</id>
|
|
<goals>
|
|
<goal>build-test-javascript</goal>
|
|
</goals>
|
|
<phase>process-test-classes</phase>
|
|
<configuration>
|
|
<minifying>false</minifying>
|
|
<numThreads>1</numThreads>
|
|
<outputDir>${project.build.directory}/javascript-test</outputDir>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-javascript-tck</id>
|
|
<goals>
|
|
<goal>build-test-javascript</goal>
|
|
</goals>
|
|
<phase>process-test-classes</phase>
|
|
<configuration>
|
|
<minifying>false</minifying>
|
|
<numThreads>1</numThreads>
|
|
<scanDependencies>true</scanDependencies>
|
|
<outputDir>${project.build.directory}/javascript-tck</outputDir>
|
|
<adapterClass>org.teavm.html4j.testing.KOTestAdapter</adapterClass>
|
|
<transformers>
|
|
<param>org.teavm.javascript.NullPointerExceptionTransformer</param>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</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>
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-maven-plugin</artifactId>
|
|
<versionRange>[0.0.1-SNAPSHOT,)</versionRange>
|
|
<goals>
|
|
<goal>build-test-javascript</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore></ignore>
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</project> |