<?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>tech.clarium.safez</groupId>
    <artifactId>spring-safez</artifactId>
    <version>1.0.0</version>
    <packaging>jar</packaging>

    <name>spring-safez</name>
    <description>Introducing spring-safez, the paramount cybersecurity solution for Spring Boot applications. Engineered
        to work harmoniously from the earliest to the latest versions of Spring Boot, this library leverages the
        powerful safez-cryptx for AES-CBC symmetric encryption, ensuring automatic encryption and decryption of HTTP
        requests and responses. Crafted for Java developers seeking to fortify their applications against cyber threats,
        spring-safez seamlessly integrates into your Spring Boot ecosystem, providing a secure, encrypted communication
        channel without compromising on performance or flexibility. Embrace spring-safez for your Spring Boot projects
        and elevate your application's security to new heights, ensuring peace of mind in a world where data protection
        is paramount.
    </description>
    <url>https://safez.clarium.tech</url>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
        </license>
    </licenses>
    <developers>
        <developer>
            <name>Arun Kumar Ravindran</name>
            <email>arunkumarr@clarium.tech</email>
            <organization>Clarium Tech</organization>
            <organizationUrl>www.clarium.tech</organizationUrl>
        </developer>
        <developer>
            <name>Arunkumar Senthilkumar</name>
            <email>arunkumars@clarium.tech</email>
            <organization>Clarium Tech</organization>
            <organizationUrl>www.clarium.tech</organizationUrl>
        </developer>
        <developer>
            <name>Jude Joseph Manuel</name>
            <email>judejosephmsm@clarium.tech</email>
            <organization>Clarium Tech</organization>
            <organizationUrl>www.clarium.tech</organizationUrl>
        </developer>
        <developer>
            <name>Ramya Selvam</name>
            <email>ramyas@clarium.tech</email>
            <organization>Clarium Tech</organization>
            <organizationUrl>www.clarium.tech</organizationUrl>
        </developer>
        <developer>
            <name>Sri Rishikesh Bharathan</name>
            <email>sririshikeshb@clarium.tech</email>
            <organization>Clarium Tech</organization>
            <organizationUrl>www.clarium.tech</organizationUrl>
        </developer>
        <developer>
            <name>Vigneshwaran Pandi</name>
            <email>vigneshwaranp@clarium.tech</email>
            <organization>Clarium Tech</organization>
            <organizationUrl>www.clarium.tech</organizationUrl>
        </developer>
    </developers>
    <scm>
        <connection>PRIVATE REPOSITORY</connection>
        <developerConnection>PRIVATE REPOSITORY</developerConnection>
        <url>PRIVATE REPOSITORY</url>
    </scm>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
        <spring.version>2.6.6</spring.version>
        <gpg.password>Transcend@24</gpg.password>
        <release.version>1.0.0</release.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>tech.clarium.safez</groupId>
            <artifactId>safez-cryptx</artifactId>
            <version>1.0.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.10.1</version>
        </dependency>

        <dependency>
            <groupId>com.jayway.jsonpath</groupId>
            <artifactId>json-path</artifactId>
            <version>2.9.0</version>
        </dependency>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-api</artifactId>
            <version>5.10.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>5.10.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-junit-jupiter</artifactId>
            <version>5.7.0</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <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>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </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>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                        <configuration>
                            <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
                        </configuration>
                    </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>
                        <configuration>
                            <keyname>Safestream-Admin</keyname>
                            <passphrase>${gpg.password}</passphrase>
                            <gpgArguments>
                                <arg>--pinentry-mode</arg>
                                <arg>loopback</arg>
                            </gpgArguments>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <!-- MAVEN_CENTRAL_PLUGIN -->
<plugin><groupId>org.sonatype.central</groupId><artifactId>central-publishing-maven-plugin</artifactId><version>0.3.0</version><extensions>true</extensions><configuration><publishingServerId>central</publishingServerId><tokenAuth>true</tokenAuth></configuration></plugin>
            <plugin>
                <groupId>org.sonarsource.scanner.maven</groupId>
                <artifactId>sonar-maven-plugin</artifactId>
                <version>3.10.0.2594</version>
            </plugin>
        </plugins>
    </build>
    <repositories>
        <repository>
            <id>maven-group</id>
            <url>http://10.1.0.4:8081/repository/maven-public/</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>
    <distributionManagement>
        <snapshotRepository>
            <id>nexus-snapshots</id>
            <url>http://10.1.0.4:8081/repository/maven-snapshots/</url>
        </snapshotRepository>
        <repository>
            <id>nexus-releases</id>
            <url>http://10.1.0.4:8081/repository/maven-releases/</url>
        </repository>
    </distributionManagement>
</project>
