| <?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> |
| |
| <parent> |
| <groupId>org.kie.kogito.examples</groupId> |
| <artifactId>serverless-workflow-examples-parent</artifactId> |
| <version>999-SNAPSHOT</version> |
| <relativePath>../serverless-workflow-examples-parent/pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.kie.kogito.examples</groupId> |
| <artifactId>serverless-workflow-order-processing</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| |
| <name>Kogito Example :: Serverless Workflow Order Processing</name> |
| <properties> |
| <quarkus-plugin.version>3.20.1</quarkus-plugin.version> |
| <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> |
| <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id> |
| <quarkus.platform.version>3.20.1</quarkus.platform.version> |
| <kogito.bom.group-id>org.kie.kogito</kogito.bom.group-id> |
| <kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id> |
| <kogito.bom.version>999-SNAPSHOT</kogito.bom.version> |
| <version.compiler.plugin>3.13.0</version.compiler.plugin> |
| <version.org.wiremock>3.13.0</version.org.wiremock> |
| <maven.compiler.release>17</maven.compiler.release> |
| <version.failsafe.plugin>3.3.1</version.failsafe.plugin> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>${quarkus.platform.group-id}</groupId> |
| <artifactId>${quarkus.platform.artifact-id}</artifactId> |
| <version>${quarkus.platform.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>${kogito.bom.group-id}</groupId> |
| <artifactId>${kogito.bom.artifact-id}</artifactId> |
| <version>${kogito.bom.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.kie.sonataflow</groupId> |
| <artifactId>sonataflow-quarkus</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.kie</groupId> |
| <artifactId>kie-addons-quarkus-knative-eventing</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-resteasy</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-resteasy-jackson</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-resteasy-client-oidc-filter</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-smallrye-health</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.kie</groupId> |
| <artifactId>kie-addons-quarkus-source-files</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-junit5</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.rest-assured</groupId> |
| <artifactId>rest-assured</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.wiremock</groupId> |
| <artifactId>wiremock</artifactId> |
| <version>${version.org.wiremock}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${version.compiler.plugin}</version> |
| <configuration> |
| <release>${maven.compiler.release}</release> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>${quarkus.platform.group-id}</groupId> |
| <artifactId>quarkus-maven-plugin</artifactId> |
| <version>${quarkus-plugin.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>build</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>${version.failsafe.plugin}</version> |
| <configuration> |
| <systemPropertyVariables> |
| <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| <maven.home>${maven.home}</maven.home> |
| </systemPropertyVariables> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>knative</id> |
| <properties> |
| <!-- Shortcuts --> |
| <namespace>default</namespace> |
| <deploy>false</deploy> |
| <!-- Quarkus Knative integration to build and deploy --> |
| <quarkus.container-image.group>kogito</quarkus.container-image.group> |
| <quarkus.kubernetes.namespace>${namespace}</quarkus.kubernetes.namespace> |
| <quarkus.kubernetes.deploy>${deploy}</quarkus.kubernetes.deploy> |
| <quarkus.container-image.build>true</quarkus.container-image.build> |
| <quarkus.profile>knative</quarkus.profile> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-kubernetes</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-container-image-jib</artifactId> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>container</id> |
| <activation> |
| <property> |
| <name>container</name> |
| </property> |
| </activation> |
| <properties> |
| <quarkus.profile>container</quarkus.profile> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-container-image-jib</artifactId> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| </project> |