Skip to content

Commit aa5e666

Browse files
committed
Http dependencies
Http should depend on Jaxrs client, not in jersey Signed-off-by: fjtirado <ftirados@redhat.com>
1 parent 5e29fc7 commit aa5e666

File tree

4 files changed

+43
-12
lines changed

4 files changed

+43
-12
lines changed

examples/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
</parent>
99
<name>Serverless Workflow :: Examples</name>
1010
<artifactId>serverlessworkflow-examples</artifactId>
11+
<properties>
12+
<version.org.glassfish.jersey>3.1.10</version.org.glassfish.jersey>
13+
</properties>
1114
<packaging>pom</packaging>
1215
<dependencyManagement>
1316
<dependencies>
@@ -30,6 +33,19 @@
3033
<groupId>org.slf4j</groupId>
3134
<artifactId>slf4j-simple</artifactId>
3235
<version>${version.org.slf4j}</version>
36+
<scope>runtime</scope>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.glassfish.jersey.core</groupId>
40+
<artifactId>jersey-client</artifactId>
41+
<version>${version.org.glassfish.jersey}</version>
42+
<scope>runtime</scope>
43+
</dependency>
44+
<dependency>
45+
<groupId>org.glassfish.jersey.media</groupId>
46+
<artifactId>jersey-media-json-jackson</artifactId>
47+
<version>${version.org.glassfish.jersey}</version>
48+
<scope>runtime</scope>
3349
</dependency>
3450
</dependencies>
3551
</dependencyManagement>

examples/simpleGet/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@
1717
<groupId>io.serverlessworkflow</groupId>
1818
<artifactId>serverlessworkflow-impl-http</artifactId>
1919
</dependency>
20+
<dependency>
21+
<groupId>org.glassfish.jersey.media</groupId>
22+
<artifactId>jersey-media-json-jackson</artifactId>
23+
</dependency>
24+
<dependency>
25+
<groupId>org.glassfish.jersey.core</groupId>
26+
<artifactId>jersey-client</artifactId>
27+
</dependency>
2028
<dependency>
2129
<groupId>org.slf4j</groupId>
2230
<artifactId>slf4j-simple</artifactId>

impl/http/pom.xml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@
88
<artifactId>serverlessworkflow-impl-http</artifactId>
99
<name>Serverless Workflow :: Impl :: HTTP</name>
1010
<dependencies>
11-
<dependency>
12-
<groupId>org.glassfish.jersey.core</groupId>
13-
<artifactId>jersey-client</artifactId>
11+
<dependency>
12+
<groupId>jakarta.ws.rs</groupId>
13+
<artifactId>jakarta.ws.rs-api</artifactId>
14+
</dependency>
15+
<dependency>
16+
<groupId>io.serverlessworkflow</groupId>
17+
<artifactId>serverlessworkflow-impl-core</artifactId>
1418
</dependency>
1519
<dependency>
16-
<groupId>org.glassfish.jersey.media</groupId>
17-
<artifactId>jersey-media-json-jackson</artifactId>
18-
<scope>runtime</scope>
20+
<groupId>org.glassfish.jersey.media</groupId>
21+
<artifactId>jersey-media-json-jackson</artifactId>
1922
</dependency>
2023
<dependency>
21-
<groupId>io.serverlessworkflow</groupId>
22-
<artifactId>serverlessworkflow-impl-core</artifactId>
24+
<groupId>org.glassfish.jersey.core</groupId>
25+
<artifactId>jersey-client</artifactId>
2326
</dependency>
2427
<dependency>
2528
<groupId>io.serverlessworkflow</groupId>
@@ -34,22 +37,18 @@
3437
<dependency>
3538
<groupId>org.junit.jupiter</groupId>
3639
<artifactId>junit-jupiter-api</artifactId>
37-
<scope>test</scope>
3840
</dependency>
3941
<dependency>
4042
<groupId>org.junit.jupiter</groupId>
4143
<artifactId>junit-jupiter-engine</artifactId>
42-
<scope>test</scope>
4344
</dependency>
4445
<dependency>
4546
<groupId>org.junit.jupiter</groupId>
4647
<artifactId>junit-jupiter-params</artifactId>
47-
<scope>test</scope>
4848
</dependency>
4949
<dependency>
5050
<groupId>org.assertj</groupId>
5151
<artifactId>assertj-core</artifactId>
52-
<scope>test</scope>
5352
</dependency>
5453
<dependency>
5554
<groupId>ch.qos.logback</groupId>

impl/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<version.io.cloudevents>4.0.1</version.io.cloudevents>
1414
<version.net.thisptr>1.3.0</version.net.thisptr>
1515
<version.com.github.f4b6a3>5.2.3</version.com.github.f4b6a3>
16+
<version.jakarta.ws.rs>3.1.0</version.jakarta.ws.rs>
1617
</properties>
1718
<dependencyManagement>
1819
<dependencies>
@@ -35,11 +36,13 @@
3536
<groupId>org.glassfish.jersey.core</groupId>
3637
<artifactId>jersey-client</artifactId>
3738
<version>${version.org.glassfish.jersey}</version>
39+
<scope>runtime</scope>
3840
</dependency>
3941
<dependency>
4042
<groupId>org.glassfish.jersey.media</groupId>
4143
<artifactId>jersey-media-json-jackson</artifactId>
4244
<version>${version.org.glassfish.jersey}</version>
45+
<scope>runtime</scope>
4346
</dependency>
4447
<dependency>
4548
<groupId>io.cloudevents</groupId>
@@ -61,6 +64,11 @@
6164
<artifactId>ulid-creator</artifactId>
6265
<version>${version.com.github.f4b6a3}</version>
6366
</dependency>
67+
<dependency>
68+
<groupId>jakarta.ws.rs</groupId>
69+
<artifactId>jakarta.ws.rs-api</artifactId>
70+
<version>${version.jakarta.ws.rs}</version>
71+
</dependency>
6472
</dependencies>
6573
</dependencyManagement>
6674
<modules>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy