pom.xml 27.9 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.0.1</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>
Luc Maisonobe's avatar
Luc Maisonobe committed
23 24
    <orekit.findbugs-maven-plugin.version>3.0.4</orekit.findbugs-maven-plugin.version>
    <orekit.jacoco-maven-plugin.version>0.7.9</orekit.jacoco-maven-plugin.version>
25
    <orekit.maven-assembly-plugin.version>3.0.0</orekit.maven-assembly-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
26
    <orekit.maven-bundle-plugin.version>3.3.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
    <orekit.maven-checkstyle-plugin.version>2.17</orekit.maven-checkstyle-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
29
    <orekit.checkstyle.version>8.1</orekit.checkstyle.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
30
    <orekit.maven-clean-plugin.version>3.0.0</orekit.maven-clean-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
31
    <orekit.maven-compiler-plugin.version>3.6.1</orekit.maven-compiler-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
32 33
    <orekit.maven-javadoc-plugin.version>2.10.4</orekit.maven-javadoc-plugin.version>
    <orekit.maven-jar-plugin.version>3.0.2</orekit.maven-jar-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
34
    <orekit.maven-jxr-plugin.version>2.5</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
    <orekit.plantuml.version>1.2017.15</orekit.plantuml.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
37
    <orekit.maven-project-info-reports-plugin.version>2.9</orekit.maven-project-info-reports-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
38
    <orekit.maven-resources-plugin.version>3.0.2</orekit.maven-resources-plugin.version>
39
    <orekit.maven-site-plugin.version>3.6</orekit.maven-site-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
40 41
    <orekit.maven-surefire-plugin.version>2.20</orekit.maven-surefire-plugin.version>
    <orekit.maven-surefire-report-plugin.version>2.20</orekit.maven-surefire-report-plugin.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
42
    <orekit.jgit.buildnumber.version>1.2.10</orekit.jgit.buildnumber.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
43 44 45 46
    <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>
    <orekit.maven-install-plugin.version>2.5.2</orekit.maven-install-plugin.version>
47
    <orekit.hipparchus.version>1.1</orekit.hipparchus.version>
Luc Maisonobe's avatar
Luc Maisonobe committed
48
    <orekit.junit.version>4.12</orekit.junit.version>
49 50
    <orekit.compiler.source>1.8</orekit.compiler.source>
    <orekit.compiler.target>1.8</orekit.compiler.target>
51
    <orekit.implementation.build>${git.revision}; ${maven.build.timestamp}</orekit.implementation.build>
Luc Maisonobe's avatar
Luc Maisonobe committed
52
  </properties>
53

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

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

217
  <organization>
218
    <name>CS Syst&#232;mes d&#039;Information</name>
219 220
    <url>http://www.c-s.fr/</url>
  </organization>
Luc Maisonobe's avatar
Luc Maisonobe committed
221

222 223
  <licenses>
    <license>
224
      <name>The Apache Software License, Version 2.0</name>
225 226 227 228
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>

229
  <scm>
Luc Maisonobe's avatar
Luc Maisonobe committed
230
    <connection>scm:git:https://www.orekit.org/git/orekit-main.git</connection>
231
    <developerConnection>scm:git:ssh://git@www.orekit.org/orekit-main.git</developerConnection>
232 233 234
    <url>https://www.orekit.org/forge/projects/orekit/repository</url>
  </scm>

235
  <issueManagement>
236
      <system>Redmine</system>
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262
      <url>https://www.orekit.org/forge/projects/orekit/issues</url>
  </issueManagement>

  <mailingLists>
    <mailingList>
      <name>Orekit announces mailing list</name>
      <subscribe>https://www.orekit.org/wws/subscribe/orekit-announces</subscribe>
      <unsubscribe>https://www.orekit.org/wws/signoff/orekit-announces</unsubscribe>
      <archive>https://www.orekit.org/wws/arc/orekit-announces</archive>
    </mailingList>
    <mailingList>
      <name>Orekit users mailing list</name>
      <subscribe>https://www.orekit.org/wws/subscribe/orekit-users</subscribe>
      <unsubscribe>https://www.orekit.org/wws/signoff/orekit-users</unsubscribe>
      <post>orekit-users@orekit.org</post>
      <archive>https://www.orekit.org/wws/arc/orekit-users</archive>
    </mailingList>
    <mailingList>
      <name>Orekit developers mailing list</name>
      <subscribe>https://www.orekit.org/wws/subscribe/orekit-developers</subscribe>
      <unsubscribe>https://www.orekit.org/wws/signoff/orekit-developers</unsubscribe>
      <post>orekit-developers@orekit.org</post>
      <archive>https://www.orekit.org/wws/arc/orekit-developers</archive>
    </mailingList>
  </mailingLists>

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

323
  <build>
324
    <plugins>
325 326
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
327
        <artifactId>maven-compiler-plugin</artifactId>
328
        <version>${orekit.maven-compiler-plugin.version}</version>
329
        <configuration>
330 331
          <source>${orekit.compiler.source}</source>
          <target>${orekit.compiler.target}</target>
332
          <compilerArgument>-Xlint:deprecation</compilerArgument>
333 334
        </configuration>
      </plugin>
335 336
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
337
        <version>${orekit.maven-assembly-plugin.version}</version>
338 339
        <configuration>
          <descriptors>
Luc Maisonobe's avatar
Luc Maisonobe committed
340 341
            <descriptor>src/main/assembly/source-jar-assembly.xml</descriptor>
            <descriptor>src/main/assembly/source-distribution-assembly.xml</descriptor>
342 343 344
          </descriptors>
        </configuration>
      </plugin>
345 346 347
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
348
        <version>${orekit.maven-bundle-plugin.version}</version>
349 350
        <extensions>true</extensions>
        <configuration>
351 352 353 354
          <archive>
            <forced>true</forced>
          </archive>
          <manifestLocation>${project.build.directory}/osgi</manifestLocation>
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369
          <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>
370 371 372
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
373
        <version>${orekit.maven-resources-plugin.version}</version>
374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393
        <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>
394 395 396 397
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
398
        <version>${orekit.maven-clean-plugin.version}</version>
399 400 401 402
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
403
        <version>${orekit.maven-site-plugin.version}</version>
404 405 406 407
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
408
        <version>${orekit.maven-surefire-plugin.version}</version>
409 410 411 412
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
413
        <version>${orekit.maven-changes-plugin.version}</version>
414 415 416 417
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
418
        <version>${orekit.maven-jxr-plugin.version}</version>
419 420 421 422
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
423
        <version>${orekit.maven-javadoc-plugin.version}</version>
424 425 426 427
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
428
        <version>${orekit.jacoco-maven-plugin.version}</version>
429 430 431 432 433 434 435
        <executions>
          <execution>
            <id>prepare-agent</id>
            <phase>process-test-classes</phase>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
436 437 438 439 440
            <configuration>
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
            </configuration>
441 442 443 444 445 446 447
          </execution>
          <execution>
            <id>report</id>
            <phase>site</phase>
            <goals>
              <goal>report</goal>
            </goals>
448 449 450 451 452
            <configuration>
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
            </configuration>
453 454 455 456 457 458 459
          </execution>
          <execution>
            <id>check</id>
            <goals>
              <goal>check</goal>
            </goals>
            <configuration>
Evan Ward's avatar
Evan Ward committed
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496
              <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>
497
              <haltOnFailure>false</haltOnFailure>
498 499 500
              <excludes>
               <exclude>fr/cs/examples/**/*.class</exclude>
              </excludes>
501 502 503 504
            </configuration>
          </execution>
        </executions>
      </plugin>
505 506
      <plugin>
        <groupId>com.github.jeluard</groupId>
Luc Maisonobe's avatar
Luc Maisonobe committed
507 508
        <artifactId>plantuml-maven-plugin</artifactId>
        <version>${orekit.plantuml-maven-plugin.version}</version>
509 510
        <configuration>
          <sourceFiles>
Luc Maisonobe's avatar
Luc Maisonobe committed
511
            <directory>${basedir}/src/design</directory>
512 513
            <includes>
              <include>
Luc Maisonobe's avatar
Luc Maisonobe committed
514
                *.puml
515 516 517 518
              </include>
            </includes>
          </sourceFiles>
          <outputDirectory>
519
            ${project.build.directory}/site/images/design
520 521
          </outputDirectory>
        </configuration>
Luc Maisonobe's avatar
Luc Maisonobe committed
522 523 524 525 526 527 528
        <dependencies>
          <dependency>
            <groupId>net.sourceforge.plantuml</groupId>
            <artifactId>plantuml</artifactId>
            <version>${orekit.plantuml.version}</version>
          </dependency>
        </dependencies>
529 530 531 532 533 534 535 536 537
        <executions>
          <execution>
            <phase>pre-site</phase>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
538 539 540 541 542 543
      <plugin>
        <groupId>ru.concerteza.buildnumber</groupId>
        <artifactId>maven-jgit-buildnumber-plugin</artifactId>
        <version>${orekit.jgit.buildnumber.version}</version>
        <executions>
          <execution>
544
            <phase>prepare-package</phase>
Luc Maisonobe's avatar
Luc Maisonobe committed
545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560
            <goals>
              <goal>extract-buildnumber</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
        </configuration>
      </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>
561
              <Implementation-Build>${orekit.implementation.build}</Implementation-Build>
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 601 602
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
603
        <version>${orekit.findbugs-maven-plugin.version}</version>
604 605 606 607 608
        <configuration>
          <threshold>Normal</threshold>
          <effort>Default</effort>
          <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
       </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>
Luc Maisonobe's avatar
Luc Maisonobe committed
641 642 643 644 645 646 647 648 649 650 651 652 653 654
        <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>
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>
Luc Maisonobe's avatar
Luc Maisonobe committed
669 670
            <link>http://docs.oracle.com/javase/8/docs/api/</link>
            <link>https://www.hipparchus.org/apidocs/</link>
671 672
          </links>
        </configuration>
673 674 675 676 677 678 679
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
680
      </plugin>
681 682 683
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
684
        <version>${orekit.jacoco-maven-plugin.version}</version>
685
      </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
686 687
    </plugins>
  </reporting>
688 689 690 691 692 693

  <profiles>
    <profile>
      <id>release</id>
      <build>
        <plugins>
Luc Maisonobe's avatar
Luc Maisonobe committed
694
          <plugin>
695
            <groupId>org.apache.maven.plugins</groupId>
Luc Maisonobe's avatar
Luc Maisonobe committed
696 697
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>${orekit.maven-javadoc-plugin.version}</version>
698 699
            <executions>
              <execution>
Luc Maisonobe's avatar
Luc Maisonobe committed
700
                <id>attach-javadocs</id>
701 702 703 704 705 706
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
Luc Maisonobe's avatar
Luc Maisonobe committed
707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
          <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>
767
        </plugins>
Luc Maisonobe's avatar
Luc Maisonobe committed
768
     </build>
769
    </profile>
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 799 800 801 802 803 804 805 806 807 808
    <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>
809 810
  </profiles>

811
</project>