-
Notifications
You must be signed in to change notification settings - Fork 40
/
pom.xml
745 lines (713 loc) · 28.4 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>71</version>
</parent>
<artifactId>commons-rng-parent</artifactId>
<version>1.7-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Commons RNG</name>
<description>The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.</description>
<url>https://commons.apache.org/proper/commons-rng/</url>
<inceptionYear>2016</inceptionYear>
<properties>
<!-- Do not change: "rng" is the name of the component even if the
name of the base package evolves with major release numbers
(see "commons.osgi.symbolicName", below). -->
<commons.componentid>rng</commons.componentid>
<!-- OSGi -->
<commons.osgi.symbolicName>org.apache.commons.rng.parent</commons.osgi.symbolicName>
<commons.osgi.export>org.apache.commons.rng.parent</commons.osgi.export>
<!-- Java 9+ -->
<commons.module.name>org.apache.commons.rng.parent</commons.module.name>
<!-- This flag should only be true in the dist-archive module. -->
<commons.release.isDistModule>false</commons.release.isDistModule>
<!-- Reproducible builds: maven-artifact-plugin:check-buildplan -->
<rng.build.outputTimestamp>2024-07-15T00:00:00Z</rng.build.outputTimestamp>
<project.build.outputTimestamp>${rng.build.outputTimestamp}</project.build.outputTimestamp>
<!-- do not use snapshot suffix here -->
<commons.release.version>1.7</commons.release.version>
<commons.bc.version>1.6</commons.bc.version>
<commons.rc.version>RC1</commons.rc.version>
<commons.release.desc>(requires Java 8+)</commons.release.desc>
<commons.binary.suffix>-bin</commons.binary.suffix>
<commons.jira.id>RNG</commons.jira.id>
<commons.jira.pid>12320623</commons.jira.pid>
<commons.encoding>UTF-8</commons.encoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<rng.revapi.version>0.15.0</rng.revapi.version>
<rng.revapi.java.version>0.28.1</rng.revapi.java.version>
<!-- MathJax configuration. See the maven-javadoc-plugin plugin. -->
<rng.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</rng.mathjax.url>
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}</rng.parent.dir>
<!-- Fix to avoid JXR 3.0.0 forking the lifecycle phase 'compile' during site report
jxr:aggregate. If compile is forked it fails when building the Java 9 modules that
depend on other packages. -->
<commons.jxr.version>2.5</commons.jxr.version>
<!-- Change from commons-parent -->
<commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
<commons.site.path>rng</commons.site.path>
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-rng</commons.scmPubUrl>
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
<!--
Override so that "mvn commons:download-page" will generates a web page
referring to the files created by the "dist-archive" module.
Temporary workaround?
-->
<commons.release.name>commons-rng-${project.version}</commons.release.name>
<!-- MathJax script inclusion requires additional Javadoc qualifier for Java8 as of 8u121 -->
<allowscript.javadoc.qualifier>--allow-script-in-comments</allowscript.javadoc.qualifier>
<!-- Check for all javadoc errors -->
<doclint.javadoc.qualifier>-Xdoclint:all</doclint.javadoc.qualifier>
<!-- Workaround to avoid the SVN site checkout in all modules.
This flag should be deactivated by child modules. -->
<perform.site.checkout>true</perform.site.checkout>
<!-- Set by modules to create a custom jira report -->
<rng.jira.component />
</properties>
<modules>
<module>commons-rng-client-api</module>
<module>commons-rng-core</module>
<module>commons-rng-simple</module>
<module>commons-rng-sampling</module>
<module>commons-rng-bom</module>
<!-- Include an aggregate module to build aggregate javadoc and test coverage reports -->
<module>commons-rng-docs</module>
<!--
The examples are built only upon explicit request (requires Java 11).
See profiles: "examples"; "release"
-->
</modules>
<scm>
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-rng.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-rng.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-rng.git</url>
</scm>
<issueManagement>
<system>jira</system>
<url>https://issues.apache.org/jira/browse/RNG</url>
</issueManagement>
<ciManagement>
<system>GitHub</system>
<url>https://github.com/apache/commons-rng/actions</url>
</ciManagement>
<distributionManagement>
<site>
<id>apache.website</id>
<name>Apache Commons Site</name>
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-rng/</url>
</site>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>clean verify javadoc:javadoc</defaultGoal>
<plugins>
<!-- Ensure maven is compatible with the plugins -->
<plugin>
<inherited>true</inherited>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<requireMavenVersion>
<version>3.3.9</version>
</requireMavenVersion>
</rules>
<fail>true</fail>
</configuration>
<executions>
<execution>
<id>enforce-maven-3</id>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive combine.children="append">
<manifestEntries>
<!-- Java 9 -->
<Automatic-Module-Name>${commons.module.name}</Automatic-Module-Name>
<!-- Add entries from CP that are not inherited (for reasons unknown). -->
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-Xlint:all,-options,-path</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Fix for OpenJDK 8 now validating class-path attributes in Jar manifests. -->
<!-- See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912333#63 -->
<useSystemClassLoader>false</useSystemClassLoader>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/*AbstractTest.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
<ignorePathsToDelete>
<ignorePathToDelete>javadocs</ignorePathToDelete>
</ignorePathsToDelete>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<configLocation>${rng.parent.dir}/src/conf/checkstyle/checkstyle.xml</configLocation>
<headerLocation>${rng.parent.dir}/src/conf/checkstyle/license-header.txt</headerLocation>
<suppressionsLocation>${rng.parent.dir}/src/conf/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
<enableRulesSummary>false</enableRulesSummary>
<!-- Output the detected violations to the console (for checkstyle:check). -->
<logViolationsToConsole>true</logViolationsToConsole>
<failOnViolation>true</failOnViolation>
<resourceExcludes>NOTICE,LICENSE,**/pom.properties,**/resolver-status.properties,**/sha512.properties</resourceExcludes>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>
<excludeFilterFile>${rng.parent.dir}/src/conf/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
<skipEmptyReport>false</skipEmptyReport>
<analysisCache>true</analysisCache>
<rulesets>
<ruleset>${rng.parent.dir}/src/conf/pmd/pmd-ruleset.xml</ruleset>
</rulesets>
<excludeRoots>
<excludeRoot>target/generated-sources</excludeRoot>
</excludeRoots>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<version>${rng.revapi.version}</version>
<dependencies>
<dependency>
<groupId>org.revapi</groupId>
<artifactId>revapi-java</artifactId>
<version>${rng.revapi.java.version}</version>
</dependency>
</dependencies>
<configuration>
<analysisConfiguration>
<revapi.differences id="intentional-api-changes">
<ignore>true</ignore>
</revapi.differences>
</analysisConfiguration>
<analysisConfigurationFiles>
<configurationFile>
<path>${rng.parent.dir}/src/conf/revapi/api-changes.json</path>
<roots>
<!-- Path to configuration in the JSON config file -->
<root>1.5</root>
</roots>
</configurationFile>
</analysisConfigurationFiles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<!-- Note: commons-parent binds the check goal to the validate phase -->
<configuration>
<!--
Needed for command-line access, e.g mvn apache-rat:rat and mvn apache-rat:check
Below should agree with config in <reporting> section, so the site
gets consistent output.
-->
<excludes combine.children="append">
<!-- version 0.8 of apache-rat-plugin does not exclude properly
some default development tools files (see RAT-126) -->
<exclude>.ekstazi/**</exclude>
<exclude>**/site-content/**</exclude>
<exclude>**/site-content.README</exclude>
<exclude>**/.classpath</exclude>
<exclude>**/.project</exclude>
<exclude>**/.settings/**</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/target/**</exclude>
<exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
<exclude>src/site/resources/txt/userguide/stress/**</exclude>
<exclude>dist-archive/**</exclude>
<exclude>**/*.patch</exclude>
<exclude>**/pdf.*.txt</exclude>
<exclude>src/conf/revapi/api-changes.json</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<!-- NOTE: javadoc config must also be set under <reporting> -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Java API links configured in commons-parent create redirect warnings on JDK 17
and fail the build. The links are not required as detectJavaApiLink=true (default). -->
<links combine.self="override">
</links>
<failOnWarnings>true</failOnWarnings>
<!-- Enable MathJax -->
<additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '<script type="text/javascript" async src="${rng.mathjax.url}"></script>'</additionalOptions>
<!-- Fix for JDK 11 javadoc search:
https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url -->
<bottom>
<![CDATA[
<script>
if (typeof useModuleDirectories !== 'undefined') {
useModuleDirectories = false;
}
</script>
]]>
</bottom>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<skipAssembly>true</skipAssembly>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<!-- Should agree with apache-rat-plugin config under <build> -->
<excludes combine.children="append">
<!-- version 0.8 of apache-rat-plugin does not exclude properly
some default development tools files (see RAT-126) -->
<exclude>.ekstazi/**</exclude>
<exclude>**/site-content/**</exclude>
<exclude>**/site-content.README</exclude>
<exclude>**/.classpath</exclude>
<exclude>**/.project</exclude>
<exclude>**/.settings/**</exclude>
<exclude>**/.checkstyle</exclude>
<exclude>**/target/**</exclude>
<exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
<exclude>src/site/resources/txt/userguide/stress/**</exclude>
<exclude>dist-archive/**</exclude>
<exclude>**/*.patch</exclude>
<exclude>**/pdf.*.txt</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>${commons.changes.version}</version>
<configuration>
<resolutionIds>Fixed,Implemented</resolutionIds>
<statusIds>Resolved,Closed</statusIds>
<!-- Don't include sub-task -->
<typeIds>Bug,New Feature,Task,Improvement,Wish,Test</typeIds>
<component>${rng.jira.component}</component>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>${rng.parent.dir}/src/conf/checkstyle/checkstyle.xml</configLocation>
<headerLocation>${rng.parent.dir}/src/conf/checkstyle/license-header.txt</headerLocation>
<suppressionsLocation>${rng.parent.dir}/src/conf/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
<enableRulesSummary>false</enableRulesSummary>
<includeResources>false</includeResources>
<resourceExcludes>NOTICE,LICENSE,**/pom.properties,**/resolver-status.properties,**/sha512.properties</resourceExcludes>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>checkstyle</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>
<excludeFilterFile>${rng.parent.dir}/src/conf/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
<skipEmptyReport>false</skipEmptyReport>
<analysisCache>true</analysisCache>
<rulesets>
<ruleset>${rng.parent.dir}/src/conf/pmd/pmd-ruleset.xml</ruleset>
</rulesets>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>pmd</report>
<report>cpd</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<!-- NOTE: javadoc config must also be set under <build> -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Java API links configured in commons-parent create redirect warnings on JDK 17
and fail the build. The links are not required as detectJavaApiLink=true (default). -->
<links combine.self="override">
</links>
<failOnWarnings>true</failOnWarnings>
<!-- Enable MathJax -->
<additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '<script type="text/javascript" async src="${rng.mathjax.url}"></script>'</additionalOptions>
<!-- Fix for JDK 11 javadoc search:
https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url -->
<bottom>
<![CDATA[
<script>
if (typeof useModuleDirectories !== 'undefined') {
useModuleDirectories = false;
}
</script>
]]>
</bottom>
</configuration>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<!-- Override a parent property if the SVN site checkout should not be performed.
This should activate for child modules. -->
<id>is-child-module</id>
<activation>
<file>
<missing>${basedir}/RELEASE-NOTES.txt</missing>
</file>
</activation>
<properties>
<perform.site.checkout>false</perform.site.checkout>
</properties>
</profile>
<profile>
<!-- Runs if the SVN site checkout does not exist.
This is either obtained using svn (for the parent) or an empty directory is created.
The site-content directory is used when updating the live site. -->
<id>site-checkout</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<!-- For multi-module builds, only the parent directory requires a site checkout.
This task will create an empty directory as the site checkout is missing. -->
<execution>
<id>empty-checkout</id>
<phase>pre-site</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="empty-checkout" unless="${perform.site.checkout}">
<mkdir dir="${commons.scmPubCheckoutDirectory}" />
<echo file="${commons.scmPubCheckoutDirectory}${file.separator}README" message="The '${commons.scmPubCheckoutDirectory}' directory is empty in child modules." />
</target>
</configuration>
</execution>
<!-- Checkout the top-level directory of the site using SVN. -->
<execution>
<id>prepare-checkout</id>
<phase>pre-site</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="prepare-checkout" if="${perform.site.checkout}">
<!-- Top level directory -->
<exec executable="svn" failifexecutionfails="false">
<arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
</exec>
<!-- Create the directory in the event that no svn exectuable is on the path -->
<mkdir dir="${commons.scmPubCheckoutDirectory}" />
<echo file="${commons.scmPubCheckoutDirectory}.README">The '${commons.scmPubCheckoutDirectory}' directory is controlled by "subversion".
Running "svn up" will download *all* the files of the live web site at
https://commons.apache.org/rng
This is avoided by creating an empty directory when svn is not available.
</echo>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Allow the SVN site checkout to be removed in the clean phase. -->
<id>clean-site-checkout</id>
<activation>
<file>
<exists>${commons.scmPubCheckoutDirectory}</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>remove-checkout</id>
<phase>clean</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="remove-checkout">
<delete dir="${commons.scmPubCheckoutDirectory}" quiet="true" />
<delete file="${commons.scmPubCheckoutDirectory}.README" quiet="true" />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Ekstazi (www.ekstazi.org) profile to optimize regression testing -->
<profile>
<id>ekstazi</id>
<activation>
<property>
<name>ekstazi</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.ekstazi</groupId>
<artifactId>ekstazi-maven-plugin</artifactId>
<version>4.4.0</version>
<configuration>
<forcefailing>true</forcefailing>
</configuration>
<executions>
<execution>
<id>ekstazi</id>
<goals>
<goal>select</goal>
<goal>restore</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludesFile>${java.io.tmpdir}/${user.name}EkstaziExcludes</excludesFile>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- RevAPI only activated in modules requiring binary compatibility -->
<id>revapi</id>
<activation>
<file>
<exists>src/site/resources/profile.revapi</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<version>${rng.revapi.version}</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<version>${rng.revapi.version}</version>
<configuration>
<!-- For reporting do not ignore the "intentional-api-changes" so they are included -->
<analysisConfigurationFiles>
<configurationFile>
<path>${rng.parent.dir}/src/conf/revapi/api-changes.json</path>
<roots>
<!-- Path(s) to configuration in the JSON config file -->
<root>1.5</root>
</roots>
</configurationFile>
</analysisConfigurationFiles>
<!-- Note: Property 'reportSeverity' is deprecated but newer 'reportCriticality'
does work as documented. -->
<reportSeverity>equivalent</reportSeverity>
<reportCriticality>allowed</reportCriticality>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</profile>
<!--
Profiles for modules with special requirements.
These are combined with the existing <modules>.
-->
<profile>
<id>examples</id>
<modules>
<module>commons-rng-examples</module>
</modules>
</profile>
<profile>
<id>integration</id>
<modules>
<module>commons-rng-integration</module>
</modules>
</profile>
<profile>
<id>release</id>
<modules>
<!-- Examples are not part of the binary release so do not include in the build.
Use the examples profile to create the site. -->
<module>dist-archive</module>
</modules>
</profile>
</profiles>
<developers>
<developer>
<name>Gilles Sadowski</name>
<id>erans</id>
<email>erans at apache dot org</email>
</developer>
<developer>
<name>Rob Tompkins</name>
<id>chtompki</id>
<email>chtompki at apache dot org</email>
</developer>
<developer>
<name>Alex Herbert</name>
<id>aherbert</id>
<email>aherbert at apache dot org</email>
</developer>
</developers>
<contributors>
<contributor>
<name>Artem Barger</name>
</contributor>
<contributor>
<name>Abhishek Singh Dhadwal</name>
</contributor>
<contributor>
<name>Arturo Bernal</name>
</contributor>
</contributors>
</project>