Skip to content

Commit 4b7a76c

Browse files
committed
build: add apache-httpclient
1 parent 156336c commit 4b7a76c

3 files changed

Lines changed: 5 additions & 10 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<module>core-java-modules</module>
1212
<module>core-java-rate-limiter</module>
1313
<module>junit5-jupiter-starter</module>
14-
<module>apache-httpclient</module>
1514
<module>leetcode</module>
15+
<module>tool-java-apache-httpclient</module>
1616
<module>tool-java-object-pool</module>
1717
<module>tool-java-jackson</module>
1818
</modules>
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,22 @@
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<groupId>com.wdbyte.httpclient</groupId>
13-
<artifactId>apache-httpclient</artifactId>
13+
<artifactId>tool-java-apache-httpclient</artifactId>
1414

1515
<properties>
16-
<maven.compiler.source>17</maven.compiler.source>
17-
<maven.compiler.target>17</maven.compiler.target>
16+
<maven.compiler.source>1.8</maven.compiler.source>
17+
<maven.compiler.target>1.8</maven.compiler.target>
1818
</properties>
1919

2020
<dependencies>
2121
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5 -->
22+
<!-- 文档 https://hc.apache.org/httpcomponents-client-5.1.x/examples.html-->
2223
<dependency>
2324
<groupId>org.apache.httpcomponents.client5</groupId>
2425
<artifactId>httpclient5</artifactId>
2526
<version>5.1.3</version>
2627
</dependency>
2728

28-
<dependency>
29-
<groupId>org.junit.jupiter</groupId>
30-
<artifactId>junit-jupiter</artifactId>
31-
<scope>test</scope>
32-
</dependency>
33-
3429
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5-fluent -->
3530
<dependency>
3631
<groupId>org.apache.httpcomponents.client5</groupId>

0 commit comments

Comments
 (0)