<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> <artifactId>rugged</artifactId> <version>2.0</version> <packaging>jar</packaging> <name>Rugged</name> <url>https://www.orekit.org/rugged</url> <inceptionYear>2014</inceptionYear> <description> Rugged is an Orekit add-on handling Digital Elevation Models contribution to line of sight computation </description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <rugged.findbugs-maven-plugin.version>3.0.4</rugged.findbugs-maven-plugin.version> <rugged.jacoco-maven-plugin.version>0.7.9</rugged.jacoco-maven-plugin.version> <rugged.maven-assembly-plugin.version>3.0.0</rugged.maven-assembly-plugin.version> <rugged.maven-bundle-plugin.version>3.3.0</rugged.maven-bundle-plugin.version> <rugged.maven-changes-plugin.version>2.12.1</rugged.maven-changes-plugin.version> <rugged.maven-checkstyle-plugin.version>2.17</rugged.maven-checkstyle-plugin.version> <rugged.checkstyle.version>8.1</rugged.checkstyle.version> <rugged.maven-clean-plugin.version>3.0.0</rugged.maven-clean-plugin.version> <rugged.maven-compiler-plugin.version>3.6.1</rugged.maven-compiler-plugin.version> <rugged.maven-javadoc-plugin.version>2.10.4</rugged.maven-javadoc-plugin.version> <rugged.maven-jar-plugin.version>3.0.2</rugged.maven-jar-plugin.version> <rugged.maven-jxr-plugin.version>2.5</rugged.maven-jxr-plugin.version> <rugged.plantuml-maven-plugin.version>1.2</rugged.plantuml-maven-plugin.version> <rugged.plantuml.version>1.2017.15</rugged.plantuml.version> <rugged.maven-project-info-reports-plugin.version>2.9</rugged.maven-project-info-reports-plugin.version> <rugged.maven-resources-plugin.version>3.0.2</rugged.maven-resources-plugin.version> <rugged.maven-site-plugin.version>3.6</rugged.maven-site-plugin.version> <rugged.maven-surefire-plugin.version>2.20</rugged.maven-surefire-plugin.version> <rugged.maven-surefire-report-plugin.version>2.20</rugged.maven-surefire-report-plugin.version> <rugged.jgit.buildnumber.version>1.2.10</rugged.jgit.buildnumber.version> <rugged.build-helper-maven-plugin.version>3.0.0</rugged.build-helper-maven-plugin.version> <rugged.nexus-staging-maven-plugin.version>1.6.8</rugged.nexus-staging-maven-plugin.version> <rugged.maven-gpg-plugin.version>1.6</rugged.maven-gpg-plugin.version> <rugged.maven-install-plugin.version>2.5.2</rugged.maven-install-plugin.version> <rugged.orekit.version>9.1</rugged.orekit.version> <rugged.hipparchus.version>1.2</rugged.hipparchus.version> <rugged.junit.version>4.12</rugged.junit.version> <rugged.compiler.source>1.8</rugged.compiler.source> <rugged.compiler.target>1.8</rugged.compiler.target> <rugged.implementation.build>${git.revision}; ${maven.build.timestamp}</rugged.implementation.build> </properties> <developers> <developer> <name>Luc Maisonobe</name> <id>luc</id> <roles> <role>architect</role> <role>developer</role> </roles> </developer> <developer> <name>Guylaine Prat</name> <id>guylaine</id> <roles> <role>developer</role> </roles> </developer> <developer> <name>Jonathan Guinet</name> <id>jonathan</id> <roles> <role>developer</role> </roles> </developer> <developer> <name>Lucie Labat-allée</name> <id>lucie</id> <roles> <role>developer</role> </roles> </developer> </developers> <contributors> <contributor> <name>Lucian Barbulescu</name> </contributor> <contributor> <name>Silvia Ríos Bergantiños</name> </contributor> <contributor> <name>Espen Bjørntvedt</name> </contributor> <contributor> <name>Francesco Coccoluto</name> </contributor> <contributor> <name>Aude Espesset</name> </contributor> <contributor> <name>Marina Ludwig</name> </contributor> <contributor> <name>Lars Næsbye Christensen</name> </contributor> <contributor> <name>Beatriz Salazar</name> </contributor> </contributors> <organization> <name>CS Systèmes d'Information</name> <url>http://www.c-s.fr/</url> </organization> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <scm> <connection>scm:git:https://www.orekit.org/git/rugged-main.git</connection> <developerConnection>scm:git:ssh://git@www.orekit.org/rugged-main.git</developerConnection> <url>https://www.orekit.org/forge/projects/rugged/repository</url> </scm> <issueManagement> <system>Redmine</system> <url>https://www.orekit.org/forge/projects/rugged/issues</url> </issueManagement> <mailingLists> <mailingList> <name>Shared Orekit/Rugged 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>Rugged users mailing list</name> <subscribe>https://www.orekit.org/wws/subscribe/rugged-users</subscribe> <unsubscribe>https://www.orekit.org/wws/signoff/rugged-users</unsubscribe> <post>rugged-users@orekit.org</post> <archive>https://www.orekit.org/wws/arc/rugged-users</archive> </mailingList> <mailingList> <name>Rugged developers mailing list</name> <subscribe>https://www.orekit.org/wws/subscribe/rugged-developers</subscribe> <unsubscribe>https://www.orekit.org/wws/signoff/rugged-developers</unsubscribe> <post>rugged-developers@orekit.org</post> <archive>https://www.orekit.org/wws/arc/rugged-developers</archive> </mailingList> </mailingLists> <distributionManagement> <site> <id>rugged.website</id> <name>Rugged Website</name> <url>https://www.orekit.org/rugged/static/</url> </site> </distributionManagement> <dependencies> <dependency> <groupId>org.orekit</groupId> <artifactId>orekit</artifactId> <version>${rugged.orekit.version}</version> <type>jar</type> <optional>false</optional> </dependency> <dependency> <groupId>org.hipparchus</groupId> <artifactId>hipparchus-core</artifactId> <version>${rugged.hipparchus.version}</version> <type>jar</type> <optional>false</optional> </dependency> <dependency> <groupId>org.hipparchus</groupId> <artifactId>hipparchus-geometry</artifactId> <version>${rugged.hipparchus.version}</version> <type>jar</type> <optional>false</optional> </dependency> <dependency> <groupId>org.hipparchus</groupId> <artifactId>hipparchus-stat</artifactId> <version>${rugged.hipparchus.version}</version> <type>jar</type> <optional>false</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${rugged.junit.version}</version> <type>jar</type> <scope>test</scope> <optional>false</optional> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${rugged.maven-compiler-plugin.version}</version> <configuration> <source>${rugged.compiler.source}</source> <target>${rugged.compiler.target}</target> <compilerArgument>-Xlint:deprecation</compilerArgument> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${rugged.maven-jar-plugin.version}</version> <configuration> <archive> <manifestFile>${project.build.directory}/osgi/MANIFEST.MF</manifestFile> <manifestEntries> <X-Compile-Source-JDK>${rugged.compiler.source}</X-Compile-Source-JDK> <X-Compile-Target-JDK>${rugged.compiler.target}</X-Compile-Target-JDK> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>${rugged.maven-assembly-plugin.version}</version> <configuration> <descriptors> <descriptor>src/main/assembly/source-distribution-assembly.xml</descriptor> <descriptor>src/main/assembly/source-jar-assembly.xml</descriptor> </descriptors> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${rugged.maven-resources-plugin.version}</version> <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> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>${rugged.maven-clean-plugin.version}</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${rugged.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> <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>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${rugged.maven-site-plugin.version}</version> </plugin> <plugin> <groupId>com.github.jeluard</groupId> <artifactId>plantuml-maven-plugin</artifactId> <version>${rugged.plantuml-maven-plugin.version}</version> <configuration> <charset>UTF-8</charset> <sourceFiles> <directory>${basedir}/src/design</directory> <includes> <include> *.puml </include> </includes> </sourceFiles> <outputDirectory> ${project.build.directory}/site/images/design </outputDirectory> </configuration> <dependencies> <dependency> <groupId>net.sourceforge.plantuml</groupId> <artifactId>plantuml</artifactId> <version>${rugged.plantuml.version}</version> </dependency> </dependencies> <executions> <execution> <phase>pre-site</phase> <goals> <goal>generate</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>${rugged.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.rugged.api.*;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-checkstyle-plugin</artifactId> <version>${rugged.maven-checkstyle-plugin.version}</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>${rugged.checkstyle.version}</version> </dependency> </dependencies> <configuration> <configLocation>${basedir}/checkstyle.xml</configLocation> <enableRulesSummary>false</enableRulesSummary> <headerLocation>${basedir}/license-header.txt</headerLocation> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${rugged.maven-site-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>${rugged.maven-project-info-reports-plugin.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>${rugged.findbugs-maven-plugin.version}</version> <configuration> <threshold>Normal</threshold> <effort>Default</effort> <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${rugged.maven-surefire-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${rugged.maven-surefire-report-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${rugged.maven-checkstyle-plugin.version}</version> <configuration> <configLocation>${basedir}/checkstyle.xml</configLocation> <enableRulesSummary>false</enableRulesSummary> <headerLocation>${basedir}/license-header.txt</headerLocation> </configuration> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>${rugged.maven-changes-plugin.version}</version> <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> <version>${rugged.maven-jxr-plugin.version}</version> <configuration> <linkJavadoc>false</linkJavadoc> <bottom><![CDATA[Copyright © ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS Systèmes d'information</a>. All rights reserved.]]></bottom> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${rugged.maven-javadoc-plugin.version}</version> <configuration> <bottom><![CDATA[Copyright © ${project.inceptionYear}-{currentYear} <a href="http://www.c-s.fr">CS Systèmes d'information</a>. All rights reserved.]]></bottom> <links> <link>http://docs.oracle.com/javase/8/docs/api/</link> <link>http://hipparchus.org/apidocs/</link> <link>http://www.orekit.org/site-orekit-${rugged.orekit.version}/apidocs/</link> </links> <charset>${project.reporting.outputEncoding}</charset> </configuration> <reportSets> <reportSet> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${rugged.jacoco-maven-plugin.version}</version> </plugin> </plugins> </reporting> <profiles> <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>${rugged.jgit.buildnumber.version}</version> <executions> <execution> <phase>prepare-package</phase> <goals> <goal>extract-buildnumber</goal> </goals> </execution> </executions> <configuration> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${rugged.maven-jar-plugin.version}</version> <configuration> <archive> <manifestFile>${project.build.directory}/osgi/MANIFEST.MF</manifestFile> <manifestEntries> <Implementation-Build>${rugged.implementation.build}</Implementation-Build> <X-Compile-Source-JDK>${rugged.compiler.source}</X-Compile-Source-JDK> <X-Compile-Target-JDK>${rugged.compiler.target}</X-Compile-Target-JDK> </manifestEntries> </archive> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${rugged.maven-javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${rugged.nexus-staging-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>http://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>false</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${rugged.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/rugged-${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>${rugged.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>${rugged.maven-install-plugin.version}</version> <configuration> <createChecksum>true</createChecksum> </configuration> </plugin> </plugins> </build> </profile> <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>[${rugged.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> </project>