Skip to content

Commit

Permalink
[incubator-kie-issues#1460] Adapted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele-Cardosi committed Oct 31, 2024
1 parent ee2eb64 commit ed6f9ad
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,15 @@
<plugin>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${project.version}
</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<extensions>true</extensions>
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${kogito.version}</version>
<extensions>true</extensions>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
Expand Down
9 changes: 8 additions & 1 deletion springboot/bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,14 @@
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
<version>${project.version}</version>
<extensions>true</extensions>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase> <!-- Temporary hack -->
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase> <!-- Temporary hack -->
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase> <!-- Temporary hack -->
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase> <!-- Temporary hack -->
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase>
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase>
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,19 +160,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase>
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase>
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase> <!-- Temporary hack -->
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase> <!-- Temporary hack -->
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,19 +152,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase> <!-- Temporary hack -->
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase> <!-- Temporary hack -->
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase> <!-- Temporary hack -->
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase> <!-- Temporary hack -->
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,19 +136,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase> <!-- Temporary hack -->
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase> <!-- Temporary hack -->
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase> <!-- Temporary hack -->
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase> <!-- Temporary hack -->
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,19 +133,11 @@
<version>${project.version}</version> <!-- Needed, otherwise it would use the latest release found on Maven central -->
<executions>
<execution>
<id>kogito-generate-model</id>
<phase>process-resources</phase> <!-- Temporary hack -->
<phase>compile</phase>
<goals>
<goal>generateModel</goal>
</goals>
</execution>
<execution>
<id>kogito-process-model-classes</id>
<phase>process-classes</phase> <!-- Temporary hack -->
<goals>
<goal>process-model-classes</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit ed6f9ad

Please sign in to comment.