Skip to content
Snippets Groups Projects
pom.xml 18.4 KiB
Newer Older
  • Learn to ignore specific revisions
  • Luc Maisonobe's avatar
    Luc Maisonobe committed
    <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-SNAPSHOT</version>
    
      <url>https://www.orekit.org/rugged</url>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
    
      <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.0</rugged.findbugs-maven-plugin.version>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
        <rugged.jacoco-maven-plugin.version>0.7.7.201606060606</rugged.jacoco-maven-plugin.version>
        <rugged.maven-assembly-plugin.version>2.6</rugged.maven-assembly-plugin.version>
        <rugged.maven-bundle-plugin.version>3.2.0</rugged.maven-bundle-plugin.version>
        <rugged.maven-changes-plugin.version>2.12</rugged.maven-changes-plugin.version>
    
        <rugged.maven-checkstyle-plugin.version>2.17</rugged.maven-checkstyle-plugin.version>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
        <rugged.maven-clean-plugin.version>3.0.0</rugged.maven-clean-plugin.version>
        <rugged.maven-compiler-plugin.version>3.5.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.maven-plantuml-plugin.version>7940</rugged.maven-plantuml-plugin.version>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
        <rugged.maven-project-info-reports-plugin.version>2.9</rugged.maven-project-info-reports-plugin.version>
        <rugged.maven-site-plugin.version>3.5.1</rugged.maven-site-plugin.version>
        <rugged.maven-source-plugin.version>3.0.1</rugged.maven-source-plugin.version>
        <rugged.maven-surefire-plugin.version>2.19.1</rugged.maven-surefire-plugin.version>
        <rugged.maven-surefire-report-plugin.version>2.19.1</rugged.maven-surefire-report-plugin.version>
        <rugged.maven-resources-plugin.version>3.0.1</rugged.maven-resources-plugin.version>
        <rugged.jgit.buildnumber.version>1.2.10</rugged.jgit.buildnumber.version>
    
        <rugged.plantuml.version>7999</rugged.plantuml.version>
    
        <rugged.orekit.version>8.0</rugged.orekit.version>
        <rugged.hipparchus.version>1.0</rugged.hipparchus.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>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
      <developers>
        <developer>
          <name>Luc Maisonobe</name>
          <id>luc</id>
          <roles>
            <role>architect</role>
            <role>developer</role>
          </roles>
        </developer>
      </developers>
    
      <contributors>
    
        <contributor>
          <name>Lucian Barbulescu</name>
        </contributor>
    
        <contributor>
          <name>Silvia R&#237;os Berganti&#241;os</name>
        </contributor>
    
        <contributor>
          <name>Espen Bj&#248;rntvedt</name>
        </contributor>
    
        <contributor>
          <name>Francesco Coccoluto</name>
        </contributor>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
        <contributor>
          <name>Aude Espesset</name>
        </contributor>
    
        <contributor>
          <name>Marina Ludwig</name>
        </contributor>
    
        <contributor>
          <name>Beatriz Salazar</name>
        </contributor>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
      </contributors>
    
      <organization>
        <name>CS Syst&#232;mes d&#039;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>
    
            <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>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <version>4.11</version>
          <type>jar</type>
          <scope>test</scope>
          <optional>false</optional>
        </dependency>
      </dependencies>
    
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
      <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>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>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-assembly-plugin</artifactId>
            <version>${rugged.maven-assembly-plugin.version}</version>
            <configuration>
              <descriptors>
                <descriptor>src/assembly/source-assembly.xml</descriptor>
                <descriptor>src/assembly/binary-assembly.xml</descriptor>
              </descriptors>
            </configuration>
            <executions>
              <execution>
                <id>make-assembly</id>
                <phase>package</phase>
                <goals>
                  <goal>single</goal>
                </goals>
              </execution>
            </executions>
          </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>
              </execution>
              <execution>
                <id>report</id>
                <phase>site</phase>
                <goals>
                  <goal>report</goal>
                </goals>
              </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>maven-plantuml-plugin</artifactId>
            <version>${rugged.maven-plantuml-plugin.version}</version>
            <configuration>
              <sourceFiles>
                <directory>${basedir}</directory>
                <includes>
                  <include>
                    design/**/*.puml
                  </include>
                </includes>
              </sourceFiles>
    
              <outputDirectory>${project.build.directory}/site/images/design</outputDirectory>
    
            </configuration>
            <executions>
              <execution>
                <phase>pre-site</phase>
                <goals>
                  <goal>generate</goal>
                </goals>
              </execution>
            </executions>
            <dependencies>
              <dependency>
                <groupId>net.sourceforge.plantuml</groupId>
                <artifactId>plantuml</artifactId>
                <version>${rugged.plantuml.version}</version>
              </dependency>
            </dependencies>
          </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>
            <configuration>
              <configLocation>${basedir}/checkstyle.xml</configLocation>
              <enableRulesSummary>false</enableRulesSummary>
              <headerLocation>${basedir}/license-header.txt</headerLocation>
            </configuration>
          </plugin>
    
        </plugins>
    
        <pluginManagement>
          <plugins>
            <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
            <plugin>
              <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>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
      </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>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>findbugs-maven-plugin</artifactId>
    
            <version>${rugged.findbugs-maven-plugin.version}</version>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
            <configuration>
              <threshold>Normal</threshold>
              <effort>Default</effort>
    
              <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
           </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>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-checkstyle-plugin</artifactId>
    
            <version>${rugged.maven-checkstyle-plugin.version}</version>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
            <configuration>
    
              <configLocation>${basedir}/checkstyle.xml</configLocation>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
              <enableRulesSummary>false</enableRulesSummary>
    
              <headerLocation>${basedir}/license-header.txt</headerLocation>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-changes-plugin</artifactId>
    
            <version>${rugged.maven-changes-plugin.version}</version>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
            <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>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
            <configuration>
              <linkJavadoc>false</linkJavadoc>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
    
            <version>${rugged.maven-javadoc-plugin.version}</version>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
            <configuration>
    
              <overview>${basedir}/core/src/main/java/org/orekit/rugged/overview.html</overview>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
              <links>
    
                <link>http://docs.oracle.com/javase/8/docs/api/</link>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
                <link>https://hipparchus.org/apidocs/</link>
    
                <link>https://www.orekit.org/site-orekit-${rugged.orekit.version}/apidocs/</link>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
              </links>
    
              <charset>${project.reporting.outputEncoding}</charset>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
            </configuration>
    
            <reportSets>
              <reportSet>
                <reports>
                  <report>javadoc</report>
                </reports>
              </reportSet>
            </reportSets>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
          </plugin>
    
          <plugin>
            <groupId>org.jacoco</groupId>
            <artifactId>jacoco-maven-plugin</artifactId>
            <version>${rugged.jacoco-maven-plugin.version}</version>
          </plugin>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
        </plugins>
      </reporting>
    
      <profiles>
        <profile>
          <id>release</id>
          <build>
            <plugins>
               <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
    
                <version>${rugged.maven-source-plugin.version}</version>
    
    Luc Maisonobe's avatar
    Luc Maisonobe committed
                <executions>
                  <execution>
                    <id>create-source-jar</id>
                    <goals>
                      <goal>jar</goal>
                    </goals>
                    <phase>package</phase>
                  </execution>
                </executions>
              </plugin>
            </plugins>
          </build>
        </profile>
      </profiles>
    
    </project>