<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>


  <groupId>com.ai-solutions.freeflyer</groupId>
  <artifactId>freeflyer-runtimeapi</artifactId>
  <version>3.0.0</version>


  <name>FreeFlyer® Runtime API</name>
  <description>Java interface for the FreeFlyer® Runtime API</description>
  <url>https://ai-solutions.com/freeflyer/</url>


  <inceptionYear>2019</inceptionYear>


  <licenses>
    <license>
      <name>FreeFlyer Runtime API Module EULA</name>
      <distribution>repo</distribution>
      <comments>For detailed license information see the LICENSE file in this distribution.</comments>
    </license>
  </licenses>


  <scm>
    <url>N/A</url>
  </scm>


  <developers>
    <developer>
      <name>a.i. solutions, Inc.</name>
      <url>https://ai-solutions.com</url>
    </developer>
  </developers>


  <distributionManagement>

    <snapshotRepository>
      <id>ossrh-com.ai-solutions</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>


    <repository>
      <id>ossrh-com.ai-solutions</id>
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
    </repository>

  </distributionManagement>


  <properties>

    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.7</maven.compiler.source>
    <maven.compiler.target>1.7</maven.compiler.target>

  </properties>


  <dependencies>

    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna</artifactId>
      <version>4.1.0</version>
    </dependency>

  </dependencies>


  <build>

    <plugins>

      <!-- Generate a JavaDoc JAR -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.1.0</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>


      <!-- Sign all of the attached artifacts -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.6</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>


      <!-- Deploy all of the attached artifacts -->
      <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
        <version>1.6.8</version>
        <extensions>true</extensions>
        <configuration>
          <serverId>ossrh-com.ai-solutions</serverId>
          <nexusUrl>https://oss.sonatype.org/</nexusUrl>
          <autoReleaseAfterClose>false</autoReleaseAfterClose>
        </configuration>
      </plugin>

    </plugins>

  </build>

</project>
