apache-ignite

Форк
0
1171 строка · 60.0 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2

3
<!--
4
  Licensed to the Apache Software Foundation (ASF) under one or more
5
  contributor license agreements.  See the NOTICE file distributed with
6
  this work for additional information regarding copyright ownership.
7
  The ASF licenses this file to You under the Apache License, Version 2.0
8
  (the "License"); you may not use this file except in compliance with
9
  the License.  You may obtain a copy of the License at
10

11
       http://www.apache.org/licenses/LICENSE-2.0
12

13
  Unless required by applicable law or agreed to in writing, software
14
  distributed under the License is distributed on an "AS IS" BASIS,
15
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
  See the License for the specific language governing permissions and
17
  limitations under the License.
18
-->
19

20
<project
21
        xmlns="http://maven.apache.org/POM/4.0.0"
22
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
    <modelVersion>4.0.0</modelVersion>
25

26
    <parent>
27
        <groupId>org.apache</groupId>
28
        <artifactId>apache</artifactId>
29
        <version>23</version>
30
        <relativePath/>
31
    </parent>
32

33
    <!--
34
        NOTE:
35
        The ignite-parent module is used as a shared pom between the Ignite internal submodules and the Ignite Extensions.
36
        This parent module will be released each time a new Ignite release occurs, so, if you're adding a new
37
        maven profile, plugin or dependency only for Ignite submodule in this scm use the `parent-internal`
38
        maven project instead.
39
        Also, please, use the maven `$project` substitution variables in this pom.xml carefully (e.g. `${project.version}`)
40
        since for in the Ignite Extension projects they may be inlined the different values.
41
    -->
42

43
    <groupId>org.apache.ignite</groupId>
44
    <artifactId>ignite-parent</artifactId>
45
    <version>${revision}</version>
46
    <packaging>pom</packaging>
47

48
    <properties>
49
        <maven.compiler.source>1.8</maven.compiler.source>
50
        <maven.compiler.target>1.8</maven.compiler.target>
51

52
        <revision>2.17.0-SNAPSHOT</revision>
53
        <!-- Ignite version will be substituted with the flatten-maven-plugin and used as
54
            a version dependency for Ignite extensions. -->
55
        <ignite.version>${revision}</ignite.version>
56
        <ignite.edition>apache-ignite</ignite.edition>
57

58
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
59
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
60
        <maven.build.timestamp.format>MMMM d yyyy</maven.build.timestamp.format>
61
        <doxygen.exec>doxygen</doxygen.exec>
62
        <docfx.exec>docfx</docfx.exec>
63
        <git.exec>git</git.exec>
64
        <javadoc.opts>-Xdoclint:none</javadoc.opts>
65
        <update.notifier.enabled.by.default>true</update.notifier.enabled.by.default>
66
        <failIfNoTests>false</failIfNoTests>
67

68
        <!-- Dependency versions -->
69
        <activemq.version>5.12.0</activemq.version>
70
        <aopalliance.bundle.version>1.0_6</aopalliance.bundle.version>
71
        <asm.version>4.2</asm.version>
72
        <aspectj.bundle.version>1.8.13_1</aspectj.bundle.version>
73
        <aspectj.version>1.8.13</aspectj.version>
74
        <netty.version>4.1.101.Final</netty.version>
75
        <bouncycastle.version>1.69</bouncycastle.version>
76
        <commons.beanutils.bundle.version>1.9.2_1</commons.beanutils.bundle.version>
77
        <commons.beanutils.version>1.9.4</commons.beanutils.version>
78
        <commons.codec.version>1.16.0</commons.codec.version>
79
        <commons.collections.version>3.2.2</commons.collections.version>
80
        <commons.lang.version>2.6</commons.lang.version>
81
        <commons.io.version>2.11.0</commons.io.version>
82
        <commons.dbcp.version>1.4</commons.dbcp.version>
83
        <cron4j.version>2.2.5</cron4j.version>
84
        <curator.version>5.2.0</curator.version>
85
        <easymock.version>3.4</easymock.version>
86
        <ezmorph.bundle.version>1.0.6_1</ezmorph.bundle.version>
87
        <ezmorph.version>1.0.6</ezmorph.version>
88
        <guava.retrying.version>2.0.0</guava.retrying.version>
89
        <guava.version>32.1.2-jre</guava.version>
90
        <guava14.version>14.0.1</guava14.version>
91
        <guava16.version>16.0.1</guava16.version>
92
        <grpc-context.version>1.62.2</grpc-context.version>
93
        <h2.version>1.4.197</h2.version>
94
        <hadoop.version>2.9.1</hadoop.version>
95
        <hamcrest.version>2.2</hamcrest.version>
96
        <httpclient.version>4.5.13</httpclient.version>
97
        <httpcore.version>4.4.14</httpcore.version>
98
        <jackson.version>2.14.0</jackson.version>
99
        <jaxb.api.version>2.1</jaxb.api.version>
100
        <jaxb.impl.version>2.1.14</jaxb.impl.version>
101
        <javassist.version>3.28.0-GA</javassist.version>
102
        <javax.cache.bundle.version>1.0.0_1</javax.cache.bundle.version>
103
        <javax.cache.tck.version>1.1.0</javax.cache.tck.version>
104
        <javax.cache.version>1.0.0</javax.cache.version>
105
        <jboss.rmi.version>1.0.6.Final</jboss.rmi.version>
106
        <jetbrains.annotations.version>16.0.3</jetbrains.annotations.version>
107
        <jetty.version>9.4.53.v20231009</jetty.version>
108
        <jmh.version>1.13</jmh.version>
109
        <jms.spec.version>1.1.1</jms.spec.version>
110
        <jna.version>4.5.2</jna.version>
111
        <jnr.posix.version>3.1.15</jnr.posix.version>
112
        <jotm.version>2.3.1-M1</jotm.version>
113
        <jsch.bundle.version>0.1.54_1</jsch.bundle.version>
114
        <jsch.version>0.1.54</jsch.version>
115
        <jsonlib.bundle.version>2.4_1</jsonlib.bundle.version>
116
        <jsonlib.version>2.4</jsonlib.version>
117
        <jtidy.version>r938</jtidy.version>
118
        <kafka.version>3.4.0</kafka.version>
119
        <log4j2.version>2.22.0</log4j2.version>
120
        <lucene.bundle.version>7.4.0_1</lucene.bundle.version>
121
        <lucene.version>8.11.2</lucene.version>
122
        <lz4.version>1.8.0</lz4.version>
123
        <maven.bundle.plugin.version>3.5.0</maven.bundle.plugin.version>
124
        <maven.checkstyle.plugin.version>3.1.1</maven.checkstyle.plugin.version>
125
        <maven.flatten.plugin.version>1.2.7</maven.flatten.plugin.version>
126
        <maven.flatten.file.name>pom-installed.xml</maven.flatten.file.name>
127
        <maven.model.version>3.8.4</maven.model.version>
128
        <checkstyle.puppycrawl.version>8.45</checkstyle.puppycrawl.version>
129
        <mockito.version>3.12.4</mockito.version>
130
        <mysql.connector.version>8.0.30</mysql.connector.version>
131
        <netlibjava.version>1.1.2</netlibjava.version>
132
        <oro.bundle.version>2.0.8_6</oro.bundle.version>
133
        <paho.version>1.0.2</paho.version>
134
        <postgres.connector.version>42.6.0</postgres.connector.version>
135
        <scala210.jline.version>2.10.7</scala210.jline.version>
136
        <scala210.library.version>2.10.7</scala210.library.version>
137
        <scala.library.version>2.11.12</scala.library.version>
138
        <scala.test.version>2.2.6</scala.test.version>
139
        <slf4j.version>1.7.33</slf4j.version>
140
        <slf4j16.version>1.6.4</slf4j16.version>
141
        <snappy.version>1.1.10.4</snappy.version>
142
        <spring.version>5.2.25.RELEASE</spring.version>
143
        <storm.version>1.1.1</storm.version>
144
        <surefire.version>3.1.2</surefire.version>
145
        <tomcat.version>9.0.63</tomcat.version>
146
        <twitter.hbc.version>2.2.0</twitter.hbc.version>
147
        <yammer.metrics.annotation.version>2.2.0</yammer.metrics.annotation.version>
148
        <yammer.metrics.core.version>2.2.0</yammer.metrics.core.version>
149
        <yardstick.version>0.8.3</yardstick.version>
150
        <zkclient.version>0.5</zkclient.version>
151
        <zookeeper.version>3.8.3</zookeeper.version>
152
        <zstd.version>1.5.5-5</zstd.version>
153
        <opencensus.version>0.31.1</opencensus.version>
154
        <commons.lang3.version>3.9</commons.lang3.version>
155
        <ignite-kafka-ext.version>1.0.0</ignite-kafka-ext.version>
156

157
        <!-- Maven plugins versions -->
158
        <maven.javadoc.plugin.version>3.2.0</maven.javadoc.plugin.version>
159
        <sonar.organization>apache</sonar.organization>
160
        <sonar.host.url>https://sonarcloud.io</sonar.host.url>
161
        <sonar.exclusions>**/generated/**/*</sonar.exclusions>
162

163
        <!-- OSGI Manifest generation default property values -->
164
        <osgi.import.package>*</osgi.import.package>
165
        <osgi.export.package>{local-packages}</osgi.export.package>
166

167
        <flattenMode>clean</flattenMode>
168

169
        <ignite.platform.full.version>
170
            ${ignite.majorVersion}.${ignite.minorVersion}.${ignite.incrementalVersion}.${ignite.buildNumber}
171
        </ignite.platform.full.version>
172
    </properties>
173

174
    <url>https://ignite.apache.org</url>
175

176
    <description>Apache Ignite® is a Distributed Database For High-Performance Computing With In-Memory Speed.</description>
177

178
    <scm>
179
        <url>https://gitbox.apache.org/repos/asf/ignite.git</url>
180
        <connection>scm:git:https://gitbox.apache.org/repos/asf/ignite.git</connection>
181
        <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/ignite.git</developerConnection>
182
        <tag>HEAD</tag>
183
    </scm>
184

185
    <licenses>
186
        <license>
187
            <name>The Apache Software License, Version 2.0</name>
188
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
189
        </license>
190
    </licenses>
191

192
    <mailingLists>
193
        <mailingList>
194
            <name>Ignite Dev List</name>
195
            <subscribe>dev-subscribe@ignite.apache.org</subscribe>
196
            <unsubscribe>dev-unsubscribe@ignite.apache.org</unsubscribe>
197
            <post>dev@ignite.apache.org</post>
198
            <archive>https://mail-archives.apache.org/mod_mbox/ignite-dev</archive>
199
        </mailingList>
200
        <mailingList>
201
            <name>Ignite User List</name>
202
            <subscribe>user-subscribe@ignite.apache.org</subscribe>
203
            <unsubscribe>user-unsubscribe@ignite.apache.org</unsubscribe>
204
            <post>user@ignites.apache.org</post>
205
            <archive>https://mail-archives.apache.org/mod_mbox/ignite-user/</archive>
206
        </mailingList>
207
    </mailingLists>
208

209
    <issueManagement>
210
        <system>jira</system>
211
        <url>https://issues.apache.org/jira/browse/IGNITE</url>
212
    </issueManagement>
213

214
    <ciManagement>
215
        <system>teamcity</system>
216
        <url>https://ci.ignite.apache.org/</url>
217
    </ciManagement>
218

219
    <dependencies>
220
        <dependency>
221
            <groupId>junit</groupId>
222
            <artifactId>junit</artifactId>
223
            <version>4.12</version>
224
            <scope>test</scope>
225
        </dependency>
226

227
        <dependency>
228
            <groupId>org.javassist</groupId>
229
            <artifactId>javassist</artifactId>
230
            <version>${javassist.version}</version>
231
            <scope>test</scope>
232
        </dependency>
233
    </dependencies>
234

235
    <build>
236
        <pluginManagement>
237
            <plugins>
238
                <plugin>
239
                    <groupId>org.apache.maven.plugins</groupId>
240
                    <artifactId>maven-checkstyle-plugin</artifactId>
241
                    <version>${maven.checkstyle.plugin.version}</version>
242
                    <configuration>
243
                        <skip>true</skip>
244
                        <!-- The source directories tag below is used to dynamically add the sources in case
245
                            additional build profiles are activated (combine.children="append" is used). -->
246
                        <sourceDirectories>
247
                            <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
248
                            <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory>
249
                        </sourceDirectories>
250
                        <consoleOutput>true</consoleOutput>
251
                        <logViolationsToConsole>true</logViolationsToConsole>
252
                        <failsOnError>true</failsOnError>
253
                        <failOnViolation>true</failOnViolation>
254
                        <outputFile>${project.build.directory}/checkstyle-result.xml</outputFile>
255
                        <!-- This configuration checkstyle files will be obtained from the 'ignite-checkstyle' resources. -->
256
                        <configLocation>checkstyle/checkstyle.xml</configLocation>
257
                        <suppressionsLocation>checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
258
                        <includeTestSourceDirectory>true</includeTestSourceDirectory>
259
                        <excludes>**/generated/**/*</excludes>
260
                    </configuration>
261
                    <dependencies>
262
                        <dependency>
263
                            <groupId>com.puppycrawl.tools</groupId>
264
                            <artifactId>checkstyle</artifactId>
265
                            <version>${checkstyle.puppycrawl.version}</version>
266
                        </dependency>
267
                        <dependency>
268
                            <groupId>${project.groupId}</groupId>
269
                            <artifactId>ignite-checkstyle</artifactId>
270
                            <version>${ignite.version}</version>
271
                        </dependency>
272
                    </dependencies>
273
                </plugin>
274

275
                <plugin>
276
                    <groupId>net.alchim31.maven</groupId>
277
                    <artifactId>scala-maven-plugin</artifactId>
278
                    <version>3.3.2</version>
279
                    <configuration>
280
                        <jvmArgs>
281
                            <jvmArg>-Xms512m</jvmArg>
282
                            <jvmArg>-Xmx1024m</jvmArg>
283
                        </jvmArgs>
284
                        <args>
285
                            <arg>-nobootcp</arg>
286
                        </args>
287
                    </configuration>
288
                    <executions>
289
                        <execution>
290
                            <id>scala-compile-first</id>
291
                            <phase>process-resources</phase>
292
                            <goals>
293
                                <goal>add-source</goal>
294
                                <goal>compile</goal>
295
                            </goals>
296
                        </execution>
297
                        <execution>
298
                            <id>scala-test-compile</id>
299
                            <phase>process-test-resources</phase>
300
                            <goals>
301
                                <goal>testCompile</goal>
302
                            </goals>
303
                        </execution>
304
                    </executions>
305
                </plugin>
306

307
                <plugin>
308
                    <groupId>org.apache.maven.plugins</groupId>
309
                    <artifactId>maven-jar-plugin</artifactId>
310
                </plugin>
311

312
                <plugin>
313
                    <groupId>org.apache.maven.plugins</groupId>
314
                    <artifactId>maven-javadoc-plugin</artifactId>
315
                    <version>${maven.javadoc.plugin.version}</version>
316
                    <configuration>
317
                        <taglets>
318
                            <taglet>
319
                                <tagletClass>org.apache.ignite.tools.javadoc.IgniteLinkTaglet</tagletClass>
320
                                <tagletArtifact>
321
                                    <groupId>${project.groupId}</groupId>
322
                                    <artifactId>ignite-tools</artifactId>
323
                                    <version>${ignite.version}</version>
324
                                </tagletArtifact>
325
                            </taglet>
326
                        </taglets>
327
                        <doctitle>Ignite ${ignite.version}</doctitle>
328
                        <windowtitle>Ignite ${ignite.version}</windowtitle>
329
                        <breakiterator>true</breakiterator>
330
                        <verbose>true</verbose>
331
                        <show>protected</show>
332
                        <use>true</use>
333
                        <author>false</author>
334
                        <version>false</version>
335
                        <additionalOptions>${javadoc.opts}</additionalOptions>
336
                        <bottom>
337
                            <![CDATA[
338
                                    <table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px">
339
                                    <tr>
340
                                        <td>
341
                                            <table style="padding-left: 0; margin: 0">
342
                                                <tbody style="padding: 0; margin: 0">
343
                                                    <tr style="padding: 0; margin: 0">
344
                                                        <td>
345
                                                            <a target=_blank href="https://ignite.apache.org"><nobr>${current.year} Copyright &#169; Apache Software Foundation</nobr></a>
346
                                                        </td>
347
                                                    </tr>
348
                                                </tbody>
349
                                            </table>
350
                                        </td>
351
                                        <td width="100%" align="right" valign="center">
352
                                            <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a>
353
                                        </td>
354
                                    </tr>
355
                                    <tr>
356
                                        <td colspan="2" valign="top" align="left">
357
                                            <table style="padding-left: 0; margin: 0">
358
                                                <tbody style="padding: 0; margin: 0">
359
                                                    <tr style="padding: 0; margin: 0">
360
                                                        <td>
361
                                                            <b>Ignite Database and Caching Platform</b>
362
                                                        </td>
363
                                                        <td>:&nbsp;&nbsp;
364
                                                            ver. <strong>${project.version}</strong>
365
                                                        </td>
366
                                                    </tr>
367
                                                    <tr style="padding: 0; margin: 0">
368
                                                        <td>
369
                                                            <b>Release Date</b>
370
                                                        </td>
371
                                                        <td>:&nbsp;&nbsp;
372
                                                            ${maven.build.timestamp}
373
                                                        </td>
374
                                                    </tr>
375
                                                </tbody>
376
                                            </table>
377
                                        </td>
378
                                    </tr>
379
                                    </table>
380
                                ]]>
381
                        </bottom>
382
                    </configuration>
383
                </plugin>
384

385
                <plugin>
386
                    <groupId>org.apache.felix</groupId>
387
                    <artifactId>maven-bundle-plugin</artifactId>
388
                    <version>${maven.bundle.plugin.version}</version>
389
                    <extensions>true</extensions>
390
                    <configuration>
391
                        <archive>
392
                            <addMavenDescriptor>true</addMavenDescriptor>
393
                        </archive>
394
                        <supportedProjectTypes>
395
                            <supportedProjectType>jar</supportedProjectType>
396
                            <supportedProjectType>war</supportedProjectType>
397
                        </supportedProjectTypes>
398
                        <instructions>
399
                            <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
400
                            <Bundle-Version>${project.version}</Bundle-Version>
401
                            <Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
402
                            <Bundle-Description>${project.description}</Bundle-Description>
403
                            <Bundle-DocURL>${project.url}</Bundle-DocURL>
404
                            <Import-Package>
405
                                ${osgi.import.package}
406
                            </Import-Package>
407
                            <Export-Package>
408
                                ${osgi.export.package}
409
                            </Export-Package>
410
                            <Private-Package>
411
                                ${osgi.private.package}
412
                            </Private-Package>
413
                            <Embed-Dependency>false</Embed-Dependency>
414
                            <Embed-Directory>lib</Embed-Directory>
415
                            <Embed-Transitive>false</Embed-Transitive>
416
                            <_failok>false</_failok>
417
                            <_invalidfilenames/>
418
                        </instructions>
419
                    </configuration>
420
                    <executions>
421
                        <execution>
422
                            <id>bundle-manifest</id>
423
                            <phase>process-classes</phase>
424
                            <goals>
425
                                <goal>manifest</goal>
426
                            </goals>
427
                        </execution>
428
                    </executions>
429
                </plugin>
430

431
                <plugin>
432
                    <groupId>org.apache.maven.plugins</groupId>
433
                    <artifactId>maven-resources-plugin</artifactId>
434
                    <version>3.2.0</version>
435
                </plugin>
436

437
                <plugin>
438
                    <groupId>org.codehaus.mojo</groupId>
439
                    <artifactId>build-helper-maven-plugin</artifactId>
440
                    <version>3.0.0</version>
441
                </plugin>
442

443
                <plugin>
444
                    <groupId>org.apache.maven.plugins</groupId>
445
                    <artifactId>maven-surefire-plugin</artifactId>
446
                    <version>${surefire.version}</version>
447
                    <dependencies>
448
                        <dependency>
449
                            <groupId>${project.groupId}</groupId>
450
                            <artifactId>ignite-tools</artifactId>
451
                            <version>${ignite.version}</version>
452
                        </dependency>
453
                    </dependencies>
454
                </plugin>
455

456
                <plugin>
457
                    <groupId>org.apache.maven.plugins</groupId>
458
                    <artifactId>maven-antrun-plugin</artifactId>
459
                    <version>1.8</version>
460
                </plugin>
461

462
                <plugin>
463
                    <groupId>org.codehaus.mojo</groupId>
464
                    <artifactId>exec-maven-plugin</artifactId>
465
                    <version>1.3.2</version>
466
                    <dependencies>
467
                        <dependency>
468
                            <groupId>${project.groupId}</groupId>
469
                            <artifactId>ignite-tools</artifactId>
470
                            <version>${ignite.version}</version>
471
                        </dependency>
472
                    </dependencies>
473
                </plugin>
474

475
                <plugin>
476
                    <groupId>org.codehaus.mojo</groupId>
477
                    <artifactId>flatten-maven-plugin</artifactId>
478
                    <version>${maven.flatten.plugin.version}</version>
479

480
                    <executions>
481
                        <execution>
482
                            <id>flatten</id>
483
                            <configuration>
484
                                <flattenMode>oss</flattenMode>
485
                                <flattenedPomFilename>${maven.flatten.file.name}</flattenedPomFilename>
486
                            </configuration>
487
                            <phase>process-resources</phase>
488
                            <goals>
489
                                <goal>flatten</goal>
490
                            </goals>
491
                        </execution>
492

493
                        <!-- ensure proper cleanup before start -->
494
                        <execution>
495
                            <id>flatten.clean.before</id>
496
                            <configuration>
497
                                <flattenedPomFilename>${maven.flatten.file.name}</flattenedPomFilename>
498
                            </configuration>
499
                            <phase>clean</phase>
500
                            <goals>
501
                                <goal>clean</goal>
502
                            </goals>
503
                        </execution>
504
                    </executions>
505
                </plugin>
506
            </plugins>
507
        </pluginManagement>
508

509
        <plugins>
510
            <plugin>
511
                <groupId>org.apache.maven.plugins</groupId>
512
                <artifactId>maven-surefire-plugin</artifactId>
513

514
                <configuration>
515
                    <forkCount>0</forkCount>
516
                    <statelessTestsetInfoReporter implementation="org.apache.ignite.tools.surefire.TestSuiteAwareTestsetReporter"/>
517
                    <properties>
518
                        <property>
519
                            <name>listener</name>
520
                            <value>org.apache.ignite.tools.junit.JUnitTeamcityReporter</value>
521
                        </property>
522
                    </properties>
523
                    <includes>
524
                        <!-- Check all classes that may have any test. -->
525
                        <include>**/*.java</include>
526
                    </includes>
527
                </configuration>
528
            </plugin>
529

530
            <plugin>
531
                <groupId>org.apache.maven.plugins</groupId>
532
                <artifactId>maven-source-plugin</artifactId>
533
                <version>2.2.1</version>
534
                <executions>
535
                    <execution>
536
                        <id>source</id>
537
                        <goals>
538
                            <goal>jar-no-fork</goal>
539
                        </goals>
540
                        <phase>package</phase>
541
                        <configuration>
542
                            <excludeResources>true</excludeResources>
543
                        </configuration>
544
                    </execution>
545
                </executions>
546
            </plugin>
547

548
            <plugin>
549
                <groupId>org.codehaus.mojo</groupId>
550
                <artifactId>flatten-maven-plugin</artifactId>
551

552
                <executions>
553
                    <!-- disable flattering for parent pom. -->
554
                    <execution>
555
                        <id>flatten</id>
556
                        <inherited>false</inherited>
557
                        <phase/>
558
                    </execution>
559

560
                    <execution>
561
                        <id>flatten-parent</id>
562
                        <inherited>false</inherited>
563
                        <configuration>
564
                            <updatePomFile>true</updatePomFile>
565
                            <flattenMode>resolveCiFriendliesOnly</flattenMode>
566
                            <flattenedPomFilename>${maven.flatten.file.name}</flattenedPomFilename>
567
                            <pomElements>
568
                                <properties>resolve</properties>
569
                            </pomElements>
570
                        </configuration>
571
                        <phase>process-resources</phase>
572
                        <goals>
573
                            <goal>flatten</goal>
574
                        </goals>
575
                    </execution>
576
                </executions>
577
            </plugin>
578

579
            <plugin>
580
                <groupId>org.apache.maven.plugins</groupId>
581
                <artifactId>maven-enforcer-plugin</artifactId>
582
                <version>3.0.0-M2</version>
583
                <configuration>
584
                    <rules>
585
                        <requireMavenVersion>
586
                            <version>[3.5.0,)</version>
587
                        </requireMavenVersion>
588
                    </rules>
589
                </configuration>
590
                <executions>
591
                    <execution>
592
                        <goals>
593
                            <goal>enforce</goal>
594
                        </goals>
595
                    </execution>
596
                </executions>
597
            </plugin>
598

599
            <plugin>
600
                <artifactId>maven-dependency-plugin</artifactId>
601
                <executions>
602
                    <execution>
603
                        <id>copy-libs</id>
604
                        <phase>package</phase>
605
                        <goals>
606
                            <goal>copy-dependencies</goal>
607
                        </goals>
608
                        <configuration>
609
                            <excludeGroupIds>${project.groupId}</excludeGroupIds>
610
                            <outputDirectory>target/libs</outputDirectory>
611
                            <includeScope>runtime</includeScope>
612
                            <excludeTransitive>true</excludeTransitive>
613
                        </configuration>
614
                    </execution>
615
                </executions>
616
            </plugin>
617

618
            <plugin>
619
                <groupId>org.apache.maven.plugins</groupId>
620
                <artifactId>maven-javadoc-plugin</artifactId>
621
                <executions>
622
                    <execution>
623
                        <id>module-javadoc</id>
624
                        <goals>
625
                            <goal>jar</goal>
626
                        </goals>
627
                        <phase>package</phase>
628
                    </execution>
629
                </executions>
630
            </plugin>
631

632
            <!-- Thin clients have the own versions format. We need to prepare required properties.-->
633
            <plugin>
634
                <groupId>org.codehaus.mojo</groupId>
635
                <artifactId>build-helper-maven-plugin</artifactId>
636
                <executions>
637
                    <execution>
638
                        <!--
639
                            This will create the following properties:
640
                            ignite.majorVersion, ignite.minorVersion, ignite.incrementalVersion
641
                        -->
642
                        <id>parse-version</id>
643
                        <goals>
644
                            <goal>parse-version</goal>
645
                        </goals>
646
                        <phase>validate</phase>
647
                        <configuration>
648
                            <propertyPrefix>ignite</propertyPrefix>
649
                        </configuration>
650
                    </execution>
651
                    <execution>
652
                        <id>thin-timestamp-property</id>
653
                        <goals>
654
                            <goal>timestamp-property</goal>
655
                        </goals>
656
                        <phase>validate</phase>
657
                        <configuration>
658
                            <name>ignite.buildNumber</name>
659
                            <!-- See: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html -->
660
                            <pattern>yywwu</pattern>
661
                        </configuration>
662
                    </execution>
663
                </executions>
664
            </plugin>
665

666
            <!-- Generate the OSGi MANIFEST.MF for this bundle. -->
667
            <plugin>
668
                <groupId>org.apache.felix</groupId>
669
                <artifactId>maven-bundle-plugin</artifactId>
670
            </plugin>
671
        </plugins>
672
    </build>
673

674
    <profiles>
675
        <profile>
676
            <id>checkstyle</id>
677
            <build>
678
                <plugins>
679
                    <plugin>
680
                        <groupId>org.apache.maven.plugins</groupId>
681
                        <artifactId>maven-checkstyle-plugin</artifactId>
682
                        <configuration>
683
                            <skip>false</skip>
684
                        </configuration>
685
                        <executions>
686
                            <execution>
687
                                <id>style</id>
688
                                <goals>
689
                                    <goal>check</goal>
690
                                </goals>
691
                                <phase>compile</phase>
692
                            </execution>
693
                        </executions>
694
                        <dependencies>
695
                            <dependency>
696
                                <groupId>org.apache.ignite</groupId>
697
                                <artifactId>ignite-checkstyle</artifactId>
698
                                <version>${revision}</version>
699
                            </dependency>
700
                        </dependencies>
701
                    </plugin>
702
                </plugins>
703
            </build>
704
        </profile>
705

706
        <profile>
707
            <id>check-licenses</id>
708
            <build>
709
                <plugins>
710
                    <plugin>
711
                        <groupId>org.apache.rat</groupId>
712
                        <artifactId>apache-rat-plugin</artifactId>
713
                        <version>0.12</version>
714
                        <configuration>
715
                            <addDefaultLicenseMatchers>true</addDefaultLicenseMatchers>
716
                            <licenses>
717
                                <license implementation="org.apache.rat.analysis.license.FullTextMatchingLicense">
718
                                    <licenseFamilyCategory>IAL20</licenseFamilyCategory>
719
                                    <licenseFamilyName>Ignite Apache License 2.0</licenseFamilyName>
720
                                    <fullText>
721
                                        Licensed to the Apache Software Foundation (ASF) under one or more
722
                                        contributor license agreements.  See the NOTICE file distributed with
723
                                        this work for additional information regarding copyright ownership.
724
                                        The ASF licenses this file to You under the Apache License, Version 2.0
725
                                        (the "License"); you may not use this file except in compliance with
726
                                        the License.  You may obtain a copy of the License at
727

728
                                        http://www.apache.org/licenses/LICENSE-2.0
729

730
                                        Unless required by applicable law or agreed to in writing, software
731
                                        distributed under the License is distributed on an "AS IS" BASIS,
732
                                        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
733
                                        See the License for the specific language governing permissions and
734
                                        limitations under the License.
735
                                    </fullText>
736
                                </license>
737
                            </licenses>
738
                            <licenseFamilies>
739
                                <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
740
                                    <familyName>Ignite Apache License 2.0</familyName>
741
                                </licenseFamily>
742
                            </licenseFamilies>
743
                        </configuration>
744
                        <executions>
745
                            <execution>
746
                                <id>check-licenses</id>
747
                                <phase>validate</phase>
748
                                <goals>
749
                                    <goal>check</goal>
750
                                </goals>
751
                                <configuration>
752
                                    <excludes>
753
                                        <exclude>work/**</exclude>
754
                                        <exclude>**/target/**</exclude>
755
                                        <exclude>**/*.log</exclude>
756
                                        <exclude>**/*.m4</exclude><!--Free Software Foundation notice-->
757
                                        <exclude>**/*.dylib</exclude><!--bin-files-->
758
                                        <exclude>**/*.gar</exclude><!--bin-files-->
759
                                        <exclude>**/licenses/*.txt</exclude><!--files of licenses-->
760
                                        <exclude>**/*readme*.txt</exclude><!--readme files-->
761
                                        <exclude>**/*.sql</exclude><!--sql files-->
762
                                        <exclude>**/*README*.txt</exclude><!--readme files-->
763
                                        <exclude>**/*README*.md</exclude><!--readme files-->
764
                                        <exclude>**/*CONTRIBUTING*.md</exclude><!--readme files-->
765
                                        <exclude>**/*DEVNOTES*.md</exclude><!--readme files-->
766
                                        <exclude>**/*index*.md</exclude><!--readme files-->
767
                                        <exclude>**/*.timestamp</exclude><!--tmp-files-->
768
                                        <exclude>**/*.iml</exclude><!--IDEA files-->
769
                                        <exclude>**/*.csv</exclude><!--CSV files-->
770
                                        <exclude>**/*.jks</exclude><!--bin-files-->
771
                                        <exclude>**/pom-installed.xml</exclude><!--tmp-files-->
772
                                        <exclude>**/keystore</exclude><!--bin-files-->
773
                                        <exclude>**/keystore/*.jks</exclude><!--bin-files-->
774
                                        <exclude>**/keystore/*.pem</exclude><!--auto generated files-->
775
                                        <exclude>**/keystore/*.pfx</exclude><!--bin-files-->
776
                                        <exclude>**/keystore/ca/*.jks</exclude><!--bin-files-->
777
                                        <exclude>**/keystore/ca/*.key</exclude><!--bin-files-->
778
                                        <exclude>**/keystore/ca/*.txt</exclude><!--auto generated files-->
779
                                        <exclude>**/keystore/ca/*.txt.attr</exclude><!--auto generated files-->
780
                                        <exclude>**/keystore/ca/*serial</exclude><!--auto generated files-->
781
                                        <exclude>**/META-INF/services/**</exclude> <!-- Interface mappings: cannot be changed -->
782
                                        <exclude>**/id_rsa**</exclude>  <!--SSH-->
783
                                        <!--special excludes-->
784
                                        <exclude>.travis.yml</exclude>
785
                                        <exclude>.github/PULL_REQUEST_TEMPLATE.md</exclude>
786
                                        <exclude>idea/ignite_codeStyle.xml</exclude>
787
                                        <exclude>**/DEVNOTES*.txt</exclude>
788
                                        <exclude>**/NOTICE*</exclude>
789
                                        <exclude>**/LICENSE*</exclude>
790
                                        <exclude>**/MIGRATION_GUIDE*</exclude>
791
                                        <exclude>src/main/java/org/apache/ignite/internal/util/nio/SelectedSelectionKeySet.java</exclude><!-- Apache 2.0 license -->
792
                                        <exclude>src/main/java/org/apache/ignite/internal/processors/query/calcite/sql/generated/*.java</exclude><!--auto generated files-->
793
                                        <exclude>src/main/java/org/jsr166/*.java</exclude>
794
                                        <exclude>src/main/java/org/mindrot/*.java</exclude>
795
                                        <exclude>src/test/java/org/apache/ignite/p2p/p2p.properties</exclude><!--test depends on file content-->
796
                                        <exclude>src/test/resources/org.apache.ignite.util/*.output</exclude><!--test depends on file content-->
797
                                        <exclude>src/test/resources/log/ignite.log.tst</exclude><!--test resource-->
798
                                        <exclude>src/test/java/org/apache/ignite/spi/deployment/uri/META-INF/ignite.incorrefs</exclude><!--test resource-->
799
                                        <exclude>src/test/java/org/apache/ignite/spi/deployment/uri/META-INF/ignite.empty</exclude><!--should be empty-->
800
                                        <exclude>src/test/java/org/apache/ignite/spi/deployment/uri/META-INF/ignite.brokenxml</exclude><!--test resource-->
801
                                        <exclude>**/books/*.txt</exclude><!--books examples-->
802
                                        <exclude>src/main/java/org/apache/ignite/examples/streaming/wordcount/*.txt</exclude><!--books examples-->
803
                                        <exclude>examples/src/main/java/org/apache/ignite/examples/streaming/wordcount/*.txt</exclude><!--books examples-->
804
                                        <exclude>src/main/java/org/jetbrains/annotations/*.java</exclude><!--copyright-->
805
                                        <exclude>dev-tools/IGNITE-*.patch</exclude>
806
                                        <exclude>dev-tools/.gradle/**/*</exclude>
807
                                        <exclude>dev-tools/gradle/wrapper/**/*</exclude>
808
                                        <exclude>dev-tools/gradlew</exclude>
809
                                        <exclude>src/test/binaries/repo/org/apache/ignite/binary/test2/1.1/test2-1.1.pom</exclude>
810
                                        <exclude>src/test/binaries/repo/org/apache/ignite/binary/test2/maven-metadata-local.xml</exclude>
811
                                        <exclude>src/test/binaries/repo/org/apache/ignite/binary/test1/1.1/test1-1.1.pom</exclude>
812
                                        <exclude>src/test/binaries/repo/org/apache/ignite/binary/test1/maven-metadata-local.xml</exclude>
813
                                        <exclude>src/test/resources/org/apache/ignite/internal/managers/discovery/Wrapper.ser</exclude>
814
                                    <!--platforms-->
815
                                        <exclude>src/test/binaries/repo/org/apache/ignite/binary/test1/1.1/test1-1.1.jar</exclude>
816
                                        <exclude>src/test/binaries/repo/org/apache/ignite/binary/test2/1.1/test2-1.1.jar</exclude>
817
                                        <exclude>**/*.cmake</exclude>
818
                                        <exclude>**/CMakeLists.txt</exclude>
819
                                        <exclude>**/CMakeSettings.json.in</exclude>
820
                                        <exclude>**/cmake-build-*/</exclude>
821
                                        <exclude>**/.idea/**</exclude>
822
                                        <exclude>**/*.pc.in</exclude>
823
                                        <exclude>**/*.sln</exclude>
824
                                        <exclude>**/*.snk</exclude>
825
                                        <exclude>**/*.slnrel</exclude>
826
                                        <exclude>**/*.ini</exclude>
827
                                        <exclude>**/*.DotSettings</exclude>
828
                                        <exclude>**/*.FxCop</exclude>
829
                                        <exclude>**/*.ruleset</exclude>
830
                                        <exclude>**/*.csproj</exclude>
831
                                        <exclude>**/*.ndproj</exclude>
832
                                        <exclude>**/*.csprojrel</exclude>
833
                                        <exclude>**/mkbuild.cmd</exclude>
834
                                        <exclude>**/module.def</exclude>
835
                                        <exclude>**/*.fxcop</exclude>
836
                                        <exclude>**/*.ruleset</exclude>
837
                                        <exclude>**/*.metaproj</exclude>
838
                                        <exclude>**/*.metaproj.tmp</exclude>
839
                                        <exclude>**/*.nunit</exclude>
840
                                        <exclude>**/teamcity_boost.cpp</exclude>
841
                                        <exclude>**/teamcity_messages.h</exclude>
842
                                        <exclude>**/teamcity_messages.cpp</exclude>
843
                                        <exclude>**/obj/x64/**</exclude>
844
                                        <exclude>**/obj/x86/**</exclude>
845
                                        <exclude>**/bin/x64/**</exclude>
846
                                        <exclude>**/bin/x86/**</exclude>
847
                                        <exclude>**/*.dxg</exclude>
848
                                        <exclude>**/*.cmd</exclude>
849
                                        <exclude>**/*.ps1</exclude>
850
                                        <exclude>**/*.json</exclude>
851
                                        <exclude>**/.dockerignore</exclude>
852
                                        <exclude>modules/platforms/dotnet/Apache.Ignite.Core.Tests/Examples/ExpectedOutput/*.txt</exclude>
853
                                        <!--Packaging -->
854
                                        <exclude>packaging/**</exclude>
855
                                        <!-- Calcite test scripts -->
856
                                        <exclude>src/test/sql/**</exclude>
857
                                        <!-- Ignite Documentation-->
858
                                        <exclude>docs/_site/**</exclude>
859
                                        <exclude>docs/assets/images/**</exclude>
860
                                        <exclude>docs/Gemfile.lock</exclude>
861
                                        <exclude>docs/.jekyll-cache/**</exclude>
862
                                        <exclude>docs/_docs/images/**</exclude>
863
                                        <exclude>docs/Gemfile</exclude>
864
                                        <exclude>docs/assets/js/anchor.min.js</exclude><!-- Distributed under the MIT license. The original license header is badly formatted. -->
865
                                    </excludes>
866
                                </configuration>
867
                            </execution>
868
                        </executions>
869
                    </plugin>
870
                </plugins>
871
            </build>
872
        </profile>
873

874
        <profile>
875
            <id>surefire-fork-count-1</id>
876
            <activation>
877
                <property>
878
                    <!-- To activate this profile set the following property. -->
879
                    <name>FORK_COUNT_SET_TO_1</name>
880
                </property>
881
            </activation>
882
            <build>
883
                <plugins>
884
                    <plugin>
885
                        <groupId>org.apache.maven.plugins</groupId>
886
                        <artifactId>maven-surefire-plugin</artifactId>
887
                        <configuration>
888
                            <forkCount>1</forkCount>
889
                        </configuration>
890
                    </plugin>
891
                </plugins>
892
            </build>
893
        </profile>
894

895
        <profile>
896
            <id>java-9+</id>
897
            <activation>
898
                <jdk>[1.9,15)</jdk>
899
            </activation>
900
            <properties>
901
                <maven.compiler.source>1.8</maven.compiler.source>
902
                <maven.compiler.target>11</maven.compiler.target>
903
            </properties>
904
            <dependencies/>
905
            <build>
906
                <plugins>
907
                    <plugin>
908
                        <groupId>org.apache.maven.plugins</groupId>
909
                        <artifactId>maven-compiler-plugin</artifactId>
910
                        <version>3.7.0</version>
911
                        <configuration>
912
                            <compilerArgs>
913
                                <arg>--add-exports</arg>
914
                                <arg>java.base/jdk.internal.misc=ALL-UNNAMED</arg>
915
                                <arg>--add-exports</arg>
916
                                <arg>java.base/sun.nio.ch=ALL-UNNAMED</arg>
917
                                <arg>--add-exports</arg>
918
                                <arg>java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED</arg>
919
                                <arg>--add-exports</arg>
920
                                <arg>jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED</arg>
921
                            </compilerArgs>
922
                        </configuration>
923
                    </plugin>
924

925
                    <plugin>
926
                        <groupId>org.apache.maven.plugins</groupId>
927
                        <artifactId>maven-surefire-plugin</artifactId>
928
                        <configuration>
929
                            <argLine>
930
                                --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
931
                                --add-exports=java.base/sun.nio.ch=ALL-UNNAMED
932
                                --add-exports=java.base/jdk.internal.loader=ALL-UNNAMED
933
                                --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
934
                                --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
935
                                --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
936
                                --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
937
                                --add-opens=java.base/jdk.internal.access=ALL-UNNAMED
938
                                --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
939
                                --illegal-access=permit
940
                            </argLine>
941
                        </configuration>
942
                    </plugin>
943

944
                    <plugin>
945
                        <groupId>org.apache.maven.plugins</groupId>
946
                        <artifactId>maven-javadoc-plugin</artifactId>
947
                        <configuration>
948
                            <!-- TODO https://issues.apache.org/jira/browse/IGNITE-13202 -->
949
                            <additionalOptions>${javadoc.opts} --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED</additionalOptions>
950
                            <detectJavaApiLink>false</detectJavaApiLink>
951
                        </configuration>
952
                    </plugin>
953
                </plugins>
954
            </build>
955

956
            <dependencyManagement>
957
                <dependencies>
958
                    <dependency>
959
                        <groupId>org.apache.hadoop</groupId>
960
                        <artifactId>hadoop-common</artifactId>
961
                        <exclusions>
962
                            <exclusion>
963
                                <!-- This dependency is not available with java 9.-->
964
                                <groupId>jdk.tools</groupId>
965
                                <artifactId>jdk.tools</artifactId>
966
                            </exclusion>
967
                        </exclusions>
968
                    </dependency>
969
                    <dependency>
970
                        <groupId>org.apache.hadoop</groupId>
971
                        <artifactId>hadoop-common</artifactId>
972
                        <type>test-jar</type>
973
                        <exclusions>
974
                            <exclusion>
975
                                <!-- This dependency is not available with java 9.-->
976
                                <groupId>jdk.tools</groupId>
977
                                <artifactId>jdk.tools</artifactId>
978
                            </exclusion>
979
                        </exclusions>
980
                    </dependency>
981
                </dependencies>
982
            </dependencyManagement>
983

984
        </profile>
985

986
        <profile>
987
            <id>java-15+</id>
988
            <activation>
989
                <jdk>[15,)</jdk>
990
            </activation>
991
            <properties>
992
                <maven.compiler.source>1.8</maven.compiler.source>
993
                <maven.compiler.target>15</maven.compiler.target>
994
                <scala.library.version>2.12.15</scala.library.version>
995
            </properties>
996
            <dependencies/>
997
            <build>
998
                <plugins>
999
                    <plugin>
1000
                        <groupId>org.apache.maven.plugins</groupId>
1001
                        <artifactId>maven-compiler-plugin</artifactId>
1002
                        <version>3.7.0</version>
1003
                        <configuration>
1004
                            <compilerArgs>
1005
                                <arg>--add-exports</arg>
1006
                                <arg>java.base/jdk.internal.misc=ALL-UNNAMED</arg>
1007
                                <arg>--add-exports</arg>
1008
                                <arg>java.base/jdk.internal.loader=ALL-UNNAMED</arg>
1009
                                <arg>--add-exports</arg>
1010
                                <arg>java.base/sun.nio.ch=ALL-UNNAMED</arg>
1011
                                <arg>--add-exports</arg>
1012
                                <arg>java.base/sun.net.util=ALL-UNNAMED</arg>
1013
                                <arg>--add-exports</arg>
1014
                                <arg>java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED</arg>
1015
                                <arg>--add-exports</arg>
1016
                                <arg>jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED</arg>
1017
                                <arg>--add-exports</arg>
1018
                                <arg>java.base/java.io=ALL-UNNAMED</arg>
1019
                                <arg>--add-exports</arg>
1020
                                <arg>java.base/java.nio=ALL-UNNAMED</arg>
1021
                                <arg>--add-exports</arg>
1022
                                <arg>java.base/java.util=ALL-UNNAMED</arg>
1023
                                <arg>--add-exports</arg>
1024
                                <arg>java.base/java.lang=ALL-UNNAMED</arg>
1025
                                <arg>--add-exports</arg>
1026
                                <arg>java.base/java.lang.invoke=ALL-UNNAMED</arg>
1027
                                <arg>--add-exports</arg>
1028
                                <arg>java.sql/java.sql=ALL-UNNAMED</arg>
1029
                            </compilerArgs>
1030
                        </configuration>
1031
                    </plugin>
1032

1033
                    <plugin>
1034
                        <groupId>org.apache.maven.plugins</groupId>
1035
                        <artifactId>maven-surefire-plugin</artifactId>
1036
                        <configuration>
1037
                            <argLine>
1038
                                --add-opens=java.base/jdk.internal.access=ALL-UNNAMED
1039
                                --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
1040
                                --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
1041
                                --add-opens=java.base/sun.net.util=ALL-UNNAMED
1042
                                --add-opens=java.base/sun.nio.ch=ALL-UNNAMED
1043
                                --add-opens=java.base/sun.nio.fs=ALL-UNNAMED
1044
                                --add-opens=java.base/sun.util.calendar=ALL-UNNAMED
1045
                                --add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
1046
                                --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
1047
                                --add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
1048
                                --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
1049
                                --add-opens=java.base/java.io=ALL-UNNAMED
1050
                                --add-opens=java.base/java.nio=ALL-UNNAMED
1051
                                --add-opens=java.base/java.net=ALL-UNNAMED
1052
                                --add-opens=java.base/java.util=ALL-UNNAMED
1053
                                --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
1054
                                --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED
1055
                                --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
1056
                                --add-opens=java.base/java.lang=ALL-UNNAMED
1057
                                --add-opens=java.base/java.lang.invoke=ALL-UNNAMED
1058
                                --add-opens=java.base/java.math=ALL-UNNAMED
1059
                                --add-opens=java.sql/java.sql=ALL-UNNAMED
1060
                                --add-opens=java.base/java.lang.reflect=ALL-UNNAMED
1061
                                --add-opens=java.base/java.time=ALL-UNNAMED
1062
                                --add-opens=java.base/java.text=ALL-UNNAMED
1063
                                --add-opens=java.base/java.security=ALL-UNNAMED
1064
                                --add-opens=java.management/sun.management=ALL-UNNAMED
1065
                                --add-opens java.desktop/java.awt.font=ALL-UNNAMED
1066
                            </argLine>
1067
                        </configuration>
1068
                    </plugin>
1069
                </plugins>
1070
            </build>
1071
        </profile>
1072

1073
        <profile>
1074
            <id>tools.jar-default</id>
1075
            <activation>
1076
                <file>
1077
                    <exists>${java.home}/../lib/tools.jar</exists>
1078
                </file>
1079
            </activation>
1080
            <dependencies>
1081
                <dependency>
1082
                    <groupId>com.sun</groupId>
1083
                    <artifactId>tools</artifactId>
1084
                    <scope>system</scope>
1085
                    <version>${java.version}</version>
1086
                    <systemPath>${java.home}/../lib/tools.jar</systemPath>
1087
                </dependency>
1088
            </dependencies>
1089
        </profile>
1090

1091
        <profile>
1092
            <id>tools.jar-mac</id>
1093
            <activation>
1094
                <file>
1095
                    <exists>${java.home}/../Classes/classes.jar</exists>
1096
                </file>
1097
            </activation>
1098
            <dependencies>
1099
                <dependency>
1100
                    <groupId>com.sun</groupId>
1101
                    <artifactId>tools</artifactId>
1102
                    <scope>system</scope>
1103
                    <version>${java.version}</version>
1104
                    <systemPath>${java.home}/../Classes/classes.jar</systemPath>
1105
                </dependency>
1106
            </dependencies>
1107
        </profile>
1108

1109
        <profile>
1110
            <id>licenses</id>
1111

1112
            <dependencies>
1113
                <dependency>
1114
                    <groupId>org.apache.ignite</groupId>
1115
                    <artifactId>ignite-apache-license-gen</artifactId>
1116
                    <version>1.4.0</version>
1117
                </dependency>
1118
            </dependencies>
1119

1120
            <build>
1121
                <plugins>
1122
                    <plugin><!-- generates dependencies licenses -->
1123
                        <groupId>org.apache.maven.plugins</groupId>
1124
                        <artifactId>maven-remote-resources-plugin</artifactId>
1125
                        <executions>
1126
                            <execution>
1127
                                <id>ignite-dependencies</id>
1128
                                <goals>
1129
                                    <goal>process</goal>
1130
                                </goals>
1131
                                <configuration>
1132
                                    <resourceBundles>
1133
                                        <resourceBundle>org.apache.ignite:ignite-apache-license-gen:1.4.0</resourceBundle>
1134
                                    </resourceBundles>
1135
                                    <excludeTransitive>true</excludeTransitive>
1136
                                </configuration>
1137
                            </execution>
1138
                        </executions>
1139
                    </plugin>
1140

1141
                    <plugin>
1142
                        <groupId>org.apache.maven.plugins</groupId>
1143
                        <artifactId>maven-antrun-plugin</artifactId>
1144
                        <executions>
1145
                            <execution>
1146
                                <id>licenses-file-rename</id>
1147
                                <goals>
1148
                                    <goal>run</goal>
1149
                                </goals>
1150
                                <phase>compile</phase>
1151
                                <configuration>
1152
                                    <target>
1153
                                        <!-- moving licenses generated by "ignite-dependencies" -->
1154
                                        <move file="${basedir}/target/classes/META-INF/licenses.txt" tofile="${basedir}/target/licenses/${project.artifactId}-licenses.txt"/>
1155
                                    </target>
1156
                                    <failOnError>false</failOnError>
1157
                                </configuration>
1158
                            </execution>
1159
                        </executions>
1160
                    </plugin>
1161
                </plugins>
1162
            </build>
1163
        </profile>
1164
        <profile>
1165
            <id>skip-docs</id>
1166
            <properties>
1167
                <maven.javadoc.skip>true</maven.javadoc.skip>
1168
            </properties>
1169
        </profile>
1170
    </profiles>
1171
</project>
1172

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.