blob: b6097c605e9efe1424487a9705e271d07387591a [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 Elizarov96d7a882017-08-30 15:17:05 +0300123 <module>core/kotlinx-coroutines-io</module>
Roman Elizarov37bf00e2017-03-09 12:16:05 +0300124 <module>reactive/kotlinx-coroutines-reactive</module>
Konrad KamiƄski3ae898c2017-03-30 17:37:00 +0200125 <module>reactive/kotlinx-coroutines-reactor</module>
Roman Elizarov37bf00e2017-03-09 12:16:05 +0300126 <module>reactive/kotlinx-coroutines-rx1</module>
127 <module>reactive/kotlinx-coroutines-rx2</module>
128 <module>reactive/kotlinx-coroutines-rx-example</module>
Roman Elizarov23f864e2017-03-03 19:57:47 +0300129 <module>ui/kotlinx-coroutines-swing</module>
130 <module>ui/kotlinx-coroutines-javafx</module>
131 <module>ui/kotlinx-coroutines-android</module>
Roman Elizarovf23274a2017-05-17 13:27:30 +0300132 <module>integration/kotlinx-coroutines-jdk8</module>
133 <module>integration/kotlinx-coroutines-nio</module>
134 <module>integration/kotlinx-coroutines-guava</module>
Roman Elizarov44e3ba52017-08-01 22:01:31 -0700135 <module>integration/kotlinx-coroutines-quasar</module>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300136 </modules>
137
138 <dependencies>
139 <dependency>
140 <groupId>org.jetbrains.kotlin</groupId>
141 <artifactId>kotlin-stdlib</artifactId>
142 <version>${kotlin.version}</version>
143 <scope>compile</scope>
144 </dependency>
145 <dependency>
146 <groupId>junit</groupId>
147 <artifactId>junit</artifactId>
148 <version>${junit.version}</version>
149 <scope>test</scope>
150 </dependency>
Roman Elizarovb60d94c2017-08-15 16:12:01 +0300151 <dependency>
152 <groupId>org.jetbrains.kotlinx</groupId>
153 <artifactId>atomicfu</artifactId>
154 <version>${atomicfu.version}</version>
155 <scope>provided</scope>
156 </dependency>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300157 </dependencies>
158
159 <build>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300160 <plugins>
161 <plugin>
162 <artifactId>maven-source-plugin</artifactId>
163 <configuration>
164 </configuration>
Denis Zharkovfec9b2a2016-12-16 14:01:25 +0300165 <executions>
166 <execution>
167 <phase>package</phase>
168 <id>attach-sources</id>
169 <goals>
170 <goal>jar-no-fork</goal>
171 </goals>
172 </execution>
173 </executions>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300174 </plugin>
Roman Elizarovb60d94c2017-08-15 16:12:01 +0300175 <!-- compile Kotlin files to staging directory -->
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300176 <plugin>
177 <groupId>org.jetbrains.kotlin</groupId>
178 <artifactId>kotlin-maven-plugin</artifactId>
179 <executions>
180 <execution>
181 <id>compile</id>
182 <phase>compile</phase>
183 <goals>
184 <goal>compile</goal>
185 </goals>
Roman Elizarovb60d94c2017-08-15 16:12:01 +0300186 <configuration>
187 <output>${project.build.directory}/classes-atomicfu</output>
188 </configuration>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300189 </execution>
190 <execution>
191 <id>test-compile</id>
192 <phase>test-compile</phase>
193 <goals>
194 <goal>test-compile</goal>
195 </goals>
196 </execution>
197 </executions>
Roman Elizarov54c31752017-01-20 18:03:46 +0300198 <configuration>
199 <args>
200 <arg>-Xcoroutines=enable</arg>
201 </args>
202 </configuration>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300203 </plugin>
Roman Elizarovb60d94c2017-08-15 16:12:01 +0300204 <!-- transform classes with AtomicFU plugin -->
205 <plugin>
206 <groupId>org.jetbrains.kotlinx</groupId>
207 <artifactId>atomicfu-maven-plugin</artifactId>
208 <version>${atomicfu.version}</version>
209 <executions>
210 <execution>
211 <goals>
212 <goal>transform</goal>
213 </goals>
214 <configuration>
215 <verbose>true</verbose>
216 <input>${project.build.directory}/classes-atomicfu</input>
217 </configuration>
218 </execution>
219 </executions>
220 </plugin>
221 <!-- documentation -->
Roman Elizarov6c53d762017-01-24 17:04:40 +0300222 <plugin>
223 <groupId>org.jetbrains.dokka</groupId>
224 <artifactId>dokka-maven-plugin</artifactId>
Roman Elizarov6c53d762017-01-24 17:04:40 +0300225 <executions>
226 <execution>
227 <phase>pre-site</phase>
228 <goals>
229 <goal>dokka</goal>
230 </goals>
231 </execution>
232 </executions>
233 <configuration>
234 <sourceLinks>
235 <link>
236 <dir>${project.basedir}/src/main/kotlin</dir>
237 <url>http://github.com/kotlin/kotlinx.coroutines/tree/master/${project.artifactId}/src/main/kotlin</url>
238 <urlSuffix>#L</urlSuffix>
239 </link>
240 </sourceLinks>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300241 <includes>
242 <include>${project.basedir}/README.md</include>
243 </includes>
244 <outputFormat>kotlin-website</outputFormat>
Roman Elizarovc00eb842017-02-22 15:03:00 +0300245 <jdkVersion>8</jdkVersion>
Roman Elizarov584ae3d2017-05-17 18:07:48 +0300246 <skip>true</skip> <!-- children override -->
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300247 </configuration>
248 </plugin>
249 <plugin>
250 <artifactId>maven-site-plugin</artifactId>
251 <configuration>
252 <skip>true</skip>
Roman Elizarov6c53d762017-01-24 17:04:40 +0300253 </configuration>
254 </plugin>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700255 <!-- enforcer -->
256 <plugin>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-enforcer-plugin</artifactId>
259 <executions>
260 <execution>
261 <id>enforce-versions</id>
262 <goals>
263 <goal>enforce</goal>
264 </goals>
265 <configuration>
266 <rules>
267 <requireJavaVersion>
268 <version>1.8.0</version>
269 </requireJavaVersion>
270 <requirePluginVersions>
271 <message>Always define plugin versions!</message>
272 <banLatest>true</banLatest>
273 <banRelease>true</banRelease>
Roman Elizarovddcbdd32017-08-09 18:19:38 +0300274 <banSnapshots>false</banSnapshots>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700275 </requirePluginVersions>
276 </rules>
277 </configuration>
278 </execution>
279 </executions>
280 </plugin>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300281 </plugins>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300282
283 <pluginManagement>
284 <plugins>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700285 <!-- Kotlin -->
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300286 <plugin>
287 <groupId>org.jetbrains.kotlin</groupId>
288 <artifactId>kotlin-maven-plugin</artifactId>
289 <version>${kotlin.version}</version>
290 </plugin>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700291 <!-- Dokka -->
292 <plugin>
293 <groupId>org.jetbrains.dokka</groupId>
294 <artifactId>dokka-maven-plugin</artifactId>
295 <version>${dokka.version}</version>
296 </plugin>
297 <!-- Maven -->
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-enforcer-plugin</artifactId>
301 <version>3.0.0-M1</version>
302 </plugin>
303 <plugin>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-clean-plugin</artifactId>
306 <version>2.5</version>
307 </plugin>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300308 <plugin>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-source-plugin</artifactId>
311 <version>2.4</version>
312 </plugin>
313 <plugin>
314 <groupId>org.apache.maven.plugins</groupId>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700315 <artifactId>maven-install-plugin</artifactId>
316 <version>2.4</version>
317 </plugin>
318 <plugin>
319 <groupId>org.apache.maven.plugins</groupId>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300320 <artifactId>maven-release-plugin</artifactId>
321 <version>2.5.2</version>
322 </plugin>
323 <plugin>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-deploy-plugin</artifactId>
326 <version>2.8.2</version>
327 </plugin>
328 <plugin>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-surefire-plugin</artifactId>
331 <version>2.19.1</version>
332 </plugin>
333 <plugin>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-site-plugin</artifactId>
336 <version>3.3</version>
337 </plugin>
Roman Elizarov1e129b32017-08-03 21:36:13 -0700338 <plugin>
339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-jar-plugin</artifactId>
341 <version>3.0.2</version>
342 </plugin>
343 <plugin>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-dependency-plugin</artifactId>
346 <version>2.8</version>
347 </plugin>
348 <plugin>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-compiler-plugin</artifactId>
351 <version>3.1</version>
352 </plugin>
353 <plugin>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-resources-plugin</artifactId>
356 <version>2.6</version>
357 </plugin>
358 <plugin>
359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-antrun-plugin</artifactId>
361 <version>1.3</version>
362 </plugin>
Roman Elizarovd6b5a7b2017-02-07 19:26:04 +0300363 </plugins>
364 </pluginManagement>
Denis Zharkov8e4e0e42016-06-22 18:27:19 +0300365 </build>
Sergey Mashkov22035202017-07-11 18:28:47 +0300366
367 <profiles>
368 <profile>
369 <id>kotlin-snapshot</id>
370 <activation>
371 <activeByDefault>false</activeByDefault>
372 </activation>
373
374 <properties>
375 <kotlin.version>1.1-SNAPSHOT</kotlin.version>
376 </properties>
377
378 <pluginRepositories>
379 <pluginRepository>
380 <id>oss-p</id>
381 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
382 </pluginRepository>
383 </pluginRepositories>
384 <repositories>
385 <repository>
386 <id>oss</id>
387 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
388 </repository>
389 </repositories>
390 </profile>
391 </profiles>
Roman Elizarov44e9b492017-03-21 13:25:05 +0300392</project>