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>0.13.1513</version> 12 <relativePath>../../pom.xml</relativePath> 13 </parent> 14 15 <artifactId>kotlin-runtime</artifactId> 16 <packaging>jar</packaging> 17 18 <build> 19 <sourceDirectory>target/copied-sources</sourceDirectory> 20 21 <resources> 22 <resource> 23 <directory>${basedir}/../../../dist/builtins</directory> 24 <includes> 25 <include>**/*.kotlin_*</include> 26 </includes> 27 <excludes> 28 <exclude>kotlin/internal/**/*</exclude> 29 </excludes> 30 </resource> 31 </resources> 32 33 <plugins> 34 <plugin> 35 <groupId>org.apache.maven.plugins</groupId> 36 <artifactId>maven-antrun-plugin</artifactId> 37 <version>1.7</version> 38 39 <executions> 40 <execution> 41 <id>copy-sources</id> 42 <phase>process-sources</phase> 43 <configuration> 44 <target> 45 <delete dir="${basedir}/target/copied-sources" failonerror="false"/> 46 <copy todir="${basedir}/target/copied-sources"> 47 <fileset dir="${basedir}/../../../core/builtins/src"/> 48 <fileset dir="${basedir}/../../../core/runtime.jvm/src"/> 49 </copy> 50 </target> 51 </configuration> 52 <goals> 53 <goal>run</goal> 54 </goals> 55 </execution> 56 </executions> 57 </plugin> 58 59 <plugin> 60 <groupId>org.apache.maven.plugins</groupId> 61 <artifactId>maven-javadoc-plugin</artifactId> 62 <executions> 63 <execution> 64 <id>attach-javadocs</id> 65 <phase>package</phase> 66 <goals> 67 <goal>jar</goal> 68 </goals> 69 </execution> 70 </executions> 71 </plugin> 72 73 <plugin> 74 <groupId>org.codehaus.mojo</groupId> 75 <artifactId>build-helper-maven-plugin</artifactId> 76 <version>1.7</version> 77 <executions> 78 <execution> 79 <id>attach-empty-javadoc</id> 80 <phase>prepare-package</phase> 81 <goals> 82 <goal>attach-artifact</goal> 83 </goals> 84 <configuration> 85 <skipAttach>true</skipAttach> 86 </configuration> 87 </execution> 88 </executions> 89 </plugin> 90 91 <plugin> 92 <groupId>org.jetbrains.kotlin</groupId> 93 <artifactId>kotlin-maven-plugin</artifactId> 94 <version>${project.version}</version> 95 96 <executions> 97 <execution> 98 <id>compile</id> 99 <phase>process-sources</phase> 100 <goals> 101 <goal>compile</goal> 102 </goals> 103 </execution> 104 </executions> 105 </plugin> 106 </plugins> 107 </build> 108 </project> 109