Skip to content

Commit

Permalink
Avoid reference to Guava in GitLabSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Sep 27, 2024
1 parent ff8b0c6 commit 6044117
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>7.0.0</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*************************************************************************/
package org.eclipse.dash.licenses.review;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.BiConsumer;
Expand All @@ -28,8 +29,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.google.common.collect.Maps;

public class GitLabSupport {

final Logger logger = LoggerFactory.getLogger(GitLabSupport.class);
Expand Down Expand Up @@ -111,7 +110,7 @@ public void execute(Consumer<GitLabConnection> callable) {
IProxySettings proxySettings = this.proxySettings.get();
if (proxySettings != null) {
// Configure GitLab API for the proxy server
clientConfig = Maps.newHashMap();
clientConfig = new HashMap<>();
proxySettings.configureJerseyClient(clientConfig);
}

Expand Down
4 changes: 4 additions & 0 deletions maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down

0 comments on commit 6044117

Please sign in to comment.