e5680565b3
#KT-16049 Fixed
94 lines
3.5 KiB
XML
94 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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">
|
|
<parent>
|
|
<artifactId>kotlin-test-parent</artifactId>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<version>1.1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>kotlin-test-js</artifactId>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-js</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-test-common</artifactId>
|
|
<version>${project.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
<args>
|
|
<arg>-Xallow-kotlin-package</arg>
|
|
<arg>-Xmulti-platform</arg>
|
|
</args>
|
|
<moduleKind>umd</moduleKind>
|
|
<metaInfo>true</metaInfo>
|
|
</configuration>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>js</goal>
|
|
</goals>
|
|
</execution>
|
|
|
|
<!--<execution>-->
|
|
<!--<id>test-compile</id>-->
|
|
<!--<phase>test-compile</phase>-->
|
|
<!--<goals>-->
|
|
<!--<goal>test-compile</goal>-->
|
|
<!--</goals>-->
|
|
<!--<configuration>-->
|
|
<!--<sourceDirs>-->
|
|
<!--<dir>${project.basedir}/src/test/kotlin</dir>-->
|
|
<!--<dir>${project.basedir}/src/test/kotlin.jvm</dir>-->
|
|
<!--</sourceDirs>-->
|
|
<!--</configuration>-->
|
|
<!--</execution>-->
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<forceCreation>true</forceCreation>
|
|
<classesDirectory>${project.build.directory}/js</classesDirectory>
|
|
<includes>
|
|
<include>**/*.js</include>
|
|
<include>**/*.js.map</include>
|
|
<include>**/*.kjsm</include>
|
|
</includes>
|
|
<archive>
|
|
<forced />
|
|
<manifestEntries>
|
|
<Built-By>${user.name}</Built-By>
|
|
|
|
<Implementation-Vendor>JetBrains s.r.o.</Implementation-Vendor>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|