87 lines
3.1 KiB
XML
87 lines
3.1 KiB
XML
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<artifactId>httpclient</artifactId>
|
||
|
<version>0.1-SNAPSHOT</version>
|
||
|
<name>httpclient</name>
|
||
|
|
||
|
<parent>
|
||
|
<groupId>com.baeldung</groupId>
|
||
|
<artifactId>parent-java</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<relativePath>../parent-java</relativePath>
|
||
|
</parent>
|
||
|
|
||
|
<dependencies>
|
||
|
<!-- utils -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-lang3</artifactId>
|
||
|
<version>${commons-lang3.version}</version>
|
||
|
</dependency>
|
||
|
<!-- http client -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
<artifactId>httpclient</artifactId>
|
||
|
<version>${httpclient.version}</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>commons-logging</artifactId>
|
||
|
<groupId>commons-logging</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
<artifactId>fluent-hc</artifactId>
|
||
|
<version>${httpclient.version}</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>commons-logging</artifactId>
|
||
|
<groupId>commons-logging</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
<artifactId>httpmime</artifactId>
|
||
|
<version>${httpclient.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
<artifactId>httpasyncclient</artifactId>
|
||
|
<version>${httpasyncclient.version}</version> <!-- 4.0.2 --> <!-- 4.1-beta1 -->
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>commons-logging</artifactId>
|
||
|
<groupId>commons-logging</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.github.tomakehurst</groupId>
|
||
|
<artifactId>wiremock</artifactId>
|
||
|
<version>${wiremock.version}</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<finalName>httpclient</finalName>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
<filtering>true</filtering>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
</build>
|
||
|
|
||
|
<properties>
|
||
|
<!-- util -->
|
||
|
<httpasyncclient.version>4.1.4</httpasyncclient.version>
|
||
|
<!-- testing -->
|
||
|
<wiremock.version>2.5.1</wiremock.version>
|
||
|
<httpclient.version>4.5.8</httpclient.version> <!-- 4.3.6 --> <!-- 4.4-beta1 -->
|
||
|
</properties>
|
||
|
|
||
|
</project>
|