serverless-workflow-newsletter-subscription-flow
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.kie.kogito.examples</groupId> <artifactId>serverless-workflow-newsletter-subscription-flow</artifactId> <version>1.25.0.Final</version> </dependency>
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>serverless-workflow-newsletter-subscription</artifactId> <groupId>org.kie.kogito.examples</groupId> <version>1.25.0.Final</version> </parent> <modelVersion>4.0.0</modelVersion> <name>Kogito Example :: Serverless Workflow Newsletter Subscription :: Subscription Flow</name> <description>Kogito Serverless Workflow service that orchestrates the Newsletter Subscription use case</description> <artifactId>serverless-workflow-newsletter-subscription-flow</artifactId> <packaging>jar</packaging> <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>io.quarkus</groupId> <artifactId>quarkus-arc</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-resteasy</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-resteasy-jackson</artifactId> </dependency> <!-- Kogito extensions --> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-quarkus-serverless-workflow</artifactId> </dependency> <!-- Messaging settings --> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-addons-quarkus-messaging</artifactId> </dependency> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-addons-quarkus-knative-eventing</artifactId> </dependency> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-quarkus-serverless-workflow-devui</artifactId> </dependency> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-addons-quarkus-process-svg</artifactId> </dependency> <!-- UI dependencies --> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-webjars-locator</artifactId> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>bootstrap</artifactId> </dependency> <!-- Testing dependencies --> <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.assertj</groupId> <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.github.tomakehurst</groupId> <artifactId>wiremock-jre8</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-quarkus-test-utils</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.kie.kogito.examples</groupId> <artifactId>serverless-workflow-newsletter-subscription-service</artifactId> <scope>test</scope> <version>${project.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>${quarkus.platform.group-id}</groupId> <artifactId>quarkus-maven-plugin</artifactId> <version>${quarkus-plugin.version}</version> <extensions>true</extensions> <executions> <execution> <goals> <goal>build</goal> <goal>generate-code</goal> <goal>generate-code-tests</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${version.surefire.plugin}</version> <configuration> <systemPropertyVariables> <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> <maven.home>${maven.home}</maven.home> </systemPropertyVariables> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>native</id> <activation> <property> <name>native</name> </property> </activation> <build> <plugins> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>${version.failsafe.plugin}</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <systemPropertyVariables> <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path> <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> <maven.home>${maven.home}</maven.home> </systemPropertyVariables> </configuration> </execution> </executions> </plugin> </plugins> </build> <properties> <quarkus.package.type>native</quarkus.package.type> </properties> </profile> <profile> <id>persistence</id> <activation> <property> <name>persistence</name> </property> </activation> <properties> <quarkus.profile>persistence</quarkus.profile> <enable.resource.postgresql>true</enable.resource.postgresql> </properties> <dependencies> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-addons-quarkus-persistence-jdbc</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-jdbc-postgresql</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-agroal</artifactId> </dependency> </dependencies> </profile> <profile> <id>knative</id> <properties> <!-- Shortcuts --> <namespace>newsletter-showcase</namespace> <deploy>false</deploy> <!-- Quarkus Knative integration to build and deploy --> <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> <enable.resource.postgresql>true</enable.resource.postgresql> <skipTests>true</skipTests> </properties> <dependencies> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-kubernetes</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-container-image-jib</artifactId> </dependency> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-addons-quarkus-persistence-postgresql</artifactId> </dependency> </dependencies> </profile> </profiles> </project>