2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-08 03:39:05 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2023-04-07 12:32:06 -04:00
|
|
|
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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>httpclient-simple</artifactId>
|
|
|
|
<name>httpclient-simple</name>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2023-02-07 10:39:57 -05:00
|
|
|
<artifactId>parent-boot-3</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2023-02-07 10:39:57 -05:00
|
|
|
<relativePath>../parent-boot-3</relativePath>
|
2019-10-31 21:43:47 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
|
|
<version>4.0.0</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
|
|
|
<version>4.0.0</version>
|
|
|
|
<scope>runtime</scope>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<!-- marshalling -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- utils -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- http client -->
|
|
|
|
<dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
|
|
|
<artifactId>httpclient5</artifactId>
|
|
|
|
<version>${httpclient5.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>org.apache.httpcomponents.core5</groupId>
|
|
|
|
<artifactId>httpcore5</artifactId>
|
|
|
|
<version>${httpcore5.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2022-11-24 14:06:29 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
2023-02-07 10:39:57 -05:00
|
|
|
<artifactId>httpclient5-fluent</artifactId>
|
|
|
|
<version>${httpclient5-fluent.version}</version>
|
2022-11-24 14:06:29 -05:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
<version>${commons-codec.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-11-20 04:44:00 -05:00
|
|
|
<groupId>org.wiremock</groupId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<artifactId>wiremock</artifactId>
|
|
|
|
<version>${wiremock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- web -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>${javax.servlet-api.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<version>${jstl.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- util -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>httpclient-simple</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2023-02-07 10:39:57 -05:00
|
|
|
<version>3.3.2</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2023-02-07 10:39:57 -05:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<configuration>
|
2023-02-07 10:39:57 -05:00
|
|
|
<skip>true</skip>
|
2019-10-31 21:43:47 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>live</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
2023-02-07 10:39:57 -05:00
|
|
|
<artifactId>cargo-maven3-plugin</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-server</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-server</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>none</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*LiveTest.java</include>
|
|
|
|
</includes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<webTarget>cargo</webTarget>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<properties>
|
2023-02-07 10:39:57 -05:00
|
|
|
<java.version>17</java.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<!-- util -->
|
2023-11-12 10:34:55 -05:00
|
|
|
<commons-codec.version>1.16.0</commons-codec.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<!-- testing -->
|
2023-11-20 04:44:00 -05:00
|
|
|
<wiremock.version>3.3.1</wiremock.version>
|
2022-12-20 12:07:54 -05:00
|
|
|
<!-- http client & core 5 -->
|
2022-11-24 14:06:29 -05:00
|
|
|
<httpcore5.version>5.2</httpcore5.version>
|
|
|
|
<httpclient5.version>5.2</httpclient5.version>
|
2023-01-19 11:21:21 -05:00
|
|
|
<httpclient5-fluent.version>5.2</httpclient5-fluent.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<!-- maven plugins -->
|
|
|
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|