pom.xml 37.1 KB
Newer Older
Luc Maisonobe's avatar
Luc Maisonobe committed
1
2
<project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
4
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
5
  <groupId>org.orekit</groupId>
6
  <artifactId>orekit</artifactId>
7
  <packaging>jar</packaging>
8
  <version>11.1-SNAPSHOT</version>
9
  <name>ORbit Extrapolation KIT</name>
10
  <url>http://www.orekit.org/</url>
Luc Maisonobe's avatar
Luc Maisonobe committed
11
12
13
14
15
16
17
18
19

  <inceptionYear>2002</inceptionYear>
  <description>
    OREKIT (ORbits Extrapolation KIT) is a low level space dynamics library.
    It provides basic elements (orbits, dates, attitude, frames ...) and
    various algorithms to handle them (conversions, analytical and numerical
    propagation, pointing ...).
  </description>

20
21
22
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
23
    <orekit.spotbugs-maven-plugin.version>4.1.4</orekit.spotbugs-maven-plugin.version>
24
25
    <orekit.jacoco-maven-plugin.version>0.8.7</orekit.jacoco-maven-plugin.version>
    <orekit.maven-bundle-plugin.version>5.1.2</orekit.maven-bundle-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
26
    <orekit.maven-changes-plugin.version>2.12.1</orekit.maven-changes-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
27
    <orekit.maven-checkstyle-plugin.version>3.1.2</orekit.maven-checkstyle-plugin.version>
28
    <orekit.checkstyle.version>9.0</orekit.checkstyle.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
29
    <orekit.maven-clean-plugin.version>3.1.0</orekit.maven-clean-plugin.version>
30
    <orekit.maven-compiler-plugin.version>3.8.1</orekit.maven-compiler-plugin.version>
31
    <orekit.maven-javadoc-plugin.version>3.3.0</orekit.maven-javadoc-plugin.version>
32
    <orekit.maven-jar-plugin.version>3.2.0</orekit.maven-jar-plugin.version>
33
    <orekit.maven-jxr-plugin.version>3.1.1</orekit.maven-jxr-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
34
    <orekit.plantuml-maven-plugin.version>1.2</orekit.plantuml-maven-plugin.version>
35
36
    <orekit.plantuml.version>1.2021.10</orekit.plantuml.version>
    <orekit.maven-project-info-reports-plugin.version>3.1.2</orekit.maven-project-info-reports-plugin.version>
37
    <orekit.maven-resources-plugin.version>3.2.0</orekit.maven-resources-plugin.version>
38
39
    <orekit.maven-site-plugin.version>3.9.1</orekit.maven-site-plugin.version>
    <orekit.maven-wagon-ssh-plugin.version>3.4.1</orekit.maven-wagon-ssh-plugin.version>
40
    <orekit.maven-source-plugin.version>3.2.1</orekit.maven-source-plugin.version>
Evan Ward's avatar
Evan Ward committed
41
42
43
    <!-- Surefire 2.22.2 is the last to support CentOS/RedHat 7 due to
         https://issues.apache.org/jira/browse/SUREFIRE-1628 -->
    <orekit.maven-surefire-plugin.version>2.22.2</orekit.maven-surefire-plugin.version>
44
    <orekit.maven-surefire-report-plugin.version>3.0.0-M5</orekit.maven-surefire-report-plugin.version>
45
    <orekit.mockito-core.version>3.12.4</orekit.mockito-core.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
46
    <orekit.jgit.buildnumber.version>1.2.10</orekit.jgit.buildnumber.version>
47
    <orekit.build-helper-maven-plugin.version>3.2.0</orekit.build-helper-maven-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
48
    <orekit.nexus-staging-maven-plugin.version>1.6.8</orekit.nexus-staging-maven-plugin.version>
49
    <orekit.maven-gpg-plugin.version>3.0.1</orekit.maven-gpg-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
50
    <orekit.maven-install-plugin.version>3.0.0-M1</orekit.maven-install-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
51
    <orekit.mathjax.config>&lt;script type=&quot;text/x-mathjax-config&quot;&gt;MathJax.Hub.Config({ TeX: { extensions: [&quot;autoload.js&quot;]}});&lt;/script&gt;</orekit.mathjax.config>
Luc Maisonobe's avatar
Luc Maisonobe committed
52
    <orekit.mathjax.enable>&lt;script type=&quot;text/javascript&quot; src=&quot;https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_CHTML&quot;&gt;&lt;/script&gt;</orekit.mathjax.enable>
53
    <orekit.hipparchus.version>2.0</orekit.hipparchus.version>
54
    <orekit.junit.version>4.13.2</orekit.junit.version>
55
56
    <orekit.compiler.source>1.8</orekit.compiler.source>
    <orekit.compiler.target>1.8</orekit.compiler.target>
Luc Maisonobe's avatar
Luc Maisonobe committed
57
    <orekit.implementation.build>${git.revision}; ${maven.build.timestamp}</orekit.implementation.build>
Guilhem Bonnefille's avatar
Guilhem Bonnefille committed
58
59
    <!-- sonar related properties -->
    <sonar.host.url>https://sonar.orekit.org/</sonar.host.url>
60
    <!-- for building javac plugin -->
61
62
    <tools.jar.dir>${java.home}/../lib/</tools.jar.dir>
    <tools.jar.path>${tools.jar.dir}/tools.jar</tools.jar.path>
Luc Maisonobe's avatar
Luc Maisonobe committed
63
  </properties>
64

65
66
67
68
69
70
71
  <distributionManagement>
    <site>
      <id>website</id>
      <url>scp://cochise@spoutnik.orekit.org/var/www/mvn-sites/site-orekit-${project.version}</url>
    </site>
  </distributionManagement>

Luc Maisonobe's avatar
Luc Maisonobe committed
72
  <developers>
73
    <developer>
74
75
      <name>Luc Maisonobe</name>
      <id>luc</id>
76
      <roles>
77
        <role>architect</role>
78
79
80
        <role>developer</role>
      </roles>
    </developer>
81
82
83
84
85
86
87
    <developer>
      <name>Bryan Cazabonne</name>
      <id>bryan</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Thierry Ceolin's avatar
Thierry Ceolin committed
88
89
90
91
92
93
94
    <developer>
      <name>Thierry Ceolin</name>
      <id>thierry</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
95
    <developer>
96
97
      <name>Romain Di Costanzo</name>
      <id>romain</id>
98
99
100
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
101
    </developer>
102
103
104
105
106
    <developer>
      <name>Romain Garmier</name>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
107
    </developer>
108
109
110
111
112
113
    <developer>
      <name>Hank Grabowski</name>
      <id>hankg</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
114
115
116
117
118
119
120
121
    </developer>
    <developer>
      <name>Maxime Journot</name>
      <id>maxime</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
122
    <developer>
123
124
125
126
      <name>Fabien Maussion</name>
      <roles>
        <role>developer</role>
      </roles>
127
128
129
130
131
132
133
    </developer>
    <developer>
      <name>Pascal Parraud</name>
      <id>pascal</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
134
135
    </developer>
    <developer>
136
      <name>V&#233;ronique Pommier-Maurussane</name>
Luc Maisonobe's avatar
Luc Maisonobe committed
137
      <id>v&#233;ronique</id>
138
139
140
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
141
142
    </developer>
    <developer>
143
144
145
146
147
      <name>Guylaine Prat</name>
      <id>guylaine</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
148
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
149
150
151
152
153
154
155
    <developer>
      <name>Aude Privat</name>
      <id>aude</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
156
157
158
159
160
161
162
    <developer>
      <name>Bruno Revelin</name>
      <id>bruno</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
163
164
165
166
167
168
    <developer>
      <name>Thomas Neidhart</name>
      <id>thomas</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
169
170
171
172
173
174
175
176
    </developer>
    <developer>
      <name>Evan Ward</name>
      <id>evan</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Yannick Jeandroz's avatar
Yannick Jeandroz committed
177
178
179
180
181
182
    <developer>
      <name>Yannick Jeandroz</name>
      <id>yannick</id>
      <roles>
        <role>developer</role>
      </roles>
183
184
185
186
187
188
189
190
    </developer>
    <developer>
      <name>Cl&#233;ment Jonglez</name>
      <id>clement</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
191
  </developers>
192
193

  <contributors>
Luc Maisonobe's avatar
Luc Maisonobe committed
194
195
196
    <contributor>
      <name>Roberto Alacevich</name>
    </contributor>
197
198
199
    <contributor>
      <name>Albert Alcarraz Garc&#237;a</name>
    </contributor>
200
201
202
    <contributor>
      <name>Daniel Aguilar Taboada</name>
    </contributor>
203
    <contributor>
Luc Maisonobe's avatar
Luc Maisonobe committed
204
      <name>Lucian B&#259;rbulescu</name>
205
    </contributor>
206
207
208
    <contributor>
      <name>Julie Bayard</name>
    </contributor>
209
210
211
    <contributor>
      <name>Petre Bazavan</name>
    </contributor>
212
213
214
    <contributor>
      <name>Laurene Beauvalet</name>
    </contributor>
215
216
217
    <contributor>
      <name>Nicolas Bernard</name>
    </contributor>
218
    <contributor>
219
      <name>Espen Bj&#248;rntvedt</name>
220
221
    </contributor>
    <contributor>
222
223
224
      <name>Paul Cefola</name>
    </contributor>
    <contributor>
225
      <name>Francesco Coccoluto</name>
226
    </contributor>
227
228
229
    <contributor>
      <name>Sébastien Dinot</name>
    </contributor>
230
231
232
    <contributor>
      <name>&#201;douard Delente</name>
    </contributor>
233
234
235
    <contributor>
      <name>Rapha&#235;l Ferm&#233;</name>
    </contributor>
236
237
238
    <contributor>
      <name>Christine Fernandez-Martin</name>
    </contributor>
239
240
241
    <contributor>
      <name>Mikael Fillastre</name>
    </contributor>
242
243
244
    <contributor>
      <name>Andrew Goetz</name>
    </contributor>
245
246
247
    <contributor>
      <name>Andrea Fiorentino</name>
    </contributor>
248
249
250
    <contributor>
      <name>Romaric Her</name>
    </contributor>
251
252
253
    <contributor>
      <name>James Housden</name>
    </contributor>
254
255
256
    <contributor>
      <name>Shiva Iyer</name>
    </contributor>
Luc Maisonobe's avatar
Luc Maisonobe committed
257
    <contributor>
258
      <name>Fran&#231;ois-Xavier Laffont</name>
Luc Maisonobe's avatar
Luc Maisonobe committed
259
    </contributor>
Evan Ward's avatar
Evan Ward committed
260
261
262
    <contributor>
      <name>Anne-Laure Lugan</name>
    </contributor>
263
264
265
    <contributor>
      <name>Lukas Matt</name>
    </contributor>
266
267
268
    <contributor>
      <name>Vincent Mouraux</name>
    </contributor>
269
    <contributor>
Luc Maisonobe's avatar
Luc Maisonobe committed
270
      <name>Lars N&#230;sbye Christensen</name>
271
    </contributor>
272
273
274
    <contributor>
      <name>Thomas Paulet</name>
    </contributor>
275
276
277
    <contributor>
      <name>Steven Ports</name>
    </contributor>
278
279
280
    <contributor>
      <name>Silvia R&#237;os Berganti&#241;os</name>
    </contributor>
281
282
283
    <contributor>
      <name>Francesco Rocca</name>
    </contributor>
284
285
286
    <contributor>
      <name>Mathieu Rom&#233;ro</name>
    </contributor>
287
288
289
    <contributor>
      <name>Chiara Rusconi</name>
    </contributor>
290
291
292
    <contributor>
      <name>Mark Rutten</name>
    </contributor>
Luc Maisonobe's avatar
Luc Maisonobe committed
293
    <contributor>
Luc Maisonobe's avatar
Luc Maisonobe committed
294
      <name>Beatriz Salazar Garc&#237;a</name>
Luc Maisonobe's avatar
Luc Maisonobe committed
295
    </contributor>
296
297
298
    <contributor>
      <name>Gabriele Serafini</name>
    </contributor>
299
300
301
    <contributor>
      <name>David Soulard</name>
    </contributor>
302
    <contributor>
303
      <name>Ioanna Stypsanelli</name>
304
305
    </contributor>
    <contributor>
306
      <name>Michael Turner</name>
307
    </contributor>
Bryan Cazabonne's avatar
Bryan Cazabonne committed
308
309
310
    <contributor>
      <name>Sofia Urbina</name>
    </contributor>
311
  </contributors>
312

Luc Maisonobe's avatar
Luc Maisonobe committed
313
  <organization>
314
    <name>CS GROUP</name>
Luc Maisonobe's avatar
Luc Maisonobe committed
315
316
    <url>http://www.c-s.fr/</url>
  </organization>
Luc Maisonobe's avatar
Luc Maisonobe committed
317

Luc Maisonobe's avatar
Luc Maisonobe committed
318
319
  <licenses>
    <license>
320
      <name>The Apache Software License, Version 2.0</name>
Luc Maisonobe's avatar
Luc Maisonobe committed
321
322
323
324
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>

325
  <scm>
326
    <connection>scm:git:https://gitlab.orekit.org/orekit/orekit.git</connection>
Evan Ward's avatar
Evan Ward committed
327
    <developerConnection>scm:git:ssh://git@gitlab.orekit.org/orekit/orekit.git</developerConnection>
328
    <url>https://gitlab.orekit.org/orekit/orekit/tree/master</url>
329
330
  </scm>

331
  <issueManagement>
332
333
      <system>Gitlab</system>
      <url>https://gitlab.orekit.org/orekit/orekit/issues</url>
334
335
  </issueManagement>

336
  <dependencies>
337
    <dependency>
Evan Ward's avatar
Evan Ward committed
338
339
340
341
342
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-core</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
343
344
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
345
346
347
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-geometry</artifactId>
      <version>${orekit.hipparchus.version}</version>
348
349
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
350
351
352
353
354
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-ode</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
355
356
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
357
358
359
360
361
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-fitting</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
362
363
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
364
365
366
367
368
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-optim</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
369
    </dependency>
370
371
372
373
374
    <dependency>
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-filtering</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
Evan Ward's avatar
Evan Ward committed
375
      <optional>false</optional>
376
377
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
378
379
380
381
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-stat</artifactId>
      <version>${orekit.hipparchus.version}</version>
    </dependency>
Evan Ward's avatar
Evan Ward committed
382
383
384
385
    <!-- test dependencies -->
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
Luc Maisonobe's avatar
Luc Maisonobe committed
386
      <version>${orekit.mockito-core.version}</version>
Evan Ward's avatar
Evan Ward committed
387
388
      <scope>test</scope>
    </dependency>
Evan Ward's avatar
Evan Ward committed
389
390
391
392
393
394
395
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${orekit.junit.version}</version>
      <type>jar</type>
      <scope>test</scope>
      <optional>false</optional>
396
    </dependency>
397
  </dependencies>
398

399
  <build>
Luc Maisonobe's avatar
Luc Maisonobe committed
400
    <plugins>
401
402
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
403
        <artifactId>maven-compiler-plugin</artifactId>
404
        <version>${orekit.maven-compiler-plugin.version}</version>
405
        <configuration>
406
407
          <source>${orekit.compiler.source}</source>
          <target>${orekit.compiler.target}</target>
408
409
410
411
412
          <showWarnings>true</showWarnings>
          <compilerArgs>
            <arg>-Xlint:deprecation</arg>
            <arg>-Xplugin:dataContextPlugin</arg>
          </compilerArgs>
413
        </configuration>
414
415
416
        <executions>
          <execution>
            <id>default-compile</id>
417
418
419
            <goals>
              <goal>compile</goal>
            </goals>
420
421
422
423
424
425
426
            <configuration>
              <excludes>
                <!-- don't recompile the compiler plugin. -->
                <exclude>org/orekit/compiler/**</exclude>
              </excludes>
            </configuration>
          </execution>
427
          <execution>
428
            <id>default-testCompile</id>
429
430
431
432
            <goals>
              <goal>testCompile</goal>
            </goals>
            <configuration>
433
434
435
436
437
              <compilerArgs>
                <arg>-Xlint:deprecation</arg>
                <!-- don't activate the compiler plugin for Orekit own tests -->
                <!-- thousands of tests use intentionally the default context -->
              </compilerArgs>
438
439
            </configuration>
          </execution>
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
          <execution>
            <!-- need to compile these two packages before the rest so that the compiler
                 plugin will work. -->
            <id>plugin-compile</id>
            <goals>
              <goal>compile</goal>
            </goals>
            <!-- the phase before compile. -->
            <phase>process-resources</phase>
            <configuration>
              <includes>
                <include>org/orekit/annotation/**</include>
                <include>org/orekit/compiler/**</include>
              </includes>
              <compilerArgs>
                <arg>-Xlint:deprecation</arg>
                <!-- Add the Java compiler to the classpath. This avoids creating a system
                     dependency which is inherited by projects using Orekit. -->
                <arg>-classpath</arg>
                <arg>${tools.jar.path}</arg>
              </compilerArgs>
            </configuration>
          </execution>
        </executions>
464
      </plugin>
465
466
467
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
468
        <version>${orekit.maven-bundle-plugin.version}</version>
469
470
        <extensions>true</extensions>
        <configuration>
471
472
473
474
          <archive>
            <forced>true</forced>
          </archive>
          <manifestLocation>${project.build.directory}/osgi</manifestLocation>
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
          <instructions>
            <Export-Package>org.orekit.*;version=${project.version};-noimport:=true</Export-Package>
            <Bundle-DocURL>${project.url}</Bundle-DocURL>
          </instructions>
        </configuration>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
490
491
492
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
493
        <version>${orekit.maven-resources-plugin.version}</version>
494
495
496
497
498
499
500
        <executions>
          <execution>
            <phase>process-resources</phase>
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
501
              <!-- Ensure LICENSE and NOTICE are shipped with binary jar -->
502
503
504
505
506
              <outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
              <resources>
                <resource>
                  <directory>.</directory>
                  <includes>
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
                    <include>LICENSE.txt</include>
                    <include>NOTICE.txt</include>
                  </includes>
                </resource>
              </resources>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>${orekit.build-helper-maven-plugin.version}</version>
        <executions>
          <execution>
            <id>add-resource</id>
            <phase>process-resources</phase>
            <goals>
              <goal>add-resource</goal>
            </goals>
            <configuration>
              <!-- Ensure LICENSE and NOTICE are shipped with sources jar -->
              <resources>
                <resource>
                  <directory>.</directory>
                  <targetPath>META-INF</targetPath>
                  <includes>
534
535
536
537
538
539
540
541
                    <include>LICENSE.txt</include>
                    <include>NOTICE.txt</include>
                  </includes>
                </resource>
              </resources>
            </configuration>
          </execution>
        </executions>
542
543
544
545
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
546
        <version>${orekit.maven-clean-plugin.version}</version>
547
548
549
550
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
551
        <version>${orekit.maven-site-plugin.version}</version>
552
553
554
555
          <dependencies>
            <dependency><!-- add support for ssh/scp -->
              <groupId>org.apache.maven.wagon</groupId>
              <artifactId>wagon-ssh</artifactId>
556
              <version>${orekit.maven-wagon-ssh-plugin.version}</version>
557
558
            </dependency>
          </dependencies>
559
560
561
562
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
563
        <version>${orekit.maven-surefire-plugin.version}</version>
564
565
566
567
568
        <configuration>
          <additionalClasspathElements>
            <additionalClasspathElement>${tools.jar.path}</additionalClasspathElement>
          </additionalClasspathElements>
        </configuration>
569
570
571
572
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
573
        <version>${orekit.maven-changes-plugin.version}</version>
574
575
576
577
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
578
        <version>${orekit.maven-jxr-plugin.version}</version>
579
580
581
582
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
583
        <version>${orekit.maven-javadoc-plugin.version}</version>
Luc Maisonobe's avatar
Luc Maisonobe committed
584
585
        <configuration>
          <overview>${basedir}/src/main/java/org/orekit/overview.html</overview>
586
587
588
589
590
591
592
          <additionalOptions>
            <option>--allow-script-in-comments</option>
            <option>-header</option>
            <option>&apos;${orekit.mathjax.config} ${orekit.mathjax.enable}&apos;</option>
            <option>-extdirs</option>
            <option>${tools.jar.dir}</option>
          </additionalOptions>
593
          <bottom><![CDATA[Copyright &copy; ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS GROUP</a>. All rights reserved.]]></bottom>
Luc Maisonobe's avatar
Luc Maisonobe committed
594
          <links>
Luc Maisonobe's avatar
Luc Maisonobe committed
595
            <link>https://docs.oracle.com/javase/8/docs/api/</link>
Luc Maisonobe's avatar
Luc Maisonobe committed
596
597
598
599
            <link>https://www.hipparchus.org/apidocs/</link>
          </links>
          <source>${orekit.compiler.source}</source>
        </configuration>
600
601
602
603
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
604
        <version>${orekit.jacoco-maven-plugin.version}</version>
605
606
607
608
609
610
611
        <executions>
          <execution>
            <id>prepare-agent</id>
            <phase>process-test-classes</phase>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
612
613
614
615
616
            <configuration>
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
            </configuration>
617
618
619
620
621
622
623
          </execution>
          <execution>
            <id>report</id>
            <phase>site</phase>
            <goals>
              <goal>report</goal>
            </goals>
624
625
626
627
628
            <configuration>
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
            </configuration>
629
630
631
632
633
634
635
          </execution>
          <execution>
            <id>check</id>
            <goals>
              <goal>check</goal>
            </goals>
            <configuration>
Evan Ward's avatar
Evan Ward committed
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
              <rules>
                <rule>
                  <element>BUNDLE</element>
                  <limits>
                    <limit>
                      <counter>CLASS</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>1.00</minimum>
                    </limit>
                    <limit>
                      <counter>INSTRUCTION</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>0.90</minimum>
                    </limit>
                    <limit>
                      <counter>METHOD</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>0.95</minimum>
                    </limit>
                    <limit>
                      <counter>BRANCH</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>0.85</minimum>
                    </limit>
                    <limit>
                      <counter>COMPLEXITY</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>0.85</minimum>
                    </limit>
                    <limit>
                      <counter>LINE</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>0.90</minimum>
                    </limit>
                  </limits>
                </rule>
              </rules>
673
              <haltOnFailure>false</haltOnFailure>
674
675
676
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
677
678
679
680
            </configuration>
          </execution>
        </executions>
      </plugin>
681
682
      <plugin>
        <groupId>com.github.jeluard</groupId>
Luc Maisonobe's avatar
Luc Maisonobe committed
683
684
        <artifactId>plantuml-maven-plugin</artifactId>
        <version>${orekit.plantuml-maven-plugin.version}</version>
685
686
        <configuration>
          <sourceFiles>
Luc Maisonobe's avatar
Luc Maisonobe committed
687
            <directory>${basedir}/src/design</directory>
688
689
            <includes>
              <include>
Luc Maisonobe's avatar
Luc Maisonobe committed
690
                *.puml
691
692
693
694
              </include>
            </includes>
          </sourceFiles>
          <outputDirectory>
695
            ${project.build.directory}/site/images/design
696
697
          </outputDirectory>
        </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
698
699
700
701
702
703
704
        <dependencies>
          <dependency>
            <groupId>net.sourceforge.plantuml</groupId>
            <artifactId>plantuml</artifactId>
            <version>${orekit.plantuml.version}</version>
          </dependency>
        </dependencies>
705
706
707
708
709
710
711
712
713
        <executions>
          <execution>
            <phase>pre-site</phase>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
714
715
716
717
718
719
720
721
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>${orekit.maven-jar-plugin.version}</version>
        <configuration>
          <archive>
            <manifestFile>${project.build.directory}/osgi/MANIFEST.MF</manifestFile>
            <manifestEntries>
722
723
              <X-Compile-Source-JDK>${orekit.compiler.source}</X-Compile-Source-JDK>
              <X-Compile-Target-JDK>${orekit.compiler.target}</X-Compile-Target-JDK>
Luc Maisonobe's avatar
Luc Maisonobe committed
724
725
726
727
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
728
729
730
731
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>${orekit.maven-checkstyle-plugin.version}</version>
Luc Maisonobe's avatar
Luc Maisonobe committed
732
733
734
735
736
737
738
        <dependencies>
          <dependency>
            <groupId>com.puppycrawl.tools</groupId>
            <artifactId>checkstyle</artifactId>
            <version>${orekit.checkstyle.version}</version>
          </dependency>
        </dependencies>
739
740
741
742
743
744
        <configuration>
          <configLocation>${basedir}/checkstyle.xml</configLocation>
          <enableRulesSummary>false</enableRulesSummary>
          <headerLocation>${basedir}/license-header.txt</headerLocation>
        </configuration>
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
745
    </plugins>
746
  </build>
747

Luc Maisonobe's avatar
Luc Maisonobe committed
748
749
  <reporting>
    <plugins>
750
      <plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
751
        <groupId>org.apache.maven.plugins</groupId>
752
        <artifactId>maven-site-plugin</artifactId>
753
        <version>${orekit.maven-site-plugin.version}</version>
754
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
755
      <plugin>
756
757
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
758
        <version>${orekit.maven-project-info-reports-plugin.version}</version>
Luc Maisonobe's avatar
Luc Maisonobe committed
759
760
      </plugin>
      <plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
761
762
763
          <groupId>com.github.spotbugs</groupId>
          <artifactId>spotbugs-maven-plugin</artifactId>
        <version>${orekit.spotbugs-maven-plugin.version}</version>
764
765
766
        <configuration>
          <threshold>Normal</threshold>
          <effort>Default</effort>
Luc Maisonobe's avatar
Luc Maisonobe committed
767
          <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
768
       </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
769
      </plugin>
770
      <plugin>
771
772
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
773
        <version>${orekit.maven-surefire-plugin.version}</version>
774
      </plugin>
775
776
777
778
779
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>${orekit.maven-surefire-report-plugin.version}</version>
      </plugin>
780
      <plugin>
781
782
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
783
        <version>${orekit.maven-checkstyle-plugin.version}</version>
784
        <configuration>
785
          <configLocation>${basedir}/checkstyle.xml</configLocation>
786
          <enableRulesSummary>false</enableRulesSummary>
787
          <headerLocation>${basedir}/license-header.txt</headerLocation>
788
        </configuration>
789
790
791
792
793
794
795
        <reportSets>
          <reportSet>
            <reports>
              <report>checkstyle</report>
            </reports>
          </reportSet>
        </reportSets>
Luc Maisonobe's avatar
Luc Maisonobe committed
796
797
798
799
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
800
        <version>${orekit.maven-changes-plugin.version}</version>
801
802
803
        <configuration>
          <teamlist>team.html</teamlist>
        </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
804
805
806
807
808
809
810
811
812
813
814
        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
815
        <version>${orekit.maven-jxr-plugin.version}</version>
816
        <configuration>
817
          <linkJavadoc>false</linkJavadoc>
818
          <bottom><![CDATA[Copyright &copy; ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS GROUP</a>. All rights reserved.]]></bottom>
819
        </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
820
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
821
822
823
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
824
        <version>${orekit.maven-javadoc-plugin.version}</version>
Luc Maisonobe's avatar
Luc Maisonobe committed
825
        <configuration>
826
          <overview>${basedir}/src/main/java/org/orekit/overview.html</overview>
827
828
829
830
831
832
833
          <additionalOptions>
            <option>--allow-script-in-comments</option>
            <option>-header</option>
            <option>&apos;${orekit.mathjax.config} ${orekit.mathjax.enable}&apos;</option>
            <option>-extdirs</option>
            <option>${tools.jar.dir}</option>
          </additionalOptions>
834
          <bottom><![CDATA[Copyright &copy; ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS GROUP</a>. All rights reserved.]]></bottom>
Luc Maisonobe's avatar
Luc Maisonobe committed
835
          <links>
Luc Maisonobe's avatar
Luc Maisonobe committed
836
            <link>https://docs.oracle.com/javase/8/docs/api/</link>
Luc Maisonobe's avatar
Luc Maisonobe committed
837
            <link>https://www.hipparchus.org/apidocs/</link>
Luc Maisonobe's avatar
Luc Maisonobe committed
838
          </links>
Luc Maisonobe's avatar
Luc Maisonobe committed
839
          <source>${orekit.compiler.source}</source>
840
          <doclint>none</doclint>
Luc Maisonobe's avatar
Luc Maisonobe committed
841
        </configuration>
842
843
844
845
846
847
848
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
Luc Maisonobe's avatar
Luc Maisonobe committed
849
      </plugin>
850
851
852
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
853
        <version>${orekit.jacoco-maven-plugin.version}</version>
854
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
855
856
    </plugins>
  </reporting>
857
858

  <profiles>
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
    <profile>
      <id>git</id>
      <activation>
      <file>
        <exists>.git</exists>
      </file>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>ru.concerteza.buildnumber</groupId>
            <artifactId>maven-jgit-buildnumber-plugin</artifactId>
            <version>${orekit.jgit.buildnumber.version}</version>
            <executions>
              <execution>
                <phase>prepare-package</phase>
                <goals>
                  <goal>extract-buildnumber</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <version>${orekit.maven-jar-plugin.version}</version>
            <configuration>
             <archive>
              <manifestFile>${project.build.directory}/osgi/MANIFEST.MF</manifestFile>
              <manifestEntries>
                <Implementation-Build>${orekit.implementation.build}</Implementation-Build>
                <X-Compile-Source-JDK>${orekit.compiler.source}</X-Compile-Source-JDK>
                <X-Compile-Target-JDK>${orekit.compiler.target}</X-Compile-Target-JDK>
              </manifestEntries>
             </archive>
            </configuration>
          </plugin>
       </plugins>
      </build>
    </profile>
899
900
    <profile>
      <id>release</id>
Evan Ward's avatar
Evan Ward committed
901
902
903
904
905
906
907
908
909
910
      <distributionManagement>
        <repository>
          <id>ossrh</id>
          <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
        </repository>
        <snapshotRepository>
          <id>ossrh</id>
          <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
      </distributionManagement>
911
912
      <build>
        <plugins>
Luc Maisonobe's avatar
Luc Maisonobe committed
913
914
915
916
917
918
919
920
921
922
923
924
925
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>${orekit.maven-source-plugin.version}</version>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar-no-fork</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
926
          <plugin>
927
            <groupId>org.apache.maven.plugins</groupId>
Luc Maisonobe's avatar
Luc Maisonobe committed
928
929
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>${orekit.maven-javadoc-plugin.version}</version>
930
931
            <executions>
              <execution>
Luc Maisonobe's avatar
Luc Maisonobe committed
932
                <id>attach-javadocs</id>
933
934
935
936
937
938
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
          <plugin>
            <groupId>org.sonatype.plugins</groupId>
            <artifactId>nexus-staging-maven-plugin</artifactId>
            <version>${orekit.nexus-staging-maven-plugin.version}</version>
            <extensions>true</extensions>
            <configuration>
              <serverId>ossrh</serverId>
              <nexusUrl>https://oss.sonatype.org/</nexusUrl>
              <autoReleaseAfterClose>false</autoReleaseAfterClose>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <version>${orekit.build-helper-maven-plugin.version}</version>
            <executions>
              <execution>
                <id>attach-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>attach-artifact</goal>
                </goals>
                <configuration>
                  <artifacts>
                    <artifact>
                      <file>${basedir}/target/orekit-${project.version}-sources.jar</file>
                      <type>source-jar</type>
                    </artifact>
                  </artifacts>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>${orekit.maven-gpg-plugin.version}</version>
            <configuration>
              <gpgArguments>
                <arg>--digest-algo=SHA512</arg>
              </gpgArguments>
Evan Ward's avatar
Evan Ward committed
980
              <keyname>0802AB8C87B0B1AEC1C1C5871550FDBD6375C33B</keyname>
Luc Maisonobe's avatar
Luc Maisonobe committed
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
            </configuration>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-install-plugin</artifactId>
            <version>${orekit.maven-install-plugin.version}</version>
            <configuration>
              <createChecksum>true</createChecksum>
            </configuration>
          </plugin>
1000
        </plugins>