Skip to content

Commit d361b02

Browse files
committed
[Fix #744] Add api dependency to test and example
Although already included because jackson-impl depends on it, it is a good practise to explicitly add API as dependency because this dependency is an implementation detail and the usage of the reader API by the exampple is not. Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
1 parent f2a06c6 commit d361b02

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

examples/events/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515

1616

1717
<dependencies>
18+
<dependency>
19+
<groupId>io.serverlessworkflow</groupId>
20+
<artifactId>serverlessworkflow-api</artifactId>
21+
</dependency>
1822
<dependency>
1923
<groupId>io.serverlessworkflow</groupId>
2024
<artifactId>serverlessworkflow-impl-jackson</artifactId>

examples/simpleGet/pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
</properties>
1515

1616
<dependencies>
17+
<dependency>
18+
<groupId>io.serverlessworkflow</groupId>
19+
<artifactId>serverlessworkflow-api</artifactId>
20+
</dependency>
1721
<dependency>
1822
<groupId>io.serverlessworkflow</groupId>
1923
<artifactId>serverlessworkflow-impl-jackson</artifactId>
@@ -23,8 +27,8 @@
2327
<artifactId>serverlessworkflow-impl-http</artifactId>
2428
</dependency>
2529
<dependency>
26-
<groupId>org.glassfish.jersey.media</groupId>
27-
<artifactId>jersey-media-json-jackson</artifactId>
30+
<groupId>org.glassfish.jersey.media</groupId>
31+
<artifactId>jersey-media-json-jackson</artifactId>
2832
</dependency>
2933
<dependency>
3034
<groupId>org.glassfish.jersey.core</groupId>

impl/test/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<groupId>io.serverlessworkflow</groupId>
1313
<artifactId>serverlessworkflow-impl-jackson</artifactId>
1414
</dependency>
15+
<dependency>
16+
<groupId>io.serverlessworkflow</groupId>
17+
<artifactId>serverlessworkflow-api</artifactId>
18+
</dependency>
1519
<dependency>
1620
<groupId>io.serverlessworkflow</groupId>
1721
<artifactId>serverlessworkflow-impl-http</artifactId>

0 commit comments

Comments
 (0)