<?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>
    <groupId>com.redhat.quarkus.platform</groupId>
    <artifactId>quarkus-camel-integration-tests-parent</artifactId>
    <version>2.7.6.Final-redhat-00011</version>
    <relativePath>..</relativePath>
  </parent>
  <artifactId>camel-quarkus-integration-test-main-caffein-lrucache</artifactId>
  <name>Quarkus Platform - Camel - Integration Tests - camel-quarkus-integration-test-main-caffein-lrucache</name>
  <dependencies>
    <dependency>
      <groupId>org.apache.camel.quarkus</groupId>
      <artifactId>camel-quarkus-integration-test-main-caffein-lrucache</artifactId>
      <version>${camel-quarkus-tests.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.camel.quarkus</groupId>
      <artifactId>camel-quarkus-integration-test-main-caffein-lrucache</artifactId>
      <version>${camel-quarkus-tests.version}</version>
      <type>test-jar</type>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-jar-plugin</artifactId>
          <executions>
            <execution>
              <id>default-jar</id>
              <phase>none</phase>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-source-plugin</artifactId>
          <executions>
            <execution>
              <id>attach-sources</id>
              <phase>none</phase>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <dependenciesToScan>
            <dependency>org.apache.camel.quarkus:camel-quarkus-integration-test-main-caffein-lrucache</dependency>
          </dependenciesToScan>
          <systemPropertyVariables>
            <quarkus.http.test-port>${test.http.port.jvm}</quarkus.http.test-port>
            <quarkus.http.test-ssl-port>${test.https.port.jvm}</quarkus.http.test-ssl-port>
            <quarkus.https.test-port>${test.https.port.jvm}</quarkus.https.test-port>
          </systemPropertyVariables>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>reserve-network-port</id>
            <goals>
              <goal>reserve-network-port</goal>
            </goals>
            <phase>process-test-resources</phase>
            <configuration>
              <portNames>
                <portName>test.http.port.jvm</portName>
                <portName>test.https.port.jvm</portName>
                <portName>test.http.port.native</portName>
                <portName>test.https.port.native</portName>
              </portNames>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>native-image</id>
      <activation>
        <property>
          <name>native</name>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-failsafe-plugin</artifactId>
            <executions>
              <execution>
                <goals>
                  <goal>integration-test</goal>
                  <goal>verify</goal>
                </goals>
                <configuration>
                  <systemProperties>
                    <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
                    <quarkus.http.test-port>${test.http.port.native}</quarkus.http.test-port>
                    <quarkus.http.test-ssl-port>${test.https.port.native}</quarkus.http.test-ssl-port>
                    <quarkus.https.test-port>${test.https.port.native}</quarkus.https.test-port>
                  </systemProperties>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <dependenciesToScan>
                <dependency>org.apache.camel.quarkus:camel-quarkus-integration-test-main-caffein-lrucache</dependency>
              </dependenciesToScan>
            </configuration>
          </plugin>
          <plugin>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-maven-plugin</artifactId>
            <version>${quarkus-bom.version}</version>
            <executions>
              <execution>
                <id>native-image</id>
                <goals>
                  <goal>build</goal>
                </goals>
                <configuration>
                  <appArtifact>org.apache.camel.quarkus:camel-quarkus-integration-test-main-caffein-lrucache:${camel-quarkus.version}</appArtifact>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <properties>
        <quarkus.package.type>native</quarkus.package.type>
      </properties>
    </profile>
  </profiles>
</project>
