pom.xml 30 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>
Evan Ward's avatar
Evan Ward committed
8
  <version>10.0</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 24 25 26
    <orekit.spotbugs-maven-plugin.version>3.1.12</orekit.spotbugs-maven-plugin.version>
    <orekit.jacoco-maven-plugin.version>0.8.4</orekit.jacoco-maven-plugin.version>
    <orekit.maven-assembly-plugin.version>3.1.1</orekit.maven-assembly-plugin.version>
    <orekit.maven-bundle-plugin.version>4.2.0</orekit.maven-bundle-plugin.version>
27
    <orekit.maven-changes-plugin.version>2.12.1</orekit.maven-changes-plugin.version>
28
    <orekit.maven-checkstyle-plugin.version>3.1.0</orekit.maven-checkstyle-plugin.version>
29
    <orekit.checkstyle.version>8.18</orekit.checkstyle.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
30
    <orekit.maven-clean-plugin.version>3.1.0</orekit.maven-clean-plugin.version>
31 32 33
    <orekit.maven-compiler-plugin.version>3.8.1</orekit.maven-compiler-plugin.version>
    <orekit.maven-javadoc-plugin.version>3.1.0</orekit.maven-javadoc-plugin.version>
    <orekit.maven-jar-plugin.version>3.1.1</orekit.maven-jar-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
34
    <orekit.maven-jxr-plugin.version>3.0.0</orekit.maven-jxr-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
35
    <orekit.plantuml-maven-plugin.version>1.2</orekit.plantuml-maven-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
36 37 38 39
    <orekit.plantuml.version>1.2018.12</orekit.plantuml.version>
    <orekit.maven-project-info-reports-plugin.version>3.0.0</orekit.maven-project-info-reports-plugin.version>
    <orekit.maven-resources-plugin.version>3.1.0</orekit.maven-resources-plugin.version>
    <orekit.maven-site-plugin.version>3.7.1</orekit.maven-site-plugin.version>
40 41 42 43
    <orekit.maven-source-plugin.version>3.1.0</orekit.maven-source-plugin.version>
    <orekit.maven-surefire-plugin.version>2.22.2</orekit.maven-surefire-plugin.version>
    <orekit.maven-surefire-report-plugin.version>2.22.2</orekit.maven-surefire-report-plugin.version>
    <orekit.mockito-core.version>2.28.2</orekit.mockito-core.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
44
    <orekit.jgit.buildnumber.version>1.2.10</orekit.jgit.buildnumber.version>
45 46 47
    <orekit.build-helper-maven-plugin.version>3.0.0</orekit.build-helper-maven-plugin.version>
    <orekit.nexus-staging-maven-plugin.version>1.6.8</orekit.nexus-staging-maven-plugin.version>
    <orekit.maven-gpg-plugin.version>1.6</orekit.maven-gpg-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
48
    <orekit.maven-install-plugin.version>3.0.0-M1</orekit.maven-install-plugin.version>
49
    <orekit.hipparchus.version>1.5</orekit.hipparchus.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
50
    <orekit.junit.version>4.12</orekit.junit.version>
51 52
    <orekit.compiler.source>1.8</orekit.compiler.source>
    <orekit.compiler.target>1.8</orekit.compiler.target>
53
    <orekit.implementation.build>${git.revision}; ${maven.build.timestamp}</orekit.implementation.build>
Luc Maisonobe's avatar
Luc Maisonobe committed
54
  </properties>
55

Luc Maisonobe's avatar
Luc Maisonobe committed
56
  <developers>
57
    <developer>
58 59
      <name>Luc Maisonobe</name>
      <id>luc</id>
60
      <roles>
61
        <role>architect</role>
62 63 64
        <role>developer</role>
      </roles>
    </developer>
65 66 67 68 69 70 71
    <developer>
      <name>Bryan Cazabonne</name>
      <id>bryan</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
72 73 74 75 76 77 78
    <developer>
      <name>Thierry Ceolin</name>
      <id>thierry</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
79
    <developer>
80 81
      <name>Romain Di Costanzo</name>
      <id>romain</id>
82 83 84
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
85
    </developer>
86 87 88 89 90
    <developer>
      <name>Romain Garmier</name>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
91
    </developer>
92 93 94 95 96 97
    <developer>
      <name>Hank Grabowski</name>
      <id>hankg</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
98 99 100 101 102 103 104 105
    </developer>
    <developer>
      <name>Maxime Journot</name>
      <id>maxime</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
106
    <developer>
107 108 109 110
      <name>Fabien Maussion</name>
      <roles>
        <role>developer</role>
      </roles>
111 112 113 114 115 116 117
    </developer>
    <developer>
      <name>Pascal Parraud</name>
      <id>pascal</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
118 119
    </developer>
    <developer>
120
      <name>V&#233;ronique Pommier-Maurussane</name>
Luc Maisonobe's avatar
Luc Maisonobe committed
121
      <id>v&#233;ronique</id>
122 123 124
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
125 126
    </developer>
    <developer>
127 128 129 130 131
      <name>Guylaine Prat</name>
      <id>guylaine</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
132
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
133 134 135 136 137 138 139
    <developer>
      <name>Aude Privat</name>
      <id>aude</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
140 141 142 143 144 145 146
    <developer>
      <name>Bruno Revelin</name>
      <id>bruno</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
147 148 149 150 151 152
    <developer>
      <name>Thomas Neidhart</name>
      <id>thomas</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
153 154 155 156 157 158 159 160
    </developer>
    <developer>
      <name>Evan Ward</name>
      <id>evan</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
161
  </developers>
162 163

  <contributors>
164 165 166
    <contributor>
      <name>Roberto Alacevich</name>
    </contributor>
167 168 169
    <contributor>
      <name>Albert Alcarraz Garc&#237;a</name>
    </contributor>
170 171 172
    <contributor>
      <name>Daniel Aguilar Taboada</name>
    </contributor>
173
    <contributor>
174
      <name>Lucian B&#259;rbulescu</name>
175 176 177 178
    </contributor>
    <contributor>
      <name>Petre Bazavan</name>
    </contributor>
179 180 181
    <contributor>
      <name>Laurene Beauvalet</name>
    </contributor>
182 183 184
    <contributor>
      <name>Nicolas Bernard</name>
    </contributor>
185
    <contributor>
186
      <name>Espen Bj&#248;rntvedt</name>
187 188
    </contributor>
    <contributor>
189 190 191
      <name>Paul Cefola</name>
    </contributor>
    <contributor>
192
      <name>Francesco Coccoluto</name>
193
    </contributor>
194 195 196
    <contributor>
      <name>Sébastien Dinot</name>
    </contributor>
197 198 199
    <contributor>
      <name>&#201;douard Delente</name>
    </contributor>
200 201 202
    <contributor>
      <name>Christine Fernandez-Martin</name>
    </contributor>
203 204 205
    <contributor>
      <name>Romaric Her</name>
    </contributor>
206 207 208
    <contributor>
      <name>James Housden</name>
    </contributor>
209
    <contributor>
210
      <name>Yannick Jeandroz</name>
211 212
    </contributor>
    <contributor>
213
      <name>Fran&#231;ois-Xavier Laffont</name>
214
    </contributor>
215 216 217
    <contributor>
      <name>Vincent Mouraux</name>
    </contributor>
218
    <contributor>
219
      <name>Lars N&#230;sbye Christensen</name>
220
    </contributor>
221 222 223
    <contributor>
      <name>Steven Ports</name>
    </contributor>
224 225 226
    <contributor>
      <name>Silvia R&#237;os Berganti&#241;os</name>
    </contributor>
227 228 229
    <contributor>
      <name>Francesco Rocca</name>
    </contributor>
230 231 232
    <contributor>
      <name>Mathieu Rom&#233;ro</name>
    </contributor>
233
    <contributor>
234
      <name>Beatriz Salazar Garc&#237;a</name>
235
    </contributor>
236 237 238
    <contributor>
      <name>Ioanna Stypsanelli</name>
    </contributor>
Luc Maisonobe's avatar
Luc Maisonobe committed
239 240 241
    <contributor>
      <name>Michael Turner</name>
    </contributor>
242
  </contributors>
243

244
  <organization>
245
    <name>CS Syst&#232;mes d&#039;Information</name>
246 247
    <url>http://www.c-s.fr/</url>
  </organization>
Luc Maisonobe's avatar
Luc Maisonobe committed
248

249 250
  <licenses>
    <license>
251
      <name>The Apache Software License, Version 2.0</name>
252 253 254 255
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>

256
  <scm>
257
    <connection>scm:git:https://gitlab.orekit.org/orekit/orekit.git</connection>
Evan Ward's avatar
Evan Ward committed
258
    <developerConnection>scm:git:ssh://git@gitlab.orekit.org/orekit/orekit.git</developerConnection>
259
    <url>https://gitlab.orekit.org/orekit/orekit/tree/master</url>
260 261
  </scm>

262
  <issueManagement>
263 264
      <system>Gitlab</system>
      <url>https://gitlab.orekit.org/orekit/orekit/issues</url>
265 266
  </issueManagement>

267
  <dependencies>
268
    <dependency>
Evan Ward's avatar
Evan Ward committed
269 270 271 272 273
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-core</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
274 275
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
276 277 278
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-geometry</artifactId>
      <version>${orekit.hipparchus.version}</version>
279 280
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
281 282 283 284 285
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-ode</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
286 287
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
288 289 290 291 292
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-fitting</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
293 294
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
295 296 297 298 299
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-optim</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
300
    </dependency>
301 302 303 304 305
    <dependency>
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-filtering</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
Evan Ward's avatar
Evan Ward committed
306
      <optional>false</optional>
307 308
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
309 310 311 312
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-stat</artifactId>
      <version>${orekit.hipparchus.version}</version>
    </dependency>
313 314 315 316
    <!-- test dependencies -->
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
Luc Maisonobe's avatar
Luc Maisonobe committed
317
      <version>${orekit.mockito-core.version}</version>
318 319
      <scope>test</scope>
    </dependency>
Evan Ward's avatar
Evan Ward committed
320 321 322 323 324 325 326
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${orekit.junit.version}</version>
      <type>jar</type>
      <scope>test</scope>
      <optional>false</optional>
327
    </dependency>
328
  </dependencies>
329

330
  <build>
331
    <plugins>
332 333
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
334
        <artifactId>maven-compiler-plugin</artifactId>
335
        <version>${orekit.maven-compiler-plugin.version}</version>
336
        <configuration>
337 338
          <source>${orekit.compiler.source}</source>
          <target>${orekit.compiler.target}</target>
339
          <compilerArgument>-Xlint:deprecation</compilerArgument>
340 341
        </configuration>
      </plugin>
342 343
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
344
        <version>${orekit.maven-assembly-plugin.version}</version>
345 346
        <configuration>
          <descriptors>
347 348
            <descriptor>src/main/assembly/source-jar-assembly.xml</descriptor>
            <descriptor>src/main/assembly/source-distribution-assembly.xml</descriptor>
349 350 351
          </descriptors>
        </configuration>
      </plugin>
352 353 354
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
355
        <version>${orekit.maven-bundle-plugin.version}</version>
356 357
        <extensions>true</extensions>
        <configuration>
358 359 360 361
          <archive>
            <forced>true</forced>
          </archive>
          <manifestLocation>${project.build.directory}/osgi</manifestLocation>
362 363 364 365 366 367 368 369 370 371 372 373 374 375 376
          <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>
377 378 379
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
380
        <version>${orekit.maven-resources-plugin.version}</version>
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
        <executions>
          <execution>
            <phase>process-resources</phase>
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
              <resources>
                <resource>
                  <directory>.</directory>
                  <includes>
                    <include>LICENSE.txt</include>
                    <include>NOTICE.txt</include>
                  </includes>
                </resource>
              </resources>
            </configuration>
          </execution>
        </executions>
401 402 403 404
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
405
        <version>${orekit.maven-clean-plugin.version}</version>
406 407 408 409
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
410
        <version>${orekit.maven-site-plugin.version}</version>
411 412 413 414
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
415
        <version>${orekit.maven-surefire-plugin.version}</version>
416 417 418 419
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
420
        <version>${orekit.maven-changes-plugin.version}</version>
421 422 423 424
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
425
        <version>${orekit.maven-jxr-plugin.version}</version>
426 427 428 429
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
430
        <version>${orekit.maven-javadoc-plugin.version}</version>
Luc Maisonobe's avatar
Luc Maisonobe committed
431 432 433 434
        <configuration>
          <overview>${basedir}/src/main/java/org/orekit/overview.html</overview>
          <bottom><![CDATA[Copyright &copy; ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS Syst&egrave;mes d&apos;information</a>. All rights reserved.]]></bottom>
          <links>
435
            <link>https://docs.oracle.com/javase/8/docs/api/</link>
Luc Maisonobe's avatar
Luc Maisonobe committed
436 437 438 439
            <link>https://www.hipparchus.org/apidocs/</link>
          </links>
          <source>${orekit.compiler.source}</source>
        </configuration>
440 441 442 443
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
444
        <version>${orekit.jacoco-maven-plugin.version}</version>
445 446 447 448 449 450 451
        <executions>
          <execution>
            <id>prepare-agent</id>
            <phase>process-test-classes</phase>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
452 453 454 455 456
            <configuration>
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
            </configuration>
457 458 459 460 461 462 463
          </execution>
          <execution>
            <id>report</id>
            <phase>site</phase>
            <goals>
              <goal>report</goal>
            </goals>
464 465 466 467 468
            <configuration>
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
            </configuration>
469 470 471 472 473 474 475
          </execution>
          <execution>
            <id>check</id>
            <goals>
              <goal>check</goal>
            </goals>
            <configuration>
Evan Ward's avatar
Evan Ward committed
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
              <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>
513
              <haltOnFailure>false</haltOnFailure>
514 515 516
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
517 518 519 520
            </configuration>
          </execution>
        </executions>
      </plugin>
521 522
      <plugin>
        <groupId>com.github.jeluard</groupId>
Luc Maisonobe's avatar
Luc Maisonobe committed
523 524
        <artifactId>plantuml-maven-plugin</artifactId>
        <version>${orekit.plantuml-maven-plugin.version}</version>
525 526
        <configuration>
          <sourceFiles>
Luc Maisonobe's avatar
Luc Maisonobe committed
527
            <directory>${basedir}/src/design</directory>
528 529
            <includes>
              <include>
Luc Maisonobe's avatar
Luc Maisonobe committed
530
                *.puml
531 532 533 534
              </include>
            </includes>
          </sourceFiles>
          <outputDirectory>
535
            ${project.build.directory}/site/images/design
536 537
          </outputDirectory>
        </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
538 539 540 541 542 543 544
        <dependencies>
          <dependency>
            <groupId>net.sourceforge.plantuml</groupId>
            <artifactId>plantuml</artifactId>
            <version>${orekit.plantuml.version}</version>
          </dependency>
        </dependencies>
545 546 547 548 549 550 551 552 553
        <executions>
          <execution>
            <phase>pre-site</phase>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
554 555 556 557 558 559 560 561
      <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>
562 563
              <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
564 565 566 567
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
568 569 570 571
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>${orekit.maven-checkstyle-plugin.version}</version>
572 573 574 575 576 577 578
        <dependencies>
          <dependency>
            <groupId>com.puppycrawl.tools</groupId>
            <artifactId>checkstyle</artifactId>
            <version>${orekit.checkstyle.version}</version>
          </dependency>
        </dependencies>
579 580 581 582 583 584
        <configuration>
          <configLocation>${basedir}/checkstyle.xml</configLocation>
          <enableRulesSummary>false</enableRulesSummary>
          <headerLocation>${basedir}/license-header.txt</headerLocation>
        </configuration>
      </plugin>
585
    </plugins>
586
  </build>
587

Luc Maisonobe's avatar
Luc Maisonobe committed
588 589
  <reporting>
    <plugins>
590
      <plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
591
        <groupId>org.apache.maven.plugins</groupId>
592
        <artifactId>maven-site-plugin</artifactId>
593
        <version>${orekit.maven-site-plugin.version}</version>
594
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
595
      <plugin>
596 597
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
598
        <version>${orekit.maven-project-info-reports-plugin.version}</version>
Luc Maisonobe's avatar
Luc Maisonobe committed
599 600
      </plugin>
      <plugin>
601 602 603
          <groupId>com.github.spotbugs</groupId>
          <artifactId>spotbugs-maven-plugin</artifactId>
        <version>${orekit.spotbugs-maven-plugin.version}</version>
604 605 606
        <configuration>
          <threshold>Normal</threshold>
          <effort>Default</effort>
607
          <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
608
       </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
609
      </plugin>
610
      <plugin>
611 612
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
613
        <version>${orekit.maven-surefire-plugin.version}</version>
614
      </plugin>
615 616 617 618 619
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>${orekit.maven-surefire-report-plugin.version}</version>
      </plugin>
620
      <plugin>
621 622
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
623
        <version>${orekit.maven-checkstyle-plugin.version}</version>
624
        <configuration>
625
          <configLocation>${basedir}/checkstyle.xml</configLocation>
626
          <enableRulesSummary>false</enableRulesSummary>
627
          <headerLocation>${basedir}/license-header.txt</headerLocation>
628
        </configuration>
629 630 631 632 633 634 635
        <reportSets>
          <reportSet>
            <reports>
              <report>checkstyle</report>
            </reports>
          </reportSet>
        </reportSets>
Luc Maisonobe's avatar
Luc Maisonobe committed
636 637 638 639
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
640
        <version>${orekit.maven-changes-plugin.version}</version>
641 642 643
        <configuration>
          <teamlist>team.html</teamlist>
        </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
644 645 646 647 648 649 650 651 652 653 654
        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
655
        <version>${orekit.maven-jxr-plugin.version}</version>
656
        <configuration>
657
          <linkJavadoc>false</linkJavadoc>
658
          <bottom><![CDATA[Copyright &copy; ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS Syst&egrave;mes d&apos;information</a>. All rights reserved.]]></bottom>
659
        </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
660
      </plugin>
661 662 663
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
664
        <version>${orekit.maven-javadoc-plugin.version}</version>
665
        <configuration>
666
          <overview>${basedir}/src/main/java/org/orekit/overview.html</overview>
667
          <bottom><![CDATA[Copyright &copy; ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS Syst&egrave;mes d&apos;information</a>. All rights reserved.]]></bottom>
668
          <links>
669
            <link>https://docs.oracle.com/javase/8/docs/api/</link>
Luc Maisonobe's avatar
Luc Maisonobe committed
670
            <link>https://www.hipparchus.org/apidocs/</link>
671
          </links>
Luc Maisonobe's avatar
Luc Maisonobe committed
672
          <source>${orekit.compiler.source}</source>
673
          <doclint>none</doclint>
674
        </configuration>
675 676 677 678 679 680 681
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
682
      </plugin>
683 684 685
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
686
        <version>${orekit.jacoco-maven-plugin.version}</version>
687
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
688 689
    </plugins>
  </reporting>
690 691

  <profiles>
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
    <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>
732 733
    <profile>
      <id>release</id>
Evan Ward's avatar
Evan Ward committed
734 735 736 737 738 739 740 741 742 743
      <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>
744 745
      <build>
        <plugins>
746 747 748 749 750 751 752 753 754 755 756 757 758
          <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>
759
          <plugin>
760
            <groupId>org.apache.maven.plugins</groupId>
761 762
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>${orekit.maven-javadoc-plugin.version}</version>
763 764
            <executions>
              <execution>
765
                <id>attach-javadocs</id>
766 767 768 769 770 771
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812
          <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
813
              <keyname>0802AB8C87B0B1AEC1C1C5871550FDBD6375C33B</keyname>
814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832
            </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>
833
        </plugins>
834
     </build>
835
    </profile>
836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874
    <profile>
      <id>eclipse</id>
      <activation>
        <property>
          <name>m2e.version</name>
        </property>
      </activation>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
              <groupId>org.eclipse.m2e</groupId>
              <artifactId>lifecycle-mapping</artifactId>
              <version>1.0.0</version>
              <configuration>
                <lifecycleMappingMetadata>
                  <pluginExecutions>
                    <pluginExecution>
                      <pluginExecutionFilter>
                        <groupId>org.apache.felix</groupId>
                        <artifactId>maven-bundle-plugin</artifactId>
                        <versionRange>[${orekit.maven-bundle-plugin.version},)</versionRange>
                        <goals>
                          <goal>manifest</goal>
                        </goals>
                      </pluginExecutionFilter>
                      <action>
                        <ignore></ignore>
                      </action>
                     </pluginExecution>
                  </pluginExecutions>
                </lifecycleMappingMetadata>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
875 876
  </profiles>

877
</project>