pom.xml 28.7 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>9.3</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>3.1.7</orekit.spotbugs-maven-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
24 25 26
    <orekit.jacoco-maven-plugin.version>0.8.2</orekit.jacoco-maven-plugin.version>
    <orekit.maven-assembly-plugin.version>3.1.0</orekit.maven-assembly-plugin.version>
    <orekit.maven-bundle-plugin.version>4.1.0</orekit.maven-bundle-plugin.version>
27
    <orekit.maven-changes-plugin.version>2.12.1</orekit.maven-changes-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
28 29 30 31 32 33 34
    <orekit.maven-checkstyle-plugin.version>3.0.0</orekit.maven-checkstyle-plugin.version>
    <orekit.checkstyle.version>8.14</orekit.checkstyle.version>
    <orekit.maven-clean-plugin.version>3.1.0</orekit.maven-clean-plugin.version>
    <orekit.maven-compiler-plugin.version>3.8.0</orekit.maven-compiler-plugin.version>
    <orekit.maven-javadoc-plugin.version>3.0.1</orekit.maven-javadoc-plugin.version>
    <orekit.maven-jar-plugin.version>3.1.0</orekit.maven-jar-plugin.version>
    <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
    <orekit.maven-source-plugin.version>3.0.1</orekit.maven-source-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
41 42 43
    <orekit.maven-surefire-plugin.version>2.22.1</orekit.maven-surefire-plugin.version>
    <orekit.maven-surefire-report-plugin.version>2.22.1</orekit.maven-surefire-report-plugin.version>
    <orekit.mockito-core.version>2.23.0</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.4</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>Thierry Ceolin</name>
      <id>thierry</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
72
    <developer>
73 74
      <name>Romain Di Costanzo</name>
      <id>romain</id>
75 76 77
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
78
    </developer>
79 80 81 82 83
    <developer>
      <name>Romain Garmier</name>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
84
    </developer>
85 86 87 88 89 90
    <developer>
      <name>Hank Grabowski</name>
      <id>hankg</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
91 92 93 94 95 96 97 98
    </developer>
    <developer>
      <name>Maxime Journot</name>
      <id>maxime</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
99
    <developer>
100 101 102 103
      <name>Fabien Maussion</name>
      <roles>
        <role>developer</role>
      </roles>
104 105 106 107 108 109 110
    </developer>
    <developer>
      <name>Pascal Parraud</name>
      <id>pascal</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
111 112
    </developer>
    <developer>
113
      <name>V&#233;ronique Pommier-Maurussane</name>
Luc Maisonobe's avatar
Luc Maisonobe committed
114
      <id>v&#233;ronique</id>
115 116 117
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
118 119
    </developer>
    <developer>
120 121 122 123 124
      <name>Guylaine Prat</name>
      <id>guylaine</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
125
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
126 127 128 129 130 131 132
    <developer>
      <name>Aude Privat</name>
      <id>aude</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
133 134 135 136 137 138 139
    <developer>
      <name>Bruno Revelin</name>
      <id>bruno</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
140 141 142 143 144 145
    <developer>
      <name>Thomas Neidhart</name>
      <id>thomas</id>
      <roles>
        <role>developer</role>
      </roles>
Luc Maisonobe's avatar
Luc Maisonobe committed
146 147 148 149 150 151 152 153
    </developer>
    <developer>
      <name>Evan Ward</name>
      <id>evan</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
Luc Maisonobe's avatar
Luc Maisonobe committed
154
  </developers>
155 156

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

228
  <organization>
229
    <name>CS Syst&#232;mes d&#039;Information</name>
230 231
    <url>http://www.c-s.fr/</url>
  </organization>
Luc Maisonobe's avatar
Luc Maisonobe committed
232

233 234
  <licenses>
    <license>
235
      <name>The Apache Software License, Version 2.0</name>
236 237 238 239
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>

240
  <scm>
241 242 243
    <connection>scm:git:https://gitlab.orekit.org/orekit/orekit.git</connection>
    <developerConnection>scm:git:ssh://git@gitlab.orekit.org:orekit/orekit.git</developerConnection>
    <url>https://gitlab.orekit.org/orekit/orekit/tree/master</url>
244 245
  </scm>

246
  <issueManagement>
247 248
      <system>Gitlab</system>
      <url>https://gitlab.orekit.org/orekit/orekit/issues</url>
249 250
  </issueManagement>

251
  <dependencies>
252
    <dependency>
Evan Ward's avatar
Evan Ward committed
253 254 255 256 257
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-core</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
258 259
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
260 261 262 263 264
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-geometry</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
265 266
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
267 268 269 270 271
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-ode</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
272 273
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
274 275 276 277 278
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-fitting</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
279 280
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
281 282 283 284
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-optim</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
285 286 287 288 289 290 291
      <optional>false</optional>
    </dependency>
    <dependency>
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-filtering</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
Evan Ward's avatar
Evan Ward committed
292
      <optional>false</optional>
293 294
    </dependency>
    <dependency>
Evan Ward's avatar
Evan Ward committed
295 296 297 298 299 300
      <groupId>org.hipparchus</groupId>
      <artifactId>hipparchus-stat</artifactId>
      <version>${orekit.hipparchus.version}</version>
      <type>jar</type>
      <optional>false</optional>
    </dependency>
301 302 303 304
    <!-- test dependencies -->
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
Luc Maisonobe's avatar
Luc Maisonobe committed
305
      <version>${orekit.mockito-core.version}</version>
306 307
      <scope>test</scope>
    </dependency>
Evan Ward's avatar
Evan Ward committed
308 309 310 311 312 313 314
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${orekit.junit.version}</version>
      <type>jar</type>
      <scope>test</scope>
      <optional>false</optional>
315
    </dependency>
316
  </dependencies>
317

318
  <build>
319
    <plugins>
320 321
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
322
        <artifactId>maven-compiler-plugin</artifactId>
323
        <version>${orekit.maven-compiler-plugin.version}</version>
324
        <configuration>
325 326
          <source>${orekit.compiler.source}</source>
          <target>${orekit.compiler.target}</target>
327
          <compilerArgument>-Xlint:deprecation</compilerArgument>
328 329
        </configuration>
      </plugin>
330 331
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
332
        <version>${orekit.maven-assembly-plugin.version}</version>
333 334
        <configuration>
          <descriptors>
335 336
            <descriptor>src/main/assembly/source-jar-assembly.xml</descriptor>
            <descriptor>src/main/assembly/source-distribution-assembly.xml</descriptor>
337 338 339
          </descriptors>
        </configuration>
      </plugin>
340 341 342
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
343
        <version>${orekit.maven-bundle-plugin.version}</version>
344 345
        <extensions>true</extensions>
        <configuration>
346 347 348 349
          <archive>
            <forced>true</forced>
          </archive>
          <manifestLocation>${project.build.directory}/osgi</manifestLocation>
350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
          <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>
365 366 367
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
368
        <version>${orekit.maven-resources-plugin.version}</version>
369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388
        <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>
389 390 391 392
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
393
        <version>${orekit.maven-clean-plugin.version}</version>
394 395 396 397
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
398
        <version>${orekit.maven-site-plugin.version}</version>
399 400 401 402
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
403
        <version>${orekit.maven-surefire-plugin.version}</version>
404 405 406 407
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
408
        <version>${orekit.maven-changes-plugin.version}</version>
409 410 411 412
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
413
        <version>${orekit.maven-jxr-plugin.version}</version>
414 415 416 417
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
418
        <version>${orekit.maven-javadoc-plugin.version}</version>
419 420 421 422
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
423
        <version>${orekit.jacoco-maven-plugin.version}</version>
424 425 426 427 428 429 430
        <executions>
          <execution>
            <id>prepare-agent</id>
            <phase>process-test-classes</phase>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
431 432 433 434 435
            <configuration>
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
            </configuration>
436 437 438 439 440 441 442
          </execution>
          <execution>
            <id>report</id>
            <phase>site</phase>
            <goals>
              <goal>report</goal>
            </goals>
443 444 445 446 447
            <configuration>
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
            </configuration>
448 449 450 451 452 453 454
          </execution>
          <execution>
            <id>check</id>
            <goals>
              <goal>check</goal>
            </goals>
            <configuration>
Evan Ward's avatar
Evan Ward committed
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
              <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>
492
              <haltOnFailure>false</haltOnFailure>
493 494 495
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
496 497 498 499
            </configuration>
          </execution>
        </executions>
      </plugin>
500 501
      <plugin>
        <groupId>com.github.jeluard</groupId>
Luc Maisonobe's avatar
Luc Maisonobe committed
502 503
        <artifactId>plantuml-maven-plugin</artifactId>
        <version>${orekit.plantuml-maven-plugin.version}</version>
504 505
        <configuration>
          <sourceFiles>
Luc Maisonobe's avatar
Luc Maisonobe committed
506
            <directory>${basedir}/src/design</directory>
507 508
            <includes>
              <include>
Luc Maisonobe's avatar
Luc Maisonobe committed
509
                *.puml
510 511 512 513
              </include>
            </includes>
          </sourceFiles>
          <outputDirectory>
514
            ${project.build.directory}/site/images/design
515 516
          </outputDirectory>
        </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
517 518 519 520 521 522 523
        <dependencies>
          <dependency>
            <groupId>net.sourceforge.plantuml</groupId>
            <artifactId>plantuml</artifactId>
            <version>${orekit.plantuml.version}</version>
          </dependency>
        </dependencies>
524 525 526 527 528 529 530 531 532
        <executions>
          <execution>
            <phase>pre-site</phase>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
533 534 535 536 537 538 539 540
      <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>
541 542
              <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
543 544 545 546
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
547 548 549 550
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>${orekit.maven-checkstyle-plugin.version}</version>
551 552 553 554 555 556 557
        <dependencies>
          <dependency>
            <groupId>com.puppycrawl.tools</groupId>
            <artifactId>checkstyle</artifactId>
            <version>${orekit.checkstyle.version}</version>
          </dependency>
        </dependencies>
558 559 560 561 562 563
        <configuration>
          <configLocation>${basedir}/checkstyle.xml</configLocation>
          <enableRulesSummary>false</enableRulesSummary>
          <headerLocation>${basedir}/license-header.txt</headerLocation>
        </configuration>
      </plugin>
564
    </plugins>
565
  </build>
566

Luc Maisonobe's avatar
Luc Maisonobe committed
567 568
  <reporting>
    <plugins>
569
      <plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
570
        <groupId>org.apache.maven.plugins</groupId>
571
        <artifactId>maven-site-plugin</artifactId>
572
        <version>${orekit.maven-site-plugin.version}</version>
573
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
574
      <plugin>
575 576
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
577
        <version>${orekit.maven-project-info-reports-plugin.version}</version>
Luc Maisonobe's avatar
Luc Maisonobe committed
578 579
      </plugin>
      <plugin>
580 581 582
          <groupId>com.github.spotbugs</groupId>
          <artifactId>spotbugs-maven-plugin</artifactId>
        <version>${orekit.spotbugs-maven-plugin.version}</version>
583 584 585
        <configuration>
          <threshold>Normal</threshold>
          <effort>Default</effort>
586
          <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
587
       </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
588
      </plugin>
589
      <plugin>
590 591
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
592
        <version>${orekit.maven-surefire-plugin.version}</version>
593
      </plugin>
594 595 596 597 598
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>${orekit.maven-surefire-report-plugin.version}</version>
      </plugin>
599
      <plugin>
600 601
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
602
        <version>${orekit.maven-checkstyle-plugin.version}</version>
603
        <configuration>
604
          <configLocation>${basedir}/checkstyle.xml</configLocation>
605
          <enableRulesSummary>false</enableRulesSummary>
606
          <headerLocation>${basedir}/license-header.txt</headerLocation>
607
        </configuration>
608 609 610 611 612 613 614
        <reportSets>
          <reportSet>
            <reports>
              <report>checkstyle</report>
            </reports>
          </reportSet>
        </reportSets>
Luc Maisonobe's avatar
Luc Maisonobe committed
615 616 617 618
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
619
        <version>${orekit.maven-changes-plugin.version}</version>
Luc Maisonobe's avatar
Luc Maisonobe committed
620 621 622 623 624 625 626 627 628 629 630 631 632 633
        <configuration>
          <xmlPath>${basedir}/src/site/xdoc/changes.xml</xmlPath>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
634
        <version>${orekit.maven-jxr-plugin.version}</version>
635
        <configuration>
636
          <linkJavadoc>false</linkJavadoc>
637
          <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>
638
        </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
639
      </plugin>
640 641 642
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
643
        <version>${orekit.maven-javadoc-plugin.version}</version>
644
        <configuration>
645
          <overview>${basedir}/src/main/java/org/orekit/overview.html</overview>
646
          <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>
647
          <links>
Luc Maisonobe's avatar
Luc Maisonobe committed
648 649
            <link>http://docs.oracle.com/javase/8/docs/api/</link>
            <link>https://www.hipparchus.org/apidocs/</link>
650 651
          </links>
        </configuration>
652 653 654 655 656 657 658
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
659
      </plugin>
660 661 662
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
663
        <version>${orekit.jacoco-maven-plugin.version}</version>
664
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
665 666
    </plugins>
  </reporting>
667 668

  <profiles>
669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708
    <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>
709 710 711 712
    <profile>
      <id>release</id>
      <build>
        <plugins>
713 714 715 716 717 718 719 720 721 722 723 724 725
          <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>
726
          <plugin>
727
            <groupId>org.apache.maven.plugins</groupId>
728 729
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>${orekit.maven-javadoc-plugin.version}</version>
730 731
            <executions>
              <execution>
732
                <id>attach-javadocs</id>
733 734 735 736 737 738
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 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
          <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>
            </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>
799
        </plugins>
800
     </build>
801
    </profile>
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840
    <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>
841 842
  </profiles>

843
</project>