mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
129 lines
4.6 KiB
XML
129 lines
4.6 KiB
XML
<!--
|
|
Copyright 2013 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.2-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>teavm-samples</artifactId>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-dom</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<configuration>
|
|
<configLocation>../checkstyle.xml</configLocation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.teavm</groupId>
|
|
<artifactId>teavm-classlib</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-hello</id>
|
|
<goals>
|
|
<goal>build-javascript</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
<configuration>
|
|
<minifying>false</minifying>
|
|
<mainClass>org.teavm.samples.HelloWorld</mainClass>
|
|
<mainPageIncluded>true</mainPageIncluded>
|
|
<debugInformationGenerated>true</debugInformationGenerated>
|
|
<sourceMapsGenerated>true</sourceMapsGenerated>
|
|
<targetDirectory>${project.build.directory}/javascript/hello</targetDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-matrix</id>
|
|
<goals>
|
|
<goal>build-javascript</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
<configuration>
|
|
<minifying>false</minifying>
|
|
<mainClass>org.teavm.samples.MatrixMultiplication</mainClass>
|
|
<mainPageIncluded>true</mainPageIncluded>
|
|
<debugInformationGenerated>true</debugInformationGenerated>
|
|
<sourceMapsGenerated>true</sourceMapsGenerated>
|
|
<targetDirectory>${project.build.directory}/javascript/matrix</targetDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-datetime</id>
|
|
<goals>
|
|
<goal>build-javascript</goal>
|
|
</goals>
|
|
<phase>process-classes</phase>
|
|
<configuration>
|
|
<minifying>false</minifying>
|
|
<mainClass>org.teavm.samples.DateTime</mainClass>
|
|
<targetDirectory>${project.build.directory}/javascript/datetime</targetDirectory>
|
|
<debugInformationGenerated>true</debugInformationGenerated>
|
|
<sourceMapsGenerated>true</sourceMapsGenerated>
|
|
<properties>
|
|
<java.util.Locale.available>en_US,en_GB,ru_RU,ru_UA,nl_NL,nl_BE</java.util.Locale.available>
|
|
</properties>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/teavm-demos.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |