blob: c29c5e0b1ebda9148c7e4ff3da410631d0ffb3ce [file] [log] [blame]
Denis Zharkov8e4e0e42016-06-22 18:27:19 +03001<?xml version="1.0" encoding="UTF-8"?>
Roman Elizarovf16fd272017-02-07 11:26:00 +03002<!--
3 ~ Copyright 2016-2017 JetBrains s.r.o.
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17
Denis Zharkov8e4e0e42016-06-22 18:27:19 +030018<project
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
20 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
21
22 <modelVersion>4.0.0</modelVersion>
23
24 <groupId>org.jetbrains.kotlinx</groupId>
25 <artifactId>kotlinx-coroutines</artifactId>
Roman Elizarov5400ace2017-08-18 17:33:22 +030026 <version>0.18-SNAPSHOT</version>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +030027 <packaging>pom</packaging>
28
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +030029 <description>Coroutines support libraries for Kotlin 1.1</description>
30
Denis Zharkov8e4e0e42016-06-22 18:27:19 +030031 <url>https://github.com/Kotlin/kotlinx.coroutines/</url>
32
33 <licenses>
34 <license>
35 <name>The Apache Software License, Version 2.0</name>
36 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
37 <distribution>repo</distribution>
38 <comments>A business-friendly OSS license</comments>
39 </license>
40 </licenses>
41
Roman Elizarov8a07e5a2017-05-04 14:39:45 +030042 <properties>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Roman Elizarov5f3008a2017-08-16 14:55:18 +030044 <kotlin.version>1.1.4</kotlin.version>
Roman Elizarove82dee72017-08-18 16:49:09 +030045 <dokka.version>0.9.15</dokka.version>
Roman Elizarov8a07e5a2017-05-04 14:39:45 +030046 <junit.version>4.12</junit.version>
Roman Elizarov2b76d8e2017-08-17 10:40:39 +030047 <atomicfu.version>0.6</atomicfu.version>
Roman Elizarov8a07e5a2017-05-04 14:39:45 +030048 <maven.compiler.source>1.6</maven.compiler.source>
49 <maven.compiler.target>1.6</maven.compiler.target>
Roman Elizarov584ae3d2017-05-17 18:07:48 +030050 <core.docs.url>https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/</core.docs.url>
Roman Elizarov8a07e5a2017-05-04 14:39:45 +030051 </properties>
52
53 <prerequisites>
54 <maven>3.0.2</maven>
55 </prerequisites>
56
57 <developers>
58 <developer>
59 <id>JetBrains</id>
60 <name>JetBrains Team</name>
61 <organization>JetBrains</organization>
62 <organizationUrl>http://www.jetbrains.com</organizationUrl>
63 </developer>
64 </developers>
65
Denis Zharkov8e4e0e42016-06-22 18:27:19 +030066 <scm>
67 <url>https://github.com/Kotlin/kotlinx.coroutines</url>
68 <connection>scm:git:https://github.com/Kotlin/kotlinx.coroutines.git</connection>
69 <developerConnection>scm:git:https://github.com/Kotlin/kotlinx.coroutines.git</developerConnection>
70 </scm>
71
72 <repositories>
73 <repository>
Roman Elizarov7eb41ef2017-08-10 21:09:26 +030074 <id>central</id>
75 <url>http://jcenter.bintray.com</url>
76 </repository>
77 <repository>
78 <id>bintray-kotlin-kotlinx</id>
79 <name>bintray</name>
80 <url>http://kotlin.bintray.com/kotlinx</url>
81 </repository>
82 <repository>
Roman Elizarov15d0ec82017-06-09 16:45:46 +030083 <id>bintray-kotlin-eap</id>
84 <name>bintray-kotlin-eap</name>
85 <url>http://dl.bintray.com/kotlin/kotlin-eap</url>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +030086 </repository>
87 </repositories>
88
89 <pluginRepositories>
90 <pluginRepository>
Roman Elizarov7eb41ef2017-08-10 21:09:26 +030091 <id>central</id>
92 <url>http://jcenter.bintray.com</url>
93 </pluginRepository>
94 <pluginRepository>
95 <id>bintray-kotlin-kotlinx</id>
96 <name>bintray</name>
97 <url>http://kotlin.bintray.com/kotlinx</url>
98 </pluginRepository>
99 <pluginRepository>
Roman Elizarov15d0ec82017-06-09 16:45:46 +0300100 <id>bintray-kotlin-eap</id>
101 <name>bintray-kotlin-eap</name>
102 <url>http://dl.bintray.com/kotlin/kotlin-eap</url>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300103 </pluginRepository>
Roman Elizarov6c53d762017-01-24 17:04:40 +0300104 <pluginRepository>
105 <id>bintray-kotlin-dokka</id>
106 <name>bintray-kotlin-dokka</name>
107 <url>http://dl.bintray.com/kotlin/dokka</url>
108 </pluginRepository>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300109 </pluginRepositories>
110
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300111 <distributionManagement>
112 <repository>
113 <id>bintray</id>
Ilya Gorbunovbc000732017-03-09 19:19:23 +0300114 <url>https://api.bintray.com/maven/kotlin/kotlinx/kotlinx.coroutines</url>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300115 </repository>
116 </distributionManagement>
117
118 <modules>
Roman Elizarovf23274a2017-05-17 13:27:30 +0300119 <module>benchmarks</module>
120 <module>site</module>
121 <module>knit</module>
Roman Elizarove8d79342017-08-29 15:21:21 +0300122 <module>core/kotlinx-coroutines-core</module>
Roman Elizarov37bf00e2017-03-09 12:16:05 +0300123 <module>reactive/kotlinx-coroutines-reactive</module>
Konrad KamiƄski3ae898c2017-03-30 17:37:00 +0200124 <module>reactive/kotlinx-coroutines-reactor</module>
Roman Elizarov37bf00e2017-03-09 12:16:05 +0300125 <module>reactive/kotlinx-coroutines-rx1</module>
126 <module>reactive/kotlinx-coroutines-rx2</module>
127 <module>reactive/kotlinx-coroutines-rx-example</module>
Roman Elizarov23f864e2017-03-03 19:57:47 +0300128 <module>ui/kotlinx-coroutines-swing</module>
129 <module>ui/kotlinx-coroutines-javafx</module>
130 <module>ui/kotlinx-coroutines-android</module>
Roman Elizarovf23274a2017-05-17 13:27:30 +0300131 <module>integration/kotlinx-coroutines-jdk8</module>
132 <module>integration/kotlinx-coroutines-nio</module>
133 <module>integration/kotlinx-coroutines-guava</module>
Roman Elizarov44e3ba52017-08-01 22:01:31 -0700134 <module>integration/kotlinx-coroutines-quasar</module>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300135 </modules>
136
137 <dependencies>
138 <dependency>
139 <groupId>org.jetbrains.kotlin</groupId>
140 <artifactId>kotlin-stdlib</artifactId>
141 <version>${kotlin.version}</version>
142 <scope>compile</scope>
143 </dependency>
144 <dependency>
145 <groupId>junit</groupId>
146 <artifactId>junit</artifactId>
147 <version>${junit.version}</version>
148 <scope>test</scope>
149 </dependency>
Roman Elizarovb60d94c2017-08-15 16:12:01 +0300150 <dependency>
151 <groupId>org.jetbrains.kotlinx</groupId>
152 <artifactId>atomicfu</artifactId>
153 <version>${atomicfu.version}</version>
154 <scope>provided</scope>
155 </dependency>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300156 </dependencies>
157
158 <build>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300159 <plugins>
160 <plugin>
161 <artifactId>maven-source-plugin</artifactId>
162 <configuration>
163 </configuration>
Denis Zharkovfec9b2a2016-12-16 14:01:25 +0300164 <executions>
165 <execution>
166 <phase>package</phase>
167 <id>attach-sources</id>
168 <goals>
169 <goal>jar-no-fork</goal>
170 </goals>
171 </execution>
172 </executions>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300173 </plugin>
Roman Elizarovb60d94c2017-08-15 16:12:01 +0300174 <!-- compile Kotlin files to staging directory -->
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300175 <plugin>
176 <groupId>org.jetbrains.kotlin</groupId>
177 <artifactId>kotlin-maven-plugin</artifactId>
178 <executions>
179 <execution>
180 <id>compile</id>
181 <phase>compile</phase>
182 <goals>
183 <goal>compile</goal>
184 </goals>
Roman Elizarovb60d94c2017-08-15 16:12:01 +0300185 <configuration>
186 <output>${project.build.directory}/classes-atomicfu</output>
187 </configuration>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300188 </execution>
189 <execution>
190 <id>test-compile</id>
191 <phase>test-compile</phase>
192 <goals>
193 <goal>test-compile</goal>
194 </goals>
195 </execution>
196 </executions>
Roman Elizarov54c31752017-01-20 18:03:46 +0300197 <configuration>
198 <args>
199 <arg>-Xcoroutines=enable</arg>
200 </args>
201 </configuration>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300202 </plugin>
Roman Elizarovb60d94c2017-08-15 16:12:01 +0300203 <!-- transform classes with AtomicFU plugin -->
204 <plugin>
205 <groupId>org.jetbrains.kotlinx</groupId>
206 <artifactId>atomicfu-maven-plugin</artifactId>
207 <version>${atomicfu.version}</version>
208 <executions>
209 <execution>
210 <goals>
211 <goal>transform</goal>
212 </goals>
213 <configuration>
214 <verbose>true</verbose>
215 <input>${project.build.directory}/classes-atomicfu</input>
216 </configuration>
217 </execution>
218 </executions>
219 </plugin>
220 <!-- documentation -->
Roman Elizarov6c53d762017-01-24 17:04:40 +0300221 <plugin>
222 <groupId>org.jetbrains.dokka</groupId>
223 <artifactId>dokka-maven-plugin</artifactId>
Roman Elizarov6c53d762017-01-24 17:04:40 +0300224 <executions>
225 <execution>
226 <phase>pre-site</phase>
227 <goals>
228 <goal>dokka</goal>
229 </goals>
230 </execution>
231 </executions>
232 <configuration>
233 <sourceLinks>
234 <link>
235 <dir>${project.basedir}/src/main/kotlin</dir>
236 <url>http://github.com/kotlin/kotlinx.coroutines/tree/master/${project.artifactId}/src/main/kotlin</url>
237 <urlSuffix>#L</urlSuffix>
238 </link>
239 </sourceLinks>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300240 <includes>
241 <include>${project.basedir}/README.md</include>
242 </includes>
243 <outputFormat>kotlin-website</outputFormat>
Roman Elizarovc00eb842017-02-22 15:03:00 +0300244 <jdkVersion>8</jdkVersion>
Roman Elizarov584ae3d2017-05-17 18:07:48 +0300245 <skip>true</skip> <!-- children override -->
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300246 </configuration>
247 </plugin>
248 <plugin>
249 <artifactId>maven-site-plugin</artifactId>
250 <configuration>
251 <skip>true</skip>
Roman Elizarov6c53d762017-01-24 17:04:40 +0300252 </configuration>
253 </plugin>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700254 <!-- enforcer -->
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-enforcer-plugin</artifactId>
258 <executions>
259 <execution>
260 <id>enforce-versions</id>
261 <goals>
262 <goal>enforce</goal>
263 </goals>
264 <configuration>
265 <rules>
266 <requireJavaVersion>
267 <version>1.8.0</version>
268 </requireJavaVersion>
269 <requirePluginVersions>
270 <message>Always define plugin versions!</message>
271 <banLatest>true</banLatest>
272 <banRelease>true</banRelease>
Roman Elizarovddcbdd32017-08-09 18:19:38 +0300273 <banSnapshots>false</banSnapshots>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700274 </requirePluginVersions>
275 </rules>
276 </configuration>
277 </execution>
278 </executions>
279 </plugin>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300280 </plugins>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300281
282 <pluginManagement>
283 <plugins>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700284 <!-- Kotlin -->
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300285 <plugin>
286 <groupId>org.jetbrains.kotlin</groupId>
287 <artifactId>kotlin-maven-plugin</artifactId>
288 <version>${kotlin.version}</version>
289 </plugin>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700290 <!-- Dokka -->
291 <plugin>
292 <groupId>org.jetbrains.dokka</groupId>
293 <artifactId>dokka-maven-plugin</artifactId>
294 <version>${dokka.version}</version>
295 </plugin>
296 <!-- Maven -->
297 <plugin>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-enforcer-plugin</artifactId>
300 <version>3.0.0-M1</version>
301 </plugin>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-clean-plugin</artifactId>
305 <version>2.5</version>
306 </plugin>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300307 <plugin>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-source-plugin</artifactId>
310 <version>2.4</version>
311 </plugin>
312 <plugin>
313 <groupId>org.apache.maven.plugins</groupId>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700314 <artifactId>maven-install-plugin</artifactId>
315 <version>2.4</version>
316 </plugin>
317 <plugin>
318 <groupId>org.apache.maven.plugins</groupId>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300319 <artifactId>maven-release-plugin</artifactId>
320 <version>2.5.2</version>
321 </plugin>
322 <plugin>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-deploy-plugin</artifactId>
325 <version>2.8.2</version>
326 </plugin>
327 <plugin>
328 <groupId>org.apache.maven.plugins</groupId>
329 <artifactId>maven-surefire-plugin</artifactId>
330 <version>2.19.1</version>
331 </plugin>
332 <plugin>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-site-plugin</artifactId>
335 <version>3.3</version>
336 </plugin>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700337 <plugin>
338 <groupId>org.apache.maven.plugins</groupId>
339 <artifactId>maven-jar-plugin</artifactId>
340 <version>3.0.2</version>
341 </plugin>
342 <plugin>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-dependency-plugin</artifactId>
345 <version>2.8</version>
346 </plugin>
347 <plugin>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-compiler-plugin</artifactId>
350 <version>3.1</version>
351 </plugin>
352 <plugin>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-resources-plugin</artifactId>
355 <version>2.6</version>
356 </plugin>
357 <plugin>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-antrun-plugin</artifactId>
360 <version>1.3</version>
361 </plugin>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300362 </plugins>
363 </pluginManagement>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300364 </build>
Sergey Mashkov22035202017-07-11 18:28:47 +0300365
366 <profiles>
367 <profile>
368 <id>kotlin-snapshot</id>
369 <activation>
370 <activeByDefault>false</activeByDefault>
371 </activation>
372
373 <properties>
374 <kotlin.version>1.1-SNAPSHOT</kotlin.version>
375 </properties>
376
377 <pluginRepositories>
378 <pluginRepository>
379 <id>oss-p</id>
380 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
381 </pluginRepository>
382 </pluginRepositories>
383 <repositories>
384 <repository>
385 <id>oss</id>
386 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
387 </repository>
388 </repositories>
389 </profile>
390 </profiles>
Roman Elizarov44e9b492017-03-21 13:25:05 +0300391</project>