Newer
Older
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.orekit</groupId>
<packaging>jar</packaging>
<url>http://www.orekit.org/</url>
<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>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<orekit.spotbugs-maven-plugin.version>3.1.12.2</orekit.spotbugs-maven-plugin.version>
<orekit.jacoco-maven-plugin.version>0.8.5</orekit.jacoco-maven-plugin.version>
<orekit.maven-bundle-plugin.version>4.2.1</orekit.maven-bundle-plugin.version>
<orekit.maven-changes-plugin.version>2.12.1</orekit.maven-changes-plugin.version>
<orekit.maven-checkstyle-plugin.version>3.1.1</orekit.maven-checkstyle-plugin.version>
<orekit.checkstyle.version>8.29</orekit.checkstyle.version>
<orekit.maven-clean-plugin.version>3.1.0</orekit.maven-clean-plugin.version>
<orekit.maven-compiler-plugin.version>3.8.1</orekit.maven-compiler-plugin.version>
<orekit.maven-javadoc-plugin.version>3.1.1</orekit.maven-javadoc-plugin.version>
<orekit.maven-jar-plugin.version>3.2.0</orekit.maven-jar-plugin.version>
<orekit.maven-jxr-plugin.version>3.0.0</orekit.maven-jxr-plugin.version>
<orekit.plantuml-maven-plugin.version>1.2</orekit.plantuml-maven-plugin.version>
<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.8.2</orekit.maven-site-plugin.version>
<orekit.maven-wagon-ssh-plugin.version>3.3.4</orekit.maven-wagon-ssh-plugin.version>
<orekit.maven-source-plugin.version>3.2.1</orekit.maven-source-plugin.version>
<!-- Surefire 2.22.2 is the last to support CentOS/RedHat 7 due to
https://issues.apache.org/jira/browse/SUREFIRE-1628 -->
<orekit.maven-surefire-plugin.version>2.22.2</orekit.maven-surefire-plugin.version>
<orekit.maven-surefire-report-plugin.version>3.0.0-M4</orekit.maven-surefire-report-plugin.version>
<orekit.mockito-core.version>3.2.4</orekit.mockito-core.version>
<orekit.jgit.buildnumber.version>1.2.10</orekit.jgit.buildnumber.version>
<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>3.0.0-M1</orekit.maven-install-plugin.version>
<orekit.mathjax.config><script type="text/x-mathjax-config">MathJax.Hub.Config({ TeX: { extensions: ["autoload.js"]}});</script></orekit.mathjax.config>
<orekit.mathjax.enable><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_CHTML"></script></orekit.mathjax.enable>
<orekit.hipparchus.version>1.7-SNAPSHOT</orekit.hipparchus.version>
<orekit.compiler.source>1.8</orekit.compiler.source>
<orekit.compiler.target>1.8</orekit.compiler.target>
<orekit.implementation.build>${git.revision}; ${maven.build.timestamp}</orekit.implementation.build>
<!-- sonar related properties -->
<sonar.host.url>https://sonar.orekit.org/</sonar.host.url>
<!-- for building javac plugin -->
<tools.jar.dir>${java.home}/../lib/</tools.jar.dir>
<tools.jar.path>${tools.jar.dir}/tools.jar</tools.jar.path>
<distributionManagement>
<site>
<id>website</id>
<url>scp://cochise@spoutnik.orekit.org/var/www/mvn-sites/site-orekit-${project.version}</url>
</site>
</distributionManagement>
<name>Luc Maisonobe</name>
<id>luc</id>
<role>architect</role>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Bryan Cazabonne</name>
<id>bryan</id>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Thierry Ceolin</name>
<id>thierry</id>
<roles>
<role>developer</role>
</roles>
</developer>
<name>Romain Di Costanzo</name>
<id>romain</id>
<roles>
<role>developer</role>
</roles>
<developer>
<name>Romain Garmier</name>
<roles>
<role>developer</role>
</roles>
<developer>
<name>Hank Grabowski</name>
<id>hankg</id>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Maxime Journot</name>
<id>maxime</id>
<roles>
<role>developer</role>
</roles>
</developer>
<name>Fabien Maussion</name>
<roles>
<role>developer</role>
</roles>
Pascal Parraud
committed
</developer>
<developer>
<name>Pascal Parraud</name>
<id>pascal</id>
<roles>
<role>developer</role>
</roles>
<name>Véronique Pommier-Maurussane</name>
<roles>
<role>developer</role>
</roles>
<name>Guylaine Prat</name>
<id>guylaine</id>
<roles>
<role>developer</role>
</roles>
<developer>
<name>Aude Privat</name>
<id>aude</id>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Bruno Revelin</name>
<id>bruno</id>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Thomas Neidhart</name>
<id>thomas</id>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Evan Ward</name>
<id>evan</id>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Yannick Jeandroz</name>
<id>yannick</id>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Clément Jonglez</name>
<id>clement</id>
<roles>
<role>developer</role>
</roles>
</developer>
<contributor>
<name>Roberto Alacevich</name>
</contributor>
<contributor>
<name>Albert Alcarraz García</name>
</contributor>
<name>Daniel Aguilar Taboada</name>
</contributor>
</contributor>
<contributor>
<name>Petre Bazavan</name>
</contributor>
<contributor>
<name>Laurene Beauvalet</name>
</contributor>
<contributor>
<name>Nicolas Bernard</name>
</contributor>
<name>Espen Bjørntvedt</name>
</contributor>
<contributor>
<name>Paul Cefola</name>
</contributor>
<contributor>
<name>Francesco Coccoluto</name>
<contributor>
<name>Sébastien Dinot</name>
</contributor>
<contributor>
<name>Édouard Delente</name>
</contributor>
<contributor>
<name>Christine Fernandez-Martin</name>
</contributor>
<contributor>
<name>Romaric Her</name>
</contributor>
<contributor>
<name>James Housden</name>
</contributor>
<name>François-Xavier Laffont</name>
<contributor>
<name>Lukas Matt</name>
</contributor>
<contributor>
<name>Vincent Mouraux</name>
</contributor>
<contributor>
</contributor>
<contributor>
<name>Steven Ports</name>
</contributor>
<contributor>
<name>Silvia Ríos Bergantiños</name>
</contributor>
<contributor>
<name>Francesco Rocca</name>
</contributor>
<contributor>
<name>Mathieu Roméro</name>
</contributor>
<contributor>
<name>Ioanna Stypsanelli</name>
</contributor>
<contributor>
<name>Michael Turner</name>
</contributor>
<contributor>
<name>Gabriele Serafini</name>
</contributor>
<contributor>
<name>Shiva Iyer</name>
</contributor>
<contributor>
<name>David Soulard</name>
</contributor>
<url>http://www.c-s.fr/</url>
</organization>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<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>
<issueManagement>
<system>Gitlab</system>
<url>https://gitlab.orekit.org/orekit/orekit/issues</url>
</issueManagement>
<groupId>org.hipparchus</groupId>
<artifactId>hipparchus-core</artifactId>
<version>${orekit.hipparchus.version}</version>
<type>jar</type>
<optional>false</optional>
</dependency>
<dependency>
<groupId>org.hipparchus</groupId>
<artifactId>hipparchus-geometry</artifactId>
<version>${orekit.hipparchus.version}</version>
</dependency>
<dependency>
<groupId>org.hipparchus</groupId>
<artifactId>hipparchus-ode</artifactId>
<version>${orekit.hipparchus.version}</version>
<type>jar</type>
<optional>false</optional>
</dependency>
<dependency>
<groupId>org.hipparchus</groupId>
<artifactId>hipparchus-fitting</artifactId>
<version>${orekit.hipparchus.version}</version>
<type>jar</type>
<optional>false</optional>
</dependency>
<dependency>
<groupId>org.hipparchus</groupId>
<artifactId>hipparchus-optim</artifactId>
<version>${orekit.hipparchus.version}</version>
<type>jar</type>
<optional>false</optional>
<dependency>
<groupId>org.hipparchus</groupId>
<artifactId>hipparchus-filtering</artifactId>
<version>${orekit.hipparchus.version}</version>
<type>jar</type>
<groupId>org.hipparchus</groupId>
<artifactId>hipparchus-stat</artifactId>
<version>${orekit.hipparchus.version}</version>
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${orekit.mockito-core.version}</version>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${orekit.junit.version}</version>
<type>jar</type>
<scope>test</scope>
<optional>false</optional>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${orekit.maven-compiler-plugin.version}</version>
<source>${orekit.compiler.source}</source>
<target>${orekit.compiler.target}</target>
<showWarnings>true</showWarnings>
<compilerArgs>
<arg>-Xlint:deprecation</arg>
<arg>-Xplugin:dataContextPlugin</arg>
</compilerArgs>
<executions>
<execution>
<id>default-compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<excludes>
<!-- don't recompile the compiler plugin. -->
<exclude>org/orekit/compiler/**</exclude>
</excludes>
</configuration>
</execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Xlint:deprecation</arg>
<!-- don't activate the compiler plugin for Orekit own tests -->
<!-- thousands of tests use intentionally the default context -->
</compilerArgs>
</configuration>
</execution>
<execution>
<!-- need to compile these two packages before the rest so that the compiler
plugin will work. -->
<id>plugin-compile</id>
<goals>
<goal>compile</goal>
</goals>
<!-- the phase before compile. -->
<phase>process-resources</phase>
<configuration>
<includes>
<include>org/orekit/annotation/**</include>
<include>org/orekit/compiler/**</include>
</includes>
<compilerArgs>
<arg>-Xlint:deprecation</arg>
<!-- Add the Java compiler to the classpath. This avoids creating a system
dependency which is inherited by projects using Orekit. -->
<arg>-classpath</arg>
<arg>${tools.jar.path}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${orekit.maven-bundle-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<archive>
<forced>true</forced>
</archive>
<manifestLocation>${project.build.directory}/osgi</manifestLocation>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${orekit.maven-resources-plugin.version}</version>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<!-- Ensure LICENSE and NOTICE are shipped with binary jar -->
<outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
<resources>
<resource>
<directory>.</directory>
<includes>
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
<include>LICENSE.txt</include>
<include>NOTICE.txt</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${orekit.build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>add-resource</id>
<phase>process-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<!-- Ensure LICENSE and NOTICE are shipped with sources jar -->
<resources>
<resource>
<directory>.</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE.txt</include>
<include>NOTICE.txt</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${orekit.maven-clean-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${orekit.maven-site-plugin.version}</version>
<dependencies>
<dependency><!-- add support for ssh/scp -->
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>${orekit.maven-wagon-ssh-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${orekit.maven-surefire-plugin.version}</version>
<configuration>
<additionalClasspathElements>
<additionalClasspathElement>${tools.jar.path}</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>${orekit.maven-changes-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${orekit.maven-jxr-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${orekit.maven-javadoc-plugin.version}</version>
<configuration>
<overview>${basedir}/src/main/java/org/orekit/overview.html</overview>
<additionalOptions>
<option>--allow-script-in-comments</option>
<option>-header</option>
<option>'${orekit.mathjax.config} ${orekit.mathjax.enable}'</option>
<option>-extdirs</option>
<option>${tools.jar.dir}</option>
</additionalOptions>
<bottom><![CDATA[Copyright © ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS GROUP</a>. All rights reserved.]]></bottom>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
<link>https://www.hipparchus.org/apidocs/</link>
</links>
<source>${orekit.compiler.source}</source>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${orekit.jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>prepare-agent</id>
<phase>process-test-classes</phase>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<excludes>
<exclude>fr/cs/examples/**/*.class</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>report</id>
<phase>site</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<excludes>
<exclude>fr/cs/examples/**/*.class</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
<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>
<haltOnFailure>false</haltOnFailure>
<excludes>
<exclude>fr/cs/examples/**/*.class</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.jeluard</groupId>
<artifactId>plantuml-maven-plugin</artifactId>
<version>${orekit.plantuml-maven-plugin.version}</version>
<configuration>
<sourceFiles>
<includes>
<include>
</include>
</includes>
</sourceFiles>
<outputDirectory>
${project.build.directory}/site/images/design
</outputDirectory>
</configuration>
<dependencies>
<dependency>
<groupId>net.sourceforge.plantuml</groupId>
<artifactId>plantuml</artifactId>
<version>${orekit.plantuml.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>generate</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>
<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>

Luc Maisonobe
committed
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${orekit.maven-checkstyle-plugin.version}</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${orekit.checkstyle.version}</version>
</dependency>
</dependencies>

Luc Maisonobe
committed
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<headerLocation>${basedir}/license-header.txt</headerLocation>
</configuration>
</plugin>
<artifactId>maven-site-plugin</artifactId>
<version>${orekit.maven-site-plugin.version}</version>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${orekit.maven-project-info-reports-plugin.version}</version>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${orekit.spotbugs-maven-plugin.version}</version>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>
<excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${orekit.maven-surefire-plugin.version}</version>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${orekit.maven-surefire-report-plugin.version}</version>
</plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${orekit.maven-checkstyle-plugin.version}</version>

Luc Maisonobe
committed
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<headerLocation>${basedir}/license-header.txt</headerLocation>
<reportSets>
<reportSet>
<reports>
<report>checkstyle</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>${orekit.maven-changes-plugin.version}</version>
<configuration>
<teamlist>team.html</teamlist>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${orekit.maven-jxr-plugin.version}</version>
<linkJavadoc>false</linkJavadoc>
<bottom><![CDATA[Copyright © ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS GROUP</a>. All rights reserved.]]></bottom>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${orekit.maven-javadoc-plugin.version}</version>
<overview>${basedir}/src/main/java/org/orekit/overview.html</overview>
<additionalOptions>
<option>--allow-script-in-comments</option>
<option>-header</option>
<option>'${orekit.mathjax.config} ${orekit.mathjax.enable}'</option>
<option>-extdirs</option>
<option>${tools.jar.dir}</option>
</additionalOptions>
<bottom><![CDATA[Copyright © ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS GROUP</a>. All rights reserved.]]></bottom>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
<reportSets>
<reportSet>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${orekit.jacoco-maven-plugin.version}</version>
<profiles>
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
<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>
<profile>
<id>release</id>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${orekit.maven-javadoc-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
<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>
<keyname>0802AB8C87B0B1AEC1C1C5871550FDBD6375C33B</keyname>
</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>
</plugins>
</profile>
<profile>
<id>continuous-integration</id>
<activation>
<property>
<!-- Var Env set by GitLab-CI -->
<name>env.CI</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${orekit.maven-surefire-plugin.version}</version>
<configuration>
<!-- Orekit is mostly a computational library. -->
<!-- As there is not a lot of I/O it is better to not overide the number of CPU. -->
<forkCount>1C</forkCount>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- A profile to configure staging deployment (for continuous integration process) -->
<distributionManagement>
<repository>
<id>ci-releases</id>
<url>https://packages.orekit.org/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>ci-snapshots</id>
<url>https://packages.orekit.org/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
<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>
</profiles>