<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.onegevity</groupId>
    <artifactId>onegevity-full-sdk</artifactId>
    <version>2.1.0</version>
    <packaging>jar</packaging>
    <name>Onegevity Platform Full Client SDK</name>
    <url>https://github.com/swagger-api/swagger-codegen</url>
    <description>Onegevity Client SDK</description>
    <scm>
        <connection>scm:git:git://private-git.onegevity.com/full-client-sdk.git</connection>
        <developerConnection>scm:git:git://private-git.onegevity.com/full-client-sdk.git</developerConnection>
        <url>https://private-git.onegevity.com/full-client-sdk/</url>
    </scm>

    <licenses>
        <license>
            <name>The Apache License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
            <name>Onegevity Developers</name>
            <email>developers@thorne.com</email>
            <organization>Onegevity</organization>
            <organizationUrl>https://www.onegevity.com</organizationUrl>
        </developer>
    </developers>

    <build>
        <plugins>
            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>1.6.13</version>
                <extensions>true</extensions>
                <configuration>
                    <serverId>ossrh</serverId>
                    <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
                    <autoReleaseAfterClose>true</autoReleaseAfterClose>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>sign-artifacts</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.5</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <dependencies>
        <dependency>
            <groupId>com.onegevity</groupId>
            <artifactId>onegevity-fulfillment-sdk</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.onegevity</groupId>
            <artifactId>onegevity-orders-sdk</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.onegevity</groupId>
            <artifactId>onegevity-packages-sdk</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.onegevity</groupId>
            <artifactId>onegevity-patients-sdk</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.onegevity</groupId>
            <artifactId>onegevity-products-sdk</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.onegevity</groupId>
            <artifactId>onegevity-recommendations-sdk</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.onegevity</groupId>
            <artifactId>onegevity-reports-sdk</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.onegevity</groupId>
            <artifactId>onegevity-results-sdk</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.onegevity</groupId>
            <artifactId>onegevity-surveys-sdk</artifactId>
            <version>2.1.0</version>
        </dependency>
    </dependencies>

    <distributionManagement>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
        <repository>
            <id>ossrh</id>
            <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
        </repository>
    </distributionManagement>

</project>
