<?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">
    <parent>
        <artifactId>restify</artifactId>
        <groupId>io.github.pavan2504</groupId>
        <version>0.0.1</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>io.github.pavan2504</groupId>
    <version>0.0.1</version>

    <artifactId>restify-spring-boot-starter</artifactId>
    <packaging>jar</packaging>
    <name>Restify Spring Boot Starter</name>
    <description>Spring Boot Starter for the Restify Dynamic REST Framework</description>
    <url>https://github.com/pavan2504/restify</url>

    <licenses>
        <license>
            <name>Apache License 2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0</url>
            <distribution>repo</distribution>
        </license>
    </licenses>


    <developers>
        <developer>
            <id>pavan2504</id>
            <name>Pavan Pothuganti</name>
            <email>pavanpothuganti25@gmail.com</email>
        </developer>
    </developers>

    <scm>
        <connection>scm:git:git://github.com/pavan2504/restify.git</connection>
        <developerConnection>scm:git:ssh://github.com/pavan2504/restify.git</developerConnection>
        <url>https://github.com/pavan2504/restify</url>
    </scm>

    <dependencies>

        <dependency>
            <groupId>io.github.pavan2504</groupId>
            <artifactId>restify-common</artifactId>
            <version>${project.version}</version>
<!--            <scope>provided</scope>-->
        </dependency>

        <dependency>
            <groupId>io.github.pavan2504</groupId>
            <artifactId>restify-assembler</artifactId>
            <version>${project.version}</version>
<!--            <scope>provided</scope>-->
        </dependency>

        <dependency>
            <groupId>io.github.pavan2504</groupId>
            <artifactId>restify-inspector</artifactId>
            <version>${project.version}</version>
<!--            <scope>provided</scope>-->
        </dependency>

        <dependency>
            <groupId>io.github.pavan2504</groupId>
            <artifactId>restify-engine</artifactId>
            <version>${project.version}</version>
<!--            <scope>provided</scope>-->
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <version>${spring.boot.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
            <version>${spring.boot.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
            <version>${spring.boot.version}</version>
        </dependency>

    </dependencies>

    <build>
        <plugins>

            <!-- Source JAR -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.2.1</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals><goal>jar</goal></goals>
                    </execution>
                </executions>
            </plugin>

            <!-- Javadoc JAR -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>3.3.2</version>
                <configuration>
                    <failOnError>false</failOnError>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals><goal>jar</goal></goals>
                    </execution>
                </executions>
            </plugin>

            <!-- GPG signing -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>3.1.0</version>
                <executions>
                    <execution>
                        <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals><goal>sign</goal></goals>
                    </execution>
                </executions>
            </plugin>

            <!-- Upload to Central -->
            <plugin>
                <groupId>org.sonatype.central</groupId>
                <artifactId>central-publishing-maven-plugin</artifactId>
                <version>0.9.0</version>
                <extensions>true</extensions>
                <configuration>
                    <publishingServerId>central</publishingServerId>
                </configuration>
            </plugin>

        </plugins>
    </build>


</project>