REOC-61 due to security warning, we upgrade httpclient version

This commit is contained in:
YuCheng Hu 2019-09-23 07:41:17 -04:00
parent 4294e13381
commit d43b32947a
2 changed files with 39 additions and 15 deletions

View File

@ -30,14 +30,14 @@ configurations {
dependencies {
compile group: 'log4j', name: 'log4j', version: '1.2.9'
// APACHE
compile group: 'commons-logging', name: 'commons-logging', version: '1.1.1'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'commons-codec', name: 'commons-codec', version: '1.3'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.1.1'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6'
// GOOGLE
compile group: 'com.google.guava', name: 'guava', version: '28.1-jre'
// XML

46
pom.xml
View File

@ -9,6 +9,18 @@
<name>REoC RETS Client</name>
<url>http://maven.apache.org</url>
<properties>
<!-- Generic properties -->
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Logging -->
<log4j2.version>2.8.1</log4j2.version>
</properties>
<profiles>
<profile>
<id>local</id>
@ -23,6 +35,18 @@
</profiles>
<dependencies>
<!-- APACHE -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.6</version>
</dependency>
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
@ -43,12 +67,7 @@
<version>1.2.9</version>
<optional>false</optional>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.4</version>
<optional>false</optional>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
@ -64,11 +83,7 @@
<artifactId>guava</artifactId>
<version>28.1-jre</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.1.1</version>
</dependency>
</dependencies>
<build>
@ -84,6 +99,15 @@
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>