2013-12-20 00:45:28 -08:00
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
2013-12-18 03:04:11 -08:00
|
|
|
<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>
|
2014-03-18 14:48:43 -07:00
|
|
|
<version>0.2-SNAPSHOT</version>
|
2013-12-18 03:04:11 -08:00
|
|
|
</parent>
|
|
|
|
<artifactId>teavm-samples</artifactId>
|
|
|
|
|
2014-02-06 05:51:51 -08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-core</artifactId>
|
2014-03-18 07:02:15 -07:00
|
|
|
<version>${project.version}</version>
|
2014-02-06 05:51:51 -08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-dom</artifactId>
|
2014-03-18 07:02:15 -07:00
|
|
|
<version>${project.version}</version>
|
2014-02-06 05:51:51 -08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2013-12-18 03:04:11 -08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-maven-plugin</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2013-12-19 00:13:31 -08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.teavm</groupId>
|
|
|
|
<artifactId>teavm-classlib</artifactId>
|
2014-03-18 07:02:15 -07:00
|
|
|
<version>${project.version}</version>
|
2013-12-19 00:13:31 -08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2013-12-18 03:04:11 -08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2014-02-09 02:27:32 -08:00
|
|
|
<id>generate-hello</id>
|
2013-12-18 03:04:11 -08:00
|
|
|
<goals>
|
|
|
|
<goal>build-javascript</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<configuration>
|
2013-12-18 05:31:59 -08:00
|
|
|
<minifying>false</minifying>
|
2013-12-18 03:04:11 -08:00
|
|
|
<mainClass>org.teavm.samples.HelloWorld</mainClass>
|
2013-12-18 05:31:59 -08:00
|
|
|
<mainPageIncluded>true</mainPageIncluded>
|
2014-02-09 02:27:32 -08:00
|
|
|
<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>
|
|
|
|
<targetDirectory>${project.build.directory}/javascript/matrix</targetDirectory>
|
2013-12-18 03:04:11 -08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|