Skip to content

Commit 8002447

Browse files
committed
Ensure app JAR build order
Signed-off-by: Artur Ciocanu <[email protected]>
1 parent b7396de commit 8002447

File tree

1 file changed

+30
-0
lines changed
  • spring-boot-examples/workflows/multi-app/orchestrator

1 file changed

+30
-0
lines changed

spring-boot-examples/workflows/multi-app/orchestrator/pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@
4545
<artifactId>rest-assured</artifactId>
4646
<scope>test</scope>
4747
</dependency>
48+
<!-- Worker dependencies to ensure Maven reactor builds them before integration tests -->
49+
<dependency>
50+
<groupId>io.dapr</groupId>
51+
<artifactId>worker-one</artifactId>
52+
<version>${project.version}</version>
53+
<scope>test</scope>
54+
</dependency>
55+
<dependency>
56+
<groupId>io.dapr</groupId>
57+
<artifactId>worker-two</artifactId>
58+
<version>${project.version}</version>
59+
<scope>test</scope>
60+
</dependency>
4861
</dependencies>
4962

5063
<build>
@@ -75,6 +88,23 @@
7588
<skip>true</skip>
7689
</configuration>
7790
</plugin>
91+
<plugin>
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-failsafe-plugin</artifactId>
94+
<executions>
95+
<execution>
96+
<goals>
97+
<goal>integration-test</goal>
98+
<goal>verify</goal>
99+
</goals>
100+
</execution>
101+
</executions>
102+
<configuration>
103+
<includes>
104+
<include>**/*IT.java</include>
105+
</includes>
106+
</configuration>
107+
</plugin>
78108
</plugins>
79109
</build>
80110
</project>

0 commit comments

Comments
 (0)