<?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.github.bieliaievays</groupId>
    <artifactId>viewpagerindicator</artifactId>
    <version>1.7</version>
    <packaging>aar</packaging>

    <name>ViewPagerIndicator</name>
    <description>Circles ViewPagerIndicator widget for Android. For projects under Android API &gt;=15.</description>
    <url>https://github.com/bieliaievays/ViewPagerIndicatorCircles</url>

    <properties>
        <platform.version>2.2.1</platform.version>
    </properties>

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

    <developers>
        <developer>
            <id>ashomokdev</id>
            <name>Iuliia Ashomok</name>
            <email>ashomokdev@gmail.com</email>
            <roles>
                <role>architect</role>
                <role>developer</role>
            </roles>
            <timezone>Ukraine/Kiev</timezone>
        </developer>
    </developers>

    <scm>
        <connection>scm:git:git@github.com:bieliaievays/ViewPagerIndicatorCircles.git</connection>
        <developerConnection>scm:git:git@github.com:bieliaievays/ViewPagerIndicatorCircles.git</developerConnection>
        <url>git@github.com:bieliaievays/ViewPagerIndicatorCircles.git</url>
        <tag>viewpagerindicator-1.2</tag>
    </scm>

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

    <build>
        <sourceDirectory>src</sourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>1.6.3</version>
                <extensions>true</extensions>
                <configuration>
                    <serverId>ossrh</serverId>
                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                    <autoReleaseAfterClose>true</autoReleaseAfterClose>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.5</version>
                <configuration>
                    <useReleaseProfile>false</useReleaseProfile>
                    <releaseProfiles>release</releaseProfiles>
                    <goals>deploy</goals>
                </configuration>
            </plugin>
            <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>



            <plugin>
                <groupId>com.jayway.maven.plugins.android.generation2</groupId>
                <artifactId>android-maven-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
                    <resourceDirectory>${project.basedir}/res</resourceDirectory>
                    <sdk>
                        <path>
                            /usr/local/android-sdk-linux
                        </path>
                        <platform>23</platform>
                    </sdk>
                    <undeployBeforeDeploy>true</undeployBeforeDeploy>
                </configuration>
                <extensions>true</extensions>
            </plugin>

            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>





            <!--<plugin>-->
                <!--<groupId>com.simpligility.maven.plugins</groupId>-->
                <!--<artifactId>android-maven-plugin</artifactId>-->
                <!--<version>4.4.2</version>-->
                <!--<extensions>true</extensions>-->
                <!--<configuration>-->
                    <!--<androidManifestFile>${basedir}/AndroidManifest.xml</androidManifestFile>-->
                    <!--<nativeLibrariesDirectory>${basedir}/libs</nativeLibrariesDirectory>-->
                    <!--<resourceDirectory>${basedir}/res</resourceDirectory>-->
                    <!--<sdk>-->
                        <!--<path>-->
                            <!--/usr/local/android-sdk-linux-->
                        <!--</path>-->
                        <!--<platform>24</platform>-->
                    <!--</sdk>-->
                <!--</configuration>-->
            <!--</plugin>-->
        </plugins>
    </build>
    <!--<profiles>-->
        <!--<profile>-->
            <!--<id>release</id>-->
            <!--<build>-->
                <!--<plugins>-->
                    <!--<plugin>-->
                        <!--<groupId>org.apache.maven.plugins</groupId>-->
                        <!--<artifactId>maven-source-plugin</artifactId>-->
                        <!--<version>2.2.1</version>-->
                        <!--<executions>-->
                            <!--<execution>-->
                                <!--<id>attach-sources</id>-->
                                <!--&lt;!&ndash;<goals>&ndash;&gt;-->
                                    <!--&lt;!&ndash;<goal>aar-no-fork</goal>&ndash;&gt;-->
                                <!--&lt;!&ndash;</goals>&ndash;&gt;-->
                            <!--</execution>-->
                        <!--</executions>-->
                    <!--</plugin>-->
                    <!--<plugin>-->
                        <!--<groupId>org.apache.maven.plugins</groupId>-->
                        <!--<artifactId>maven-javadoc-plugin</artifactId>-->
                        <!--<version>2.9.1</version>-->
                        <!--<executions>-->
                            <!--<execution>-->
                                <!--<id>attach-javadocs</id>-->
                                <!--&lt;!&ndash;<goals>&ndash;&gt;-->
                                    <!--&lt;!&ndash;<goal>aar</goal>&ndash;&gt;-->
                                <!--&lt;!&ndash;</goals>&ndash;&gt;-->
                            <!--</execution>-->
                        <!--</executions>-->
                    <!--</plugin>-->
                    <!--<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.google.android</groupId>
            <artifactId>android</artifactId>
            <version>${platform.version}</version>
            <scope>provided</scope>
        </dependency>
        <!-- http://mvnrepository.com/artifact/com.google.android/support-v4 -->
        <dependency>
            <groupId>com.google.android</groupId>
            <artifactId>support-v4</artifactId>
            <version>r6</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
</project>