<?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-container-image-parent</artifactId>
        <groupId>io.quarkus</groupId>
        <version>3.28.1</version>
    </parent>

    <artifactId>quarkus-container-image</artifactId>
    <name>Quarkus - Container Image - Runtime</name>
    <description>Build container images of your application</description>
    <!--
        Build container images of your application. Only needed to make sure that the container image
        configuration is generated from the io.quarkus.container.image.deployment.ContainerImageConfig.
        See https://github.com/quarkusio/quarkus/issues/12316#issuecomment-698287955 for more information.
    -->


    <dependencies>
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-core</artifactId>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>io.quarkus</groupId>
                <artifactId>quarkus-extension-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>extension-descriptor</goal> 
                        </goals>
                        <configuration>
                            <conditionalDevDependencies> 
                                <artifact>${project.groupId}:${project.artifactId}-dev:${project.version}</artifact> 
                            </conditionalDevDependencies>
                        </configuration>
                    </execution>
                </executions>    
            </plugin>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <executions>
                    <execution>
                        <id>default-compile</id>
                        <configuration>
                            <annotationProcessorPaths>
                                <path>
                                    <groupId>io.quarkus</groupId>
                                    <artifactId>quarkus-extension-processor</artifactId>
                                    <version>${project.version}</version>
                                </path>
                            </annotationProcessorPaths>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
