1 <?xml version="1.0" encoding="UTF-8"?> 2 <project 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" 4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 5 6 <modelVersion>4.0.0</modelVersion> 7 8 <parent> 9 <groupId>org.jetbrains.kotlin</groupId> 10 <artifactId>kotlin-project</artifactId> 11 <version>1.0.5</version> 12 </parent> 13 14 <artifactId>kotlin-stdlib</artifactId> 15 16 <dependencies> 17 <dependency> 18 <groupId>org.jetbrains.kotlin</groupId> 19 <artifactId>kotlin-runtime</artifactId> 20 <version>${project.version}</version> 21 </dependency> 22 <dependency> 23 <groupId>org.jetbrains.kotlin</groupId> 24 <artifactId>kotlin-test-junit</artifactId> 25 <version>${project.version}</version> 26 <scope>test</scope> 27 </dependency> 28 </dependencies> 29 30 <build> 31 <sourceDirectory>src</sourceDirectory> 32 <testSourceDirectory>test</testSourceDirectory> 33 34 <plugins> 35 <plugin> 36 <groupId>org.jetbrains.kotlin</groupId> 37 <artifactId>kotlin-maven-plugin</artifactId> 38 <version>${project.version}</version> 39 40 <configuration> 41 <args> 42 <arg>-Xallow-kotlin-package</arg> 43 </args> 44 </configuration> 45 46 <executions> 47 <execution> 48 <id>compile</id> 49 <phase>process-sources</phase> 50 <goals> 51 <goal>compile</goal> 52 </goals> 53 <configuration> 54 <args combine.children="append"> 55 <arg>-Xmultifile-parts-inherit</arg> 56 <arg>-Xdump-declarations-to</arg> 57 <arg>${basedir}/target/stdlib-declarations.json</arg> 58 </args> 59 </configuration> 60 </execution> 61 62 <execution> 63 <id>test-compile</id> 64 <phase>test-compile</phase> 65 <goals> 66 <goal>test-compile</goal> 67 </goals> 68 </execution> 69 </executions> 70 </plugin> 71 </plugins> 72 </build> 73 </project> 74