130 lines
5.2 KiB
XML
130 lines
5.2 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-common</artifactId>
|
|
|
|
<dependencies>
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.jetbrains.kotlin</groupId>-->
|
|
<!--<artifactId>kotlin-stdlib-common</artifactId>-->
|
|
<!--<version>${project.version}</version>-->
|
|
<!--</dependency>-->
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
|
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
|
|
<configuration>
|
|
<args>
|
|
<arg>-Xallow-kotlin-package</arg>
|
|
</args>
|
|
</configuration>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<goals>
|
|
<goal>metadata</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>kotlin/internal/OnlyInputTypes*</exclude>
|
|
<exclude>kotlin/internal/InlineOnly*</exclude>
|
|
<exclude>kotlin/internal</exclude>
|
|
</excludes>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<!--<profile>-->
|
|
<!--<id>kotlin-jvm</id>-->
|
|
<!--<activation>-->
|
|
<!--<activeByDefault>false</activeByDefault>-->
|
|
<!--</activation>-->
|
|
|
|
<!--<dependencies>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>org.jetbrains.kotlin</groupId>-->
|
|
<!--<artifactId>kotlin-runtime</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!--<groupId>junit</groupId>-->
|
|
<!--<artifactId>junit</artifactId>-->
|
|
<!--<scope>test</scope>-->
|
|
<!--</dependency>-->
|
|
<!--</dependencies>-->
|
|
|
|
<!--<build>-->
|
|
<!--<plugins>-->
|
|
<!--<plugin>-->
|
|
<!--<groupId>org.jetbrains.kotlin</groupId>-->
|
|
<!--<artifactId>kotlin-maven-plugin</artifactId>-->
|
|
|
|
<!--<configuration>-->
|
|
<!--<args>-->
|
|
<!--<arg>-Xallow-kotlin-package</arg>-->
|
|
<!--</args>-->
|
|
<!--</configuration>-->
|
|
|
|
<!--<executions>-->
|
|
<!--<execution>-->
|
|
<!--<id>compile</id>-->
|
|
<!--<phase>compile</phase>-->
|
|
<!--<goals>-->
|
|
<!--<goal>compile</goal>-->
|
|
<!--</goals>-->
|
|
<!--<configuration>-->
|
|
<!--<sourceDirs>-->
|
|
<!--<dir>${project.basedir}/src/main/kotlin</dir>-->
|
|
<!--<dir>${project.basedir}/src/main/kotlin.jvm</dir>-->
|
|
<!--</sourceDirs>-->
|
|
<!--</configuration>-->
|
|
<!--</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>-->
|
|
<!--</plugins>-->
|
|
<!--</build>-->
|
|
<!--</profile>-->
|
|
</profiles>
|
|
</project>
|