jbpm-polyglot-example
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.kie.kogito.examples</groupId> <artifactId>jbpm-polyglot-example</artifactId> <version>0.9.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8" ?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.kie.kogito</groupId> <artifactId>kogito-examples</artifactId> <version>0.9.0</version> </parent> <groupId>org.kie.kogito.examples</groupId> <artifactId>jbpm-polyglot-example</artifactId> <name>Kogito Example :: jBPM Polyglot</name> <dependencyManagement> <dependencies> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-quarkus-bom</artifactId> <version>${project.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-drools</artifactId> </dependency> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>kogito-api</artifactId> </dependency> <dependency> <groupId>org.kie.kogito</groupId> <artifactId>jbpm-flow</artifactId> </dependency> <!-- not used but needed by kogito maven plugin (need at least one depends that includes "quarkus" or "springboot" currently --> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-resteasy-jackson</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-junit5</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.kie.kogito</groupId> <artifactId>kogito-maven-plugin</artifactId> <extensions>true</extensions> </plugin> </plugins> </build> <profiles> <profile> <id>native</id> <activation> <property> <name>native</name> </property> </activation> <build> <plugins> <plugin> <groupId>io.quarkus</groupId> <artifactId>quarkus-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> </plugin> </plugins> </build> </profile> <profile> <id>runnode</id> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>exec</goal> </goals> </execution> </executions> <configuration> <executable>node</executable> <arguments> <argument>--vm.classpath</argument> <argument>${maven.compile.classpath}${path.separator}${project.build.directory}/${project.build.finalName}-jar-with-dependencies.jar</argument> <argument>--experimental-modules</argument> <argument>${project.basedir}/src/main/node/app.js</argument> </arguments> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>