<?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>-->


    <!--    <artifactId>restify</artifactId>-->
    <!--    <groupId>io.github.pavan2504</groupId>-->
    <!--    <version>0.0.1</version>-->


    <modelVersion>4.0.0</modelVersion>
    <groupId>io.github.pavan2504</groupId>
    <version>0.0.2</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>

    <properties>
        <spring.boot.version>3.3.4</spring.boot.version>
        <java.version>18</java.version>
        <maven.compiler.source>18</maven.compiler.source>
        <maven.compiler.target>18</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <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>0.0.1</version>
            <!--            <scope>provided</scope>-->
            <optional>true</optional>
        </dependency>

        <dependency>
            <groupId>io.github.pavan2504</groupId>
            <artifactId>restify-assembler</artifactId>
            <version>0.0.1</version>
            <optional>true</optional>
            <!--            <scope>provided</scope>-->
        </dependency>

        <dependency>
            <groupId>io.github.pavan2504</groupId>
            <artifactId>restify-inspector</artifactId>
            <version>0.0.1</version>
            <optional>true</optional>
            <!--            <scope>provided</scope>-->
        </dependency>

        <dependency>
            <groupId>io.github.pavan2504</groupId>
            <artifactId>restify-engine</artifactId>
            <version>0.0.1</version>
            <optional>true</optional>
            <!--            <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>

<!--            <plugin>-->
<!--                <groupId>org.apache.maven.plugins</groupId>-->
<!--                <artifactId>maven-shade-plugin</artifactId>-->
<!--                <version>3.5.0</version>-->
<!--                <executions>-->
<!--                    <execution>-->
<!--                        <phase>package</phase>-->
<!--                        <goals>-->
<!--                            <goal>shade</goal>-->
<!--                        </goals>-->
<!--                        <configuration>-->
<!--                            <createDependencyReducedPom>false</createDependencyReducedPom>-->
<!--                            <relocations>-->
<!--                                <relocation>-->
<!--                                    <pattern>io.github.pavan2504.restify</pattern>-->
<!--                                    <shadedPattern>io.github.pavan2504.restify.shaded</shadedPattern>-->
<!--                                </relocation>-->
<!--                            </relocations>-->
<!--                        </configuration>-->
<!--                    </execution>-->
<!--                </executions>-->
<!--            </plugin>-->


            <!-- 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>