Skip to content

Commit

Permalink
Upgraded Guava version from 19.0 to 27.1-jre - CVE-2018-10237 - CWE-1…
Browse files Browse the repository at this point in the history
…19 - errata corrige

Signed-off-by: coduz <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Jun 28, 2019
1 parent 1804f28 commit 52d12d5
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 5 deletions.
2 changes: 2 additions & 0 deletions assembly/broker/descriptors/kapua-broker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@
<include>com.fasterxml.jackson.dataformat:*</include>
<include>com.google.code.findbugs:annotations</include>
<include>com.google.guava:guava</include>
<include>com.google.guava:failureaccess</include>
<include>com.google.guava:listenablefuture</include>
<include>com.google.inject.extensions:guice-multibindings</include>
<include>com.google.inject:guice</include>
<include>com.google.protobuf:protobuf-java</include>
Expand Down
22 changes: 22 additions & 0 deletions assembly/broker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,14 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>failureaccess</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>listenablefuture</artifactId>
</dependency>
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
Expand Down Expand Up @@ -455,6 +463,20 @@
<overWrite>true</overWrite>
<outputDirectory>target/broker_dependency</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.google.guava</groupId>
<artifactId>failureaccess</artifactId>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>target/broker_dependency</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.google.guava</groupId>
<artifactId>listenablefuture</artifactId>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>target/broker_dependency</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
Expand Down
44 changes: 39 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
<findbugs.version>2.0.1</findbugs.version>
<gson.version>2.7</gson.version>
<guava.version>27.1-jre</guava.version>
<guava-failureaccess.version>1.0.1</guava-failureaccess.version>
<guava-listenablefuture.version>9999.0-empty-to-avoid-conflict-with-guava</guava-listenablefuture.version>
<guice.version>4.1.0</guice.version>
<h2.version>1.4.192</h2.version>
<httpcomponents.version>4.5.2</httpcomponents.version>
Expand Down Expand Up @@ -291,7 +293,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore />
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
Expand All @@ -304,7 +306,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore />
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
Expand All @@ -317,7 +319,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore />
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
Expand All @@ -330,7 +332,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore />
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
Expand Down Expand Up @@ -937,6 +939,38 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
</exclusion>
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>failureaccess</artifactId>
<version>${guava-failureaccess.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>listenablefuture</artifactId>
<version>${guava-listenablefuture.version}</version>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
Expand Down Expand Up @@ -1449,7 +1483,7 @@
<connection>scm:git:ssh://git@github.com/eclipse/kapua.git</connection>
<developerConnection>scm:git:ssh://git@github.com/eclipse/kapua.git</developerConnection>
<tag>HEAD</tag>
</scm>
</scm>

<issueManagement>
<system>GitHub Issues</system>
Expand Down

0 comments on commit 52d12d5

Please sign in to comment.