| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <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>org.apache.camel.karavan</groupId> |
| <artifactId>karavan-operator</artifactId> |
| <name>karavan-operator</name> |
| <version>3.20.2-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <compiler-plugin.version>3.11.0</compiler-plugin.version> |
| <maven.compiler.parameters>true</maven.compiler.parameters> |
| <maven.compiler.source>11</maven.compiler.source> |
| <maven.compiler.target>11</maven.compiler.target> |
| <surefire-plugin.version>3.1.0</surefire-plugin.version> |
| <quarkus-sdk.version>5.1.4</quarkus-sdk.version> |
| <quarkus.version>2.16.7.Final</quarkus.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-bom</artifactId> |
| <version>${quarkus.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkiverse.operatorsdk</groupId> |
| <artifactId>quarkus-operator-sdk-bom</artifactId> |
| <version>${quarkus-sdk.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-arc</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.fabric8</groupId> |
| <artifactId>tekton-client</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkiverse.operatorsdk</groupId> |
| <artifactId>quarkus-operator-sdk</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkiverse.operatorsdk</groupId> |
| <artifactId>quarkus-operator-sdk-bundle-generator</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-container-image-jib</artifactId> |
| </dependency> |
| <!-- This dependency is needed only to ensure proper building order so that this module is build after the bundle generator extension --> |
| <dependency> |
| <groupId>io.quarkiverse.operatorsdk</groupId> |
| <artifactId>quarkus-operator-sdk-bundle-generator-deployment</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-junit5</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-maven-plugin</artifactId> |
| <version>${quarkus.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>build</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${compiler-plugin.version}</version> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>native</id> |
| <properties> |
| <quarkus.package.type>native</quarkus.package.type> |
| </properties> |
| </profile> |
| <profile> |
| <id>end-to-end-tests</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire-plugin.version}</version> |
| <configuration> |
| <includes> |
| <include>**/*E2E.java</include> |
| </includes> |
| <excludes> |
| <exclude>**/*Test.java</exclude> |
| <exclude>**/*IT.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>integration-tests</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire-plugin.version}</version> |
| <configuration> |
| <includes> |
| <include>**/*Test.java</include> |
| <include>**/*IT.java</include> |
| </includes> |
| <excludes> |
| <exclude>**/*E2E.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |