Skip to content

Commit

Permalink
Updated to the new environment
Browse files Browse the repository at this point in the history
  • Loading branch information
fantonangeli committed Feb 29, 2024
1 parent 0acab29 commit 8aaaa6f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ const { setup } = require("@kie-tools/maven-config-setup-helper");

setup(`
-Drevision=${buildEnv.env.sonataflowServerlessWorkflowDevui.version}
-Dquarkus.platform.version=${buildEnv.env.quarkusPlatform.version}
-Dversion.org.kie.kogito=${buildEnv.env.kogitoRuntime.version}
`);
14 changes: 14 additions & 0 deletions packages/sonataflow-serverless-workflow-devui-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
<packaging>pom</packaging>

<properties>
<compiler-plugin.version>3.12.1</compiler-plugin.version>
<version.resources.plugin>3.2.0</version.resources.plugin>
<java.module.name>org.kie.kogito.quarkus.swf.dev.ui</java.module.name>
</properties>

Expand All @@ -38,6 +40,18 @@
<module>sonataflow-serverless-workflow-devui</module>
</modules>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${quarkus.platform.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<pluginManagement>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<groupId>org.kie.kogito</groupId>
<artifactId>sonataflow-serverless-workflow-devui-parent</artifactId>
<version>999-SNAPSHOT</version>
<version>${revision}</version>
</parent>

<artifactId>sonataflow-serverless-workflow-devui-deployment</artifactId>
Expand Down Expand Up @@ -69,6 +69,7 @@
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-quarkus-extension-spi</artifactId>
<version>${version.org.kie.kogito}</version>
</dependency>

<!-- Undertow is needed so that the static resource serving can correctly locate CP resources from `META-INF/resources` of the application, as it would be normally expected.
Expand Down Expand Up @@ -102,6 +103,7 @@
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-apps-ui-packages</artifactId>
<version>${version.org.kie.kogito}</version>
<type>pom</type>
</dependency>
</dependencies>
Expand All @@ -110,18 +112,20 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${version.io.quarkus}</version>
<version>${quarkus.platform.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${version.resources.plugin}</version>
<executions>
<execution>
<id>copy-webapp</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<groupId>org.kie.kogito</groupId>
<artifactId>sonataflow-serverless-workflow-devui-parent</artifactId>
<version>999-SNAPSHOT</version>
<version>${revision}</version>
</parent>
<artifactId>sonataflow-serverless-workflow-devui</artifactId>
<name>KIE Tools :: SonataFlow Serverless Workflow Quarkus Dev UI Extension</name>
Expand Down Expand Up @@ -124,7 +124,7 @@
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-maven-plugin</artifactId>
<version>${version.io.quarkus}</version>
<version>${quarkus.platform.version}</version>
<executions>
<execution>
<phase>compile</phase>
Expand All @@ -144,7 +144,7 @@
<path>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${version.io.quarkus}</version>
<version>${quarkus.platform.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down

0 comments on commit 8aaaa6f

Please sign in to comment.