eagler-teavm-fork/samples/scala/pom.xml

106 lines
3.3 KiB
XML
Raw Normal View History

2015-10-03 11:02:59 -07: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-samples</artifactId>
2015-10-21 22:25:53 -07:00
<version>0.4.0</version>
2015-10-03 11:02:59 -07:00
</parent>
<packaging>war</packaging>
<artifactId>teavm-samples-scala</artifactId>
<name>TeaVM Scala example</name>
<description>A sample application written in Scala.</description>
<properties>
<java.version>1.8</java.version>
<scala.version>2.11.7</scala.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-classlib</artifactId>
2015-10-21 22:25:53 -07:00
<version>${project.version}</version>
2015-10-03 11:02:59 -07:00
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-jso</artifactId>
2015-10-21 22:25:53 -07:00
<version>${project.version}</version>
2015-10-03 11:02:59 -07:00
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/scala</sourceDirectory>
<testSourceDirectory>src/test/scala</testSourceDirectory>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
<configuration>
<scalaVersion>${scala.version}</scalaVersion>
</configuration>
</plugin>
<plugin>
<groupId>org.teavm</groupId>
<artifactId>teavm-maven-plugin</artifactId>
2015-10-21 22:25:53 -07:00
<version>${project.version}</version>
2015-10-03 11:02:59 -07:00
<executions>
<execution>
<id>web-client</id>
<goals>
2015-10-09 07:56:38 -07:00
<goal>compile</goal>
2015-10-03 11:02:59 -07:00
</goals>
<configuration>
<targetDirectory>${project.build.directory}/generated/js/teavm</targetDirectory>
<mainClass>org.teavm.samples.scala.Client</mainClass>
<runtime>SEPARATE</runtime>
<minifying>false</minifying>
<debugInformationGenerated>true</debugInformationGenerated>
<sourceMapsGenerated>true</sourceMapsGenerated>
<sourceFilesCopied>true</sourceFilesCopied>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<webResources>
<resource>
<directory>${project.build.directory}/generated/js</directory>
</resource>
</webResources>
</configuration>
</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>
</plugins>
</build>
2015-10-21 22:25:53 -07:00
2015-10-03 11:02:59 -07:00
</project>