Skip to content

Commit

Permalink
[9.100.x-prod] No-issue: Prod build config fixes (#24) (#25)
Browse files Browse the repository at this point in the history
* Prod build config fixes

* Change the mvn lifecycle to download FE libs

* Add comments for future memory
  • Loading branch information
fantonangeli authored May 28, 2024
1 parent b96006b commit a06ad4c
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 5 deletions.
12 changes: 12 additions & 0 deletions packages/serverless-workflow-diagram-editor/appformer-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<properties>
<sonar.skip>true</sonar.skip>
<version.j2cl.tools>0.1</version.j2cl.tools>
<version.deploy.plugin>2.8.2</version.deploy.plugin>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -353,4 +354,15 @@
</dependencies>
</dependencyManagement>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${version.deploy.plugin}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<properties>
<sonar.skip>true</sonar.skip>
<j2cl.tools.version>0.1</j2cl.tools.version>
<version.deploy.plugin>2.8.2</version.deploy.plugin>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -230,4 +231,16 @@
</dependencies>
</dependencyManagement>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${version.deploy.plugin}</version>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@
<executions>
<execution>
<id>unpack-external-dependencies</id>
<phase>generate-resources</phase>
<!-- Please use generate-sources instead of generate-resources to download the libraries before the build -->
<phase>generate-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
Expand Down Expand Up @@ -216,7 +217,8 @@
<executions>
<execution>
<id>rename-files</id>
<phase>process-resources</phase>
<!-- Please use process-sources instead of process-resources to process the libraries before the build -->
<phase>process-sources</phase>
<goals>
<goal>rename</goal>
</goals>
Expand Down
3 changes: 2 additions & 1 deletion packages/sonataflow-deployment-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.deploy.plugin>2.8.2</version.deploy.plugin>
</properties>

<dependencies>
Expand Down Expand Up @@ -108,7 +109,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.1</version>
<version>${version.deploy.plugin}</version>
<executions>
<execution>
<id>deploy-webjar</id>
Expand Down
3 changes: 2 additions & 1 deletion packages/sonataflow-quarkus-devui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
</goals>
<configuration>
<skip>${skip.ui.build}</skip>
<arguments>-F serverless-workflow-dev-ui-webapp... !@kie-tools/dmn-marshaller-backend-compatibility-tester build:prod</arguments>
<pnpmInheritsProxyConfigFromMaven>false</pnpmInheritsProxyConfigFromMaven>
<arguments>-F serverless-workflow-dev-ui-webapp... -F !@kie-tools/dmn-marshaller-backend-compatibility-tester -F !@kie-tools/dmn-testing-models build:prod</arguments>
<environmentVariables>
<KIE_TOOLS_BUILD__runTests>false</KIE_TOOLS_BUILD__runTests>
<KIE_TOOLS_BUILD__runIntegrationTests>false</KIE_TOOLS_BUILD__runIntegrationTests>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<version.frontend.plugin>1.15.0</version.frontend.plugin>
<version.node>v18.16.0</version.node>
<version.npm>6.10.3</version.npm>
<version.pnpm>v8.7.0</version.pnpm>
<version.pnpm>8.7.0</version.pnpm>

<quarkus.platform.version>3.2.10.Final</quarkus.platform.version>
<version.org.kie.kogito>999-SNAPSHOT</version.org.kie.kogito>
Expand Down

0 comments on commit a06ad4c

Please sign in to comment.