sonataflow-quarkus-integration-test
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.kie.sonataflow</groupId> <artifactId>sonataflow-quarkus-integration-test</artifactId> <version>10.0.0</version> </dependency>
<?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"> <parent> <artifactId>sonataflow-quarkus-extension</artifactId> <groupId>org.apache.kie.sonataflow</groupId> <version>10.0.0</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>sonataflow-quarkus-integration-test</artifactId> <name>SonataFlow :: Quarkus Serverless Workflow Extension :: Integration Tests</name> <properties> <quarkus.test.list.include>true</quarkus.test.list.include> <!-- base path for serverless workflow files that are being used for testing the parsing specific unit tests, and that we also want to use for testing them executing. --> <shared.test.resources.dir>${project.root.dir}/kogito-serverless-workflow/kogito-serverless-workflow-builder/src/test/resources</shared.test.resources.dir> <callback.test.resources.dir>${project.root.dir}/kogito-serverless-workflow/kogito-serverless-workflow-openapi-parser/src/test/resources</callback.test.resources.dir> <java.module.name>org.kie.kogito.quarkus.workflows.tests</java.module.name> </properties> <dependencies> <dependency> <groupId>org.apache.kie.sonataflow</groupId> <artifactId>sonataflow-quarkus</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-oidc-client-filter</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-smallrye-reactive-messaging-kafka</artifactId> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-addons-quarkus-persistence-jdbc</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-agroal</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-jdbc-postgresql</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-grpc-codegen</artifactId> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-addons-quarkus-events-process</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-elytron-security-properties-file</artifactId> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-addons-quarkus-process-management</artifactId> </dependency> <!-- Testing dependencies --> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-quarkus-test-utils</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-test-utils</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-devtools-testing</artifactId> <scope>test</scope> </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>com.github.tomakehurst</groupId> <artifactId>wiremock-jre8</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.swagger.parser.v3</groupId> <artifactId>swagger-parser</artifactId> <scope>test</scope> </dependency> <!-- this is used implicitly by quarkus tests so let's make Maven aware of it --> <dependency> <groupId>org.apache.kie.sonataflow</groupId> <artifactId>sonataflow-quarkus-deployment</artifactId> <version>${project.version}</version> <type>pom</type> <scope>test</scope> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-addons-quarkus-persistence-jdbc-deployment</artifactId> <version>${project.version}</version> <type>pom</type> <scope>test</scope> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-addons-quarkus-events-process-deployment</artifactId> <version>${project.version}</version> <type>pom</type> <scope>test</scope> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-addons-quarkus-process-management-deployment</artifactId> <version>${project.version}</version> <type>pom</type> <scope>test</scope> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-serverless-workflow-builder</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <configuration> <pluginId>grpc-java</pluginId> <pluginArtifact>io.grpc:protoc-gen-grpc-java:${version.io.grpc}:exe:${os.detected.classifier}</pluginArtifact> <outputDirectory>${project.build.directory}/generated-sources/grpc</outputDirectory> <protocPlugins> <protocPlugin> <id>quarkus-grpc-protoc-plugin</id> <groupId>io.quarkus</groupId> <artifactId>quarkus-grpc-protoc-plugin</artifactId> <version>${version.io.quarkus}</version> <mainClass>io.quarkus.grpc.protoc.plugin.MutinyGrpcGenerator</mainClass> </protocPlugin> </protocPlugins> </configuration> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>compile</goal> <goal>compile-custom</goal> </goals> </execution> </executions> </plugin> <!-- Based on https://github.com/quarkusio/quarkus/pull/31115 --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <id>post-process-grpc</id> <phase>generate-sources</phase> <goals> <goal>java</goal> </goals> <configuration> <skip>false</skip> <includeProjectDependencies>true</includeProjectDependencies> <arguments> <argument>${project.build.directory}/generated-sources/grpc</argument> </arguments> <mainClass>io.quarkus.grpc.deployment.GrpcPostProcessing</mainClass> </configuration> </execution> </executions> </plugin> <plugin> <groupId>io.quarkus</groupId> <artifactId>quarkus-maven-plugin</artifactId> <version>${version.io.quarkus}</version> <extensions>true</extensions> <configuration> <skip>${skipTests}</skip> </configuration> <executions> <execution> <goals> <goal>build</goal> <goal>generate-code</goal> <goal>generate-code-tests</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <systemPropertyVariables combine.children="append"> <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> <container.image.kafka>${container.image.kafka}</container.image.kafka> <kogito.version>${project.version}</kogito.version> </systemPropertyVariables> </configuration> </plugin> <!-- Note, these resources must be copied in the generate-resources phase otherwise they won't be picked-up by the quarkus-openapi-generator --> <plugin> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.basedir}/src/main/resources/shared</outputDirectory> <resources> <resource> <directory>${shared.test.resources.dir}/exec</directory> <includes> <include>switch-state-data-condition-transition.sw.json</include> <include>switch-state-data-condition-end.sw.json</include> <include>switch-state-event-condition-timeouts-transition.sw.json</include> <include>switch-state-event-condition-timeouts-transition2.sw.json</include> <include>switch-state-event-condition-timeouts-end.sw.json</include> <include>multiple-timer-instances-event-state-timeouts.sw.json</include> </includes> </resource> <resource> <directory>${callback.test.resources.dir}/exec</directory> <includes> <include>callback-state.sw.json</include> <include>callback-state-timeouts.sw.json</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <configuration> <filesets> <fileset> <directory>${project.basedir}/src/main/resources/shared</directory> </fileset> </filesets> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>native</id> <activation> <property> <name>native</name> </property> </activation> <properties> <quarkus.package.type>native</quarkus.package.type> </properties> </profile> <profile> <id>productized</id> <activation> <property> <name>productized</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <testExcludes> <testExclude>**/ServerlessWorkflowCodestartTest.java</testExclude> </testExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/ServerlessWorkflowCodestartTest.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>