Files
kotlin-fork/libraries/tools/kotlin-js-library/pom.xml
T
Zalim Bashorov 8f6b12d296 Fixed maven build
2014-10-06 23:18:53 +04:00

61 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-project</artifactId>
<version>0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>kotlin-js-library</artifactId>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>copy-sources</id>
<phase>process-sources</phase>
<configuration>
<target>
<ant antfile="${basedir}/build.xml" dir="${project-root}"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${project.version}</version>
<configuration>
<librarySourceDir>${basedir}/target/generated-js-library</librarySourceDir>
<definitionSourceDir>${basedir}/target/generated-js-definitions</definitionSourceDir>
</configuration>
<executions>
<execution>
<id>jslib</id>
<goals>
<goal>jslib</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>