forked from Mandar-Shinde/commons-math
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
612 lines (592 loc) · 20.9 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
<?xml version="1.0"?>
<!--
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">
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>32</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.3-SNAPSHOT</version>
<name>Commons Math</name>
<inceptionYear>2003</inceptionYear>
<description>The Math project is a library of lightweight, self-contained mathematics and statistics components addressing the most common practical problems not immediately available in the Java programming language or commons-lang.</description>
<url>http://commons.apache.org/proper/commons-math/</url>
<issueManagement>
<system>jira</system>
<url>http://issues.apache.org/jira/browse/MATH</url>
</issueManagement>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/math/trunk</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/math/trunk</developerConnection>
<url>http://svn.apache.org/viewvc/commons/proper/math/trunk</url>
</scm>
<distributionManagement>
<site>
<id>people.apache.org</id>
<name>Commons Math</name>
<url>scp://people.apache.org/www/commons.apache.org/math</url>
</site>
</distributionManagement>
<developers>
<developer>
<name>Mikkel Meyer Andersen</name>
<id>mikl</id>
<email>mikl at apache dot org</email>
</developer>
<developer>
<name>Bill Barker</name>
<id>billbarker</id>
<email>billbarker at apache dot org</email>
</developer>
<developer>
<name>Sébastien Brisard</name>
<id>celestin</id>
<email>celestin at apache dot org</email>
</developer>
<developer>
<name>Albert Davidson Chou</name>
<id>achou</id>
<email>achou at apache dot org</email>
</developer>
<developer>
<name>Mark Diggory</name>
<id>mdiggory</id>
<email>mdiggory at apache dot org</email>
</developer>
<developer>
<name>Robert Burrell Donkin</name>
<id>rdonkin</id>
<email>rdonkin at apache dot org</email>
</developer>
<developer>
<name>Luc Maisonobe</name>
<id>luc</id>
<email>luc at apache dot org</email>
</developer>
<developer>
<name>Tim O'Brien</name>
<id>tobrien</id>
<email>tobrien at apache dot org</email>
</developer>
<developer>
<name>J. Pietschmann</name>
<id>pietsch</id>
<email>j3322ptm at yahoo dot de</email>
</developer>
<developer>
<name>Dimitri Pourbaix</name>
<id>dimpbx</id>
<email>dimpbx at apache dot org</email>
</developer>
<developer>
<name>Gilles Sadowski</name>
<id>erans</id>
<email>erans at apache dot org</email>
</developer>
<developer>
<name>Phil Steitz</name>
<id>psteitz</id>
<email>psteitz at apache dot org</email>
</developer>
<developer>
<name>Greg Sterijevski</name>
<id>gregs</id>
<email>gregs at apache dot org</email>
</developer>
<developer>
<name>Brent Worden</name>
<id>brentworden</id>
<email>brentworden at apache dot org</email>
</developer>
<developer>
<name>Thomas Neidhart</name>
<id>tn</id>
<email>tn at apache dot org</email>
</developer>
</developers>
<contributors>
<contributor>
<name>Eldar Agalarov</name>
</contributor>
<contributor>
<name>Tim Allison</name>
</contributor>
<contributor>
<name>C. Scott Ananian</name>
</contributor>
<contributor>
<name>Mark Anderson</name>
</contributor>
<contributor>
<name>Peter Andrews</name>
</contributor>
<contributor>
<name>Rémi Arntzen</name>
</contributor>
<contributor>
<name>Jared Becksfort</name>
</contributor>
<contributor>
<name>Michael Bjorkegren</name>
</contributor>
<contributor>
<name>Brian Bloniarz</name>
</contributor>
<contributor>
<name>John Bollinger</name>
</contributor>
<contributor>
<name>Cyril Briquet</name>
</contributor>
<contributor>
<name>Dave Brosius</name>
</contributor>
<contributor>
<name>Dan Checkoway</name>
</contributor>
<contributor>
<name>Charles Cooper</name>
</contributor>
<contributor>
<name>Paul Cowan</name>
</contributor>
<contributor>
<name>Benjamin Croizet</name>
</contributor>
<contributor>
<name>Larry Diamond</name>
</contributor>
<contributor>
<name>Rodrigo di Lorenzo Lopes</name>
</contributor>
<contributor>
<name>Hasan Diwan</name>
</contributor>
<contributor>
<name>Ted Dunning</name>
</contributor>
<contributor>
<name>Ajo Fod</name>
</contributor>
<contributor>
<name>John Gant</name>
</contributor>
<contributor>
<name>Ken Geis</name>
</contributor>
<contributor>
<name>Bernhard Grünewaldt</name>
</contributor>
<contributor>
<name>Elliotte Rusty Harold</name>
</contributor>
<contributor>
<name>Dennis Hendriks</name>
</contributor>
<contributor>
<name>Reid Hochstedler</name>
</contributor>
<contributor>
<name>Matthias Hummel</name>
</contributor>
<contributor>
<name>Curtis Jensen</name>
</contributor>
<contributor>
<name>Ismael Juma</name>
</contributor>
<contributor>
<name>Eugene Kirpichov</name>
</contributor>
<contributor>
<name>Oleksandr Kornieiev</name>
</contributor>
<contributor>
<name>Piotr Kochanski</name>
</contributor>
<contributor>
<name>Bob MacCallum</name>
</contributor>
<contributor>
<name>Jake Mannix</name>
</contributor>
<contributor>
<name>Benjamin McCann</name>
</contributor>
<contributor>
<name>Patrick Meyer</name>
</contributor>
<contributor>
<name>J. Lewis Muir</name>
</contributor>
<contributor>
<name>Christopher Nix</name>
</contributor>
<contributor>
<name>Fredrik Norin</name>
</contributor>
<contributor>
<name>Sujit Pal</name>
</contributor>
<contributor>
<name>Todd C. Parnell</name>
</contributor>
<contributor>
<name>Andreas Rieger</name>
</contributor>
<contributor>
<name>Sébastien Riou</name>
</contributor>
<contributor>
<name>Bill Rossi</name>
</contributor>
<contributor>
<name>Matthew Rowles</name>
</contributor>
<contributor>
<name>Pavel Ryzhov</name>
</contributor>
<contributor>
<name>Joni Salonen</name>
</contributor>
<contributor>
<name>Michael Saunders</name>
</contributor>
<contributor>
<name>Thorsten Schaefer</name>
</contributor>
<contributor>
<name>Christopher Schuck</name>
</contributor>
<contributor>
<name>Christian Semrau</name>
</contributor>
<contributor>
<name>David Stefka</name>
</contributor>
<contributor>
<name>Mauro Talevi</name>
</contributor>
<contributor>
<name>Radoslav Tsvetkov</name>
</contributor>
<contributor>
<name>Kim van der Linde</name>
</contributor>
<contributor>
<name>Evan Ward</name>
</contributor>
<contributor>
<name>Andrew Waterman</name>
</contributor>
<contributor>
<name>Jörg Weimar</name>
</contributor>
<contributor>
<name>Christian Winter</name>
</contributor>
<contributor>
<name>Piotr Wydrych</name>
</contributor>
<contributor>
<name>Xiaogang Zhang</name>
</contributor>
</contributors>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<!-- Do not change: "math" 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>math</commons.componentid>
<!-- This value must reflect the current name of the base package. -->
<commons.osgi.symbolicName>org.apache.commons.math3</commons.osgi.symbolicName>
<!-- do not use snapshot suffix here -->
<commons.release.version>3.3</commons.release.version>
<commons.release.desc>(requires Java 1.5+)</commons.release.desc>
<!-- <commons.rc.version>RC1</commons.rc.version> -->
<commons.binary.suffix>-bin</commons.binary.suffix>
<commons.release.2.version>2.2</commons.release.2.version>
<!-- override parent name, because 2.2 uses different artifactId -->
<commons.release.2.name>commons-math-${commons.release.2.version}</commons.release.2.name>
<commons.release.2.desc>(requires Java 1.5+)</commons.release.2.desc>
<commons.release.2.binary.suffix></commons.release.2.binary.suffix>
<commons.jira.id>MATH</commons.jira.id>
<commons.jira.pid>12310485</commons.jira.pid>
<commons.encoding>UTF-8</commons.encoding>
<maven.compiler.source>1.5</maven.compiler.source>
<maven.compiler.target>1.5</maven.compiler.target>
<math.pmd.version>2.7.1</math.pmd.version>
<math.findbugs.version>2.5.1</math.findbugs.version>
<math.checkstyle.version>2.9.1</math.checkstyle.version>
<!-- Temporary downdate: 0.6.3 uses different tags and CP32 was not updated -->
<commons.jacoco.version>0.6.2.201302030002</commons.jacoco.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Test.java</include>
<include>**/*TestBinary.java</include>
<include>**/*TestPermutations.java</include>
</includes>
<excludes>
<exclude>**/*AbstractTest.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/src.xml</descriptor>
<descriptor>src/main/assembly/bin.xml</descriptor>
</descriptors>
<!-- There are a lot of long file names. Suppress the warnings. -->
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${commons.clirr.version}</version>
<executions>
<execution>
<goals>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>${math.pmd.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
<ignorePathsToDelete>
<ignorePathToDelete>javadocs</ignorePathToDelete>
</ignorePathsToDelete>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<configuration>
<target>
<jar destfile="target/commons-math3-tools-${project.version}.jar">
<metainf dir="${basedir}" includes="NOTICE.txt,LICENSE.txt" />
<manifest>
<attribute name="Extension-Name" value="org.apache.commons.net" />
<attribute name="Specification-Title" value="${project.name}" />
<attribute name="Implementation-Title" value="${project.name}" />
<attribute name="Implementation-Vendor" value="${project.organization.name}" />
<attribute name="Implementation-Version" value="${project.version}" />
<attribute name="Implementation-Vendor-Id" value="org.apache" />
<attribute name="Implementation-Build" value="${implementation.build}"/>
<attribute name="X-Compile-Source-JDK" value="${maven.compiler.source}" />
<attribute name="X-Compile-Target-JDK" value="${maven.compiler.target}" />
</manifest>
<fileset dir="target/test-classes"
includes="org/apache/commons/math3/PerfTestUtils*" />
</jar>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Attaches the commons-math3-tools JAR to the Maven lifecycle
to ensure they will be signed and deployed as normal -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>target/commons-math3-tools-${project.version}.jar</file>
<type>jar</type>
<classifier>tools</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<!-- MathJax -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>${commons.changes.version}</version>
<configuration>
<issueLinkTemplatePerSystem>
<default>%URL%/%ISSUE%</default>
</issueLinkTemplatePerSystem>
<!-- Add sample JIRA report - 'mvn changes:jira-report' or 'mvn site' -->
<onlyCurrentVersion>false</onlyCurrentVersion>
<columnNames>Fix Version,Key,Summary,Type,Resolution,Status</columnNames>
<!-- Sort cols have to be reversed in JIRA 4 -->
<sortColumnNames>Key DESC,Type,Fix Version DESC</sortColumnNames>
<resolutionIds>Fixed</resolutionIds>
<statusIds>Resolved,Closed</statusIds>
<!-- Don't include sub-task -->
<typeIds>Bug,New Feature,Task,Improvement,Wish,Test</typeIds>
<fixVersionIds>${commons.release.version}</fixVersionIds>
<!-- The default is 100 -->
<maxEntries>100</maxEntries>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
<report>jira-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>${commons.rat.version}</version>
<configuration>
<excludes>
<!-- MANIFEST files cannot have any comments, so we can't put license header -->
<exclude>src/test/maxima/special/RealFunctionValidation/MANIFEST.txt</exclude>
<!-- the following are test data files with specific syntax that cannot include
Apache header (and the contained data is public, it is not owned by Apache) -->
<exclude>src/test/resources/org/apache/commons/math3/random/testData.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/random/emptyFile.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/stat/data/PiDigits.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc3.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Lew.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc2.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc1.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Lottery.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc4.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Michelso.txt</exclude>
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Mavro.txt</exclude>
<!-- version 0.8 of apache-rat-plugin does not exclude properly
some default development tools files (see RAT-126) -->
<exclude>bin/**</exclude>
<exclude>.gitignore</exclude>
<exclude>.git/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${math.findbugs.version}</version>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>
<excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${math.checkstyle.version}</version>
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<headerLocation>${basedir}/license-header.txt</headerLocation>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>checkstyle</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${commons.clirr.version}</version>
<configuration>
<minSeverity>${minSeverity}</minSeverity>
</configuration>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>${math.pmd.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>pmd</report>
<!-- As of 3.x series, the cpd report sees (correctly) numerous duplications -->
<!-- This is due to packages being renamed, and the old name still needs to be -->
<!-- available for compatibility. They will be removed in 4.0 -->
<!-- So we temporarily disable the CPD report -->
<!-- <report>cpd</report> -->
</reports>
</reportSet>
</reportSets>
</plugin>
<!-- MathJax -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
</configuration>
</plugin>
</plugins>
</reporting>
</project>