pom.xml 29 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.2-SNAPSHOT</version>
9
  <name>ORbit Extrapolation KIT</name>
10
  <url>http://www.orekit.org/</url>
Luc Maisonobe's avatar
Luc Maisonobe committed
11 12 13 14 15 16 17 18 19

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

20 21 22
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
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>
29
    <orekit.checkstyle.version>8.10</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>
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.3</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>Albert Alcarraz Garc&#237;a</name>
    </contributor>
161 162 163
    <contributor>
      <name>Daniel Aguilar Taboada</name>
    </contributor>
164
    <contributor>
165
      <name>Lucian B&#259;rbulescu</name>
166 167 168 169
    </contributor>
    <contributor>
      <name>Petre Bazavan</name>
    </contributor>
170 171 172
    <contributor>
      <name>Nicolas Bernard</name>
    </contributor>
173
    <contributor>
174
      <name>Espen Bj&#248;rntvedt</name>
175 176
    </contributor>
    <contributor>
177 178 179
      <name>Paul Cefola</name>
    </contributor>
    <contributor>
180
      <name>Francesco Coccoluto</name>
181
    </contributor>
182 183 184
    <contributor>
      <name>&#201;douard Delente</name>
    </contributor>
185 186 187
    <contributor>
      <name>James Housden</name>
    </contributor>
188 189 190 191 192 193
    <contributor>
      <name>Fran&#231;ois-Xavier Laffont</name>
    </contributor>
    <contributor>
      <name>Christine Fernandez-Martin</name>
    </contributor>
194
    <contributor>
195
      <name>Lars N&#230;sbye Christensen</name>
196
    </contributor>
197 198 199
    <contributor>
      <name>Steven Ports</name>
    </contributor>
200 201 202
    <contributor>
      <name>Silvia R&#237;os Berganti&#241;os</name>
    </contributor>
203 204 205
    <contributor>
      <name>Francesco Rocca</name>
    </contributor>
206 207 208
    <contributor>
      <name>Mathieu Rom&#233;ro</name>
    </contributor>
209
    <contributor>
210
      <name>Beatriz Salazar Garc&#237;a</name>
211
    </contributor>
212 213 214
    <contributor>
      <name>Ioanna Stypsanelli</name>
    </contributor>
Luc Maisonobe's avatar
Luc Maisonobe committed
215 216 217
    <contributor>
      <name>Michael Turner</name>
    </contributor>
218
  </contributors>
219

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

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

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

238
  <issueManagement>
239
      <system>Redmine</system>
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265
      <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>

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

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

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

  <profiles>
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 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723
    <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>
724 725 726 727
    <profile>
      <id>release</id>
      <build>
        <plugins>
728
          <plugin>
729
            <groupId>org.apache.maven.plugins</groupId>
730 731
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>${orekit.maven-javadoc-plugin.version}</version>
732 733
            <executions>
              <execution>
734
                <id>attach-javadocs</id>
735 736 737 738 739 740
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
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 799 800
          <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>
801
        </plugins>
802
     </build>
803
    </profile>
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 841 842
    <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>
843 844
  </profiles>

845
</project>