Yigit Boyar | 73473d5 | 2016-02-12 13:22:18 -0800 | [diff] [blame^] | 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.0-rc-1036</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 | </resource> |
| 28 | </resources> |
| 29 | |
| 30 | <plugins> |
| 31 | <plugin> |
| 32 | <groupId>org.apache.maven.plugins</groupId> |
| 33 | <artifactId>maven-antrun-plugin</artifactId> |
| 34 | <version>1.7</version> |
| 35 | |
| 36 | <executions> |
| 37 | <execution> |
| 38 | <id>copy-sources</id> |
| 39 | <phase>process-sources</phase> |
| 40 | <configuration> |
| 41 | <target> |
| 42 | <delete dir="${basedir}/target/copied-sources" failonerror="false"/> |
| 43 | <copy todir="${basedir}/target/copied-sources"> |
| 44 | <fileset dir="${basedir}/../../../core/builtins/src"/> |
| 45 | <fileset dir="${basedir}/../../../core/runtime.jvm/src"/> |
| 46 | </copy> |
| 47 | </target> |
| 48 | </configuration> |
| 49 | <goals> |
| 50 | <goal>run</goal> |
| 51 | </goals> |
| 52 | </execution> |
| 53 | </executions> |
| 54 | </plugin> |
| 55 | |
| 56 | <plugin> |
| 57 | <groupId>org.apache.maven.plugins</groupId> |
| 58 | <artifactId>maven-javadoc-plugin</artifactId> |
| 59 | <executions> |
| 60 | <execution> |
| 61 | <id>attach-javadocs</id> |
| 62 | <phase>package</phase> |
| 63 | <goals> |
| 64 | <goal>jar</goal> |
| 65 | </goals> |
| 66 | </execution> |
| 67 | </executions> |
| 68 | </plugin> |
| 69 | |
| 70 | <plugin> |
| 71 | <groupId>org.codehaus.mojo</groupId> |
| 72 | <artifactId>build-helper-maven-plugin</artifactId> |
| 73 | <version>1.7</version> |
| 74 | <executions> |
| 75 | <execution> |
| 76 | <id>attach-empty-javadoc</id> |
| 77 | <phase>prepare-package</phase> |
| 78 | <goals> |
| 79 | <goal>attach-artifact</goal> |
| 80 | </goals> |
| 81 | <configuration> |
| 82 | <skipAttach>true</skipAttach> |
| 83 | </configuration> |
| 84 | </execution> |
| 85 | </executions> |
| 86 | </plugin> |
| 87 | |
| 88 | <plugin> |
| 89 | <groupId>org.jetbrains.kotlin</groupId> |
| 90 | <artifactId>kotlin-maven-plugin</artifactId> |
| 91 | <version>${project.version}</version> |
| 92 | |
| 93 | <configuration> |
| 94 | <args> |
| 95 | <arg>-Xallow-kotlin-package</arg> |
| 96 | </args> |
| 97 | </configuration> |
| 98 | |
| 99 | <executions> |
| 100 | <execution> |
| 101 | <id>compile</id> |
| 102 | <phase>process-sources</phase> |
| 103 | <goals> |
| 104 | <goal>compile</goal> |
| 105 | </goals> |
| 106 | </execution> |
| 107 | </executions> |
| 108 | </plugin> |
| 109 | </plugins> |
| 110 | </build> |
| 111 | </project> |