Skip to content

Commit 5d667a6

Browse files
committed
JIRA:GRIF-315 upgrade to httpclient5 v2
1 parent 591d415 commit 5d667a6

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

gooddata-java/pom.xml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,18 @@
2626
<groupId>com.gooddata</groupId>
2727
<artifactId>gooddata-http-client</artifactId>
2828
</dependency>
29-
<!-- HttpClient 4.x for backward compatibility -->
29+
30+
<!-- HttpClient 5.x - explicitly declared as we use it directly -->
31+
<dependency>
32+
<groupId>org.apache.httpcomponents.client5</groupId>
33+
<artifactId>httpclient5</artifactId>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.apache.httpcomponents.core5</groupId>
37+
<artifactId>httpcore5</artifactId>
38+
</dependency>
39+
40+
<!-- HttpClient 4.x for Sardine library compatibility -->
3041
<dependency>
3142
<groupId>org.apache.httpcomponents</groupId>
3243
<artifactId>httpclient</artifactId>
@@ -97,6 +108,17 @@
97108
<version>4.13.2</version>
98109
<scope>test</scope>
99110
</dependency>
111+
<!-- JUnit Jupiter (JUnit 5) - explicitly declared as we use it in tests -->
112+
<dependency>
113+
<groupId>org.junit.jupiter</groupId>
114+
<artifactId>junit-jupiter-api</artifactId>
115+
<scope>test</scope>
116+
</dependency>
117+
<dependency>
118+
<groupId>org.junit.jupiter</groupId>
119+
<artifactId>junit-jupiter-engine</artifactId>
120+
<scope>test</scope>
121+
</dependency>
100122
<dependency>
101123
<groupId>jakarta.servlet</groupId>
102124
<artifactId>jakarta.servlet-api</artifactId>

0 commit comments

Comments
 (0)