<?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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>co.hypertest</groupId>
  <artifactId>hypertest-agent</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>0.1.13</version>
  <description>HyperTest is a no-code test automation tool designed to seamlessly integrate into your codebase and
        accelerate the process of generating unit tests for various types of service interfaces including HTTP, GraphQL,
        gRPC, Kafka, and RabbitMQ.

        It focuses on auto-generating test cases that can be executed in isolation, free from external dependencies, by
        creating mocks.

        HyperTest enables developers to catch logical bugs that could affect upstream or downstream services before
        their changes get merged.</description>
  <url>https://docs-v2.hypertest.co/</url>
  <developers>
    <developer>
      <name>Akshay Arora</name>
      <email>akshay@hypertest.co</email>
      <organization>Hypertest</organization>
      <organizationUrl>https://www.hypertest.co</organizationUrl>
    </developer>
    <developer>
      <name>Kuldeep Bishnoi</name>
      <email>kuldeep@hypertest.co</email>
      <organization>Hypertest</organization>
      <organizationUrl>https://www.hypertest.co</organizationUrl>
    </developer>
    <developer>
      <name>Karan Raina</name>
      <email>karan@hypertest.co</email>
      <organization>Hypertest</organization>
      <organizationUrl>https://www.hypertest.co</organizationUrl>
    </developer>
    <developer>
      <name>Vineet Bakshi</name>
      <email>vineet@hypertest.co</email>
      <organization>Hypertest</organization>
      <organizationUrl>https://www.hypertest.co</organizationUrl>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>CC BY-NC-ND 4.0</name>
      <url>https://creativecommons.org/licenses/by-nc-nd/4.0/</url>
      <comments>This software is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0
                International License.</comments>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git://github.com/hypertestco/autoqa_v2_java.git</connection>
    <developerConnection>scm:git:ssh://github.com:hypertestco/autoqa_v2_java.git</developerConnection>
    <url>http://github.com/hypertestco/autoqa_v2_java/tree/master</url>
  </scm>
  <build>
    <finalName>hypertest-agent</finalName>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.11.2</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <failOnError>false</failOnError>
          <additionalJOptions>
            <additionalJOption>-Xdoclint:none</additionalJOption>
          </additionalJOptions>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.2.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.6</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.sonatype.central</groupId>
        <artifactId>central-publishing-maven-plugin</artifactId>
        <version>0.7.0</version>
        <extensions>true</extensions>
        <configuration>
          <publishingServerId>central</publishingServerId>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.5.3</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <createDependencyReducedPom>true</createDependencyReducedPom>
              <useDependencyReducedPomInJar>true</useDependencyReducedPomInJar>
              <transformers>
                <transformer>
                  <manifestEntries>
                    <Main-Class>hypertest.javaagent.HypertestAgent</Main-Class>
                    <Agent-Class>hypertest.javaagent.HypertestAgent</Agent-Class>
                    <Premain-Class>hypertest.javaagent.Premain</Premain-Class>
                    <Can-Redefine-Classes>true</Can-Redefine-Classes>
                    <Can-Retransform-Classes>true</Can-Retransform-Classes>
                  </manifestEntries>
                </transformer>
                <transformer />
              </transformers>
              <relocations>
                <relocation>
                  <pattern>net.bytebuddy</pattern>
                  <shadedPattern>hypertest.net.bytebuddy</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>javax.annotation</pattern>
                  <shadedPattern>hypertest.javax.annotation</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>com.google</pattern>
                  <shadedPattern>hypertest.com.google</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.checkerframework</pattern>
                  <shadedPattern>hypertest.org.checkerframework</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.slf4j</pattern>
                  <shadedPattern>hypertest.org.slf4j</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>ch.qos.logback</pattern>
                  <shadedPattern>hypertest.ch.qos.logback</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>com.google.code.gson</pattern>
                  <shadedPattern>hypertest.com.google.code.gson</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.intellij</pattern>
                  <shadedPattern>hypertest.org.intellij</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.jetbrains</pattern>
                  <shadedPattern>hypertest.org.jetbrains</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>kotlin</pattern>
                  <shadedPattern>hypertest.kotlin</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>com.fasterxml</pattern>
                  <shadedPattern>hypertest.com.fasterxml</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>net.sf</pattern>
                  <shadedPattern>hypertest.net.sf</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <filters>
            <filter>
              <artifact>*:*</artifact>
              <excludes>
                <exclude>META-INF/versions/**</exclude>
                <exclude>module-info.class</exclude>
              </excludes>
            </filter>
          </filters>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <version>3.2.0</version>
        <executions>
          <execution>
            <id>rename-shaded-class-files</id>
            <phase>package</phase>
            <goals>
              <goal>exec</goal>
            </goals>
            <configuration>
              <executable>${project.basedir}/shade_files.sh</executable>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>jakarta.servlet</groupId>
      <artifactId>jakarta.servlet-api</artifactId>
      <version>6.1.0-M2</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.5</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.redisson</groupId>
      <artifactId>redisson</artifactId>
      <version>3.45.0</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <properties>
    <maven.compiler.target>11</maven.compiler.target>
    <maven.compiler.source>11</maven.compiler.source>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
</project>
