This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git
The following commit(s) were added to refs/heads/main by this push:
new ab12914972 [kie-issues#1564] Do not overwrite original jar with Spring
Boot executable jar in integration tests (#3748)
ab12914972 is described below
commit ab1291497239440bcb67049d8452793c87a89ad4
Author: Tibor Zimányi <[email protected]>
AuthorDate: Tue Oct 29 07:39:54 2024 +0100
[kie-issues#1564] Do not overwrite original jar with Spring Boot executable
jar in integration tests (#3748)
* Don't overwrite base jar with Spring Boot jar.
* Move unpack jars profile to an earlier Maven phase.
---
kogito-build/kogito-build-no-bom-parent/pom.xml | 2 +-
.../integration-tests-springboot-decisions-it/pom.xml | 3 +++
.../integration-tests/integration-tests-springboot-kafka-it/pom.xml | 3 +++
.../integration-tests/integration-tests-springboot-norest-it/pom.xml | 3 +++
.../integration-tests-springboot-processes-it/pom.xml | 3 +++
.../integration-tests-springboot-processes-persistence-it/pom.xml | 3 +++
6 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/kogito-build/kogito-build-no-bom-parent/pom.xml
b/kogito-build/kogito-build-no-bom-parent/pom.xml
index 8b3101c356..94e930a526 100644
--- a/kogito-build/kogito-build-no-bom-parent/pom.xml
+++ b/kogito-build/kogito-build-no-bom-parent/pom.xml
@@ -1109,7 +1109,7 @@
<executions>
<execution>
<id>unpack-jar</id>
- <phase>compile</phase>
+ <phase>process-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
diff --git
a/springboot/integration-tests/integration-tests-springboot-decisions-it/pom.xml
b/springboot/integration-tests/integration-tests-springboot-decisions-it/pom.xml
index ccfd8d904d..844e657acd 100644
---
a/springboot/integration-tests/integration-tests-springboot-decisions-it/pom.xml
+++
b/springboot/integration-tests/integration-tests-springboot-decisions-it/pom.xml
@@ -164,6 +164,9 @@
<goals>
<goal>repackage</goal>
</goals>
+ <configuration>
+ <classifier>executable</classifier>
+ </configuration>
</execution>
</executions>
</plugin>
diff --git
a/springboot/integration-tests/integration-tests-springboot-kafka-it/pom.xml
b/springboot/integration-tests/integration-tests-springboot-kafka-it/pom.xml
index 890b751393..b40463110b 100644
--- a/springboot/integration-tests/integration-tests-springboot-kafka-it/pom.xml
+++ b/springboot/integration-tests/integration-tests-springboot-kafka-it/pom.xml
@@ -166,6 +166,9 @@
<goals>
<goal>repackage</goal>
</goals>
+ <configuration>
+ <classifier>executable</classifier>
+ </configuration>
</execution>
</executions>
</plugin>
diff --git
a/springboot/integration-tests/integration-tests-springboot-norest-it/pom.xml
b/springboot/integration-tests/integration-tests-springboot-norest-it/pom.xml
index cb2a4795be..eaa58d571b 100644
---
a/springboot/integration-tests/integration-tests-springboot-norest-it/pom.xml
+++
b/springboot/integration-tests/integration-tests-springboot-norest-it/pom.xml
@@ -154,6 +154,9 @@
<goals>
<goal>repackage</goal>
</goals>
+ <configuration>
+ <classifier>executable</classifier>
+ </configuration>
</execution>
</executions>
</plugin>
diff --git
a/springboot/integration-tests/integration-tests-springboot-processes-it/pom.xml
b/springboot/integration-tests/integration-tests-springboot-processes-it/pom.xml
index e5f9ff3402..66bd8d4805 100644
---
a/springboot/integration-tests/integration-tests-springboot-processes-it/pom.xml
+++
b/springboot/integration-tests/integration-tests-springboot-processes-it/pom.xml
@@ -184,6 +184,9 @@
<goals>
<goal>repackage</goal>
</goals>
+ <configuration>
+ <classifier>executable</classifier>
+ </configuration>
</execution>
</executions>
</plugin>
diff --git
a/springboot/integration-tests/integration-tests-springboot-processes-persistence-it/pom.xml
b/springboot/integration-tests/integration-tests-springboot-processes-persistence-it/pom.xml
index 6d09004c22..ac43bc7bec 100644
---
a/springboot/integration-tests/integration-tests-springboot-processes-persistence-it/pom.xml
+++
b/springboot/integration-tests/integration-tests-springboot-processes-persistence-it/pom.xml
@@ -128,6 +128,9 @@
<goals>
<goal>repackage</goal>
</goals>
+ <configuration>
+ <classifier>executable</classifier>
+ </configuration>
</execution>
</executions>
</plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]