<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <artifactId>quarkus-build-parent</artifactId>
        <groupId>io.quarkus</groupId>
        <version>3.32.4</version>
        <relativePath>../../build-parent/pom.xml</relativePath>
    </parent>

    <artifactId>quarkus-class-change-agent</artifactId>
    <name>Quarkus - Core - Class Change Agent</name>
    <description>
        A Java Agent that exposes the instrumentation API. This allows for super fast
        hot reloads if there have been no changes to the structure of the class files.

        This agent is not required for hot reload, it just provides an optimisation in
        some circumstances.
    </description>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifestEntries>
                            <Premain-Class>io.quarkus.changeagent.ClassChangeAgent</Premain-Class>
                            <Can-Redefine-Classes>true</Can-Redefine-Classes>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
