Skip to content

Commit

Permalink
Merge pull request #44 from cubyte-oss/bugfix/resteasy
Browse files Browse the repository at this point in the history
Use correct resteasy-client dependency and import correct class, closes #33
  • Loading branch information
daniel-frak authored Oct 24, 2021
2 parents 79a3d87 + af10751 commit 922c694
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
18 changes: 14 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<version>1.0-SNAPSHOT</version>
<properties>
<java.version>11</java.version>
<keycloak.version>15.0.0</keycloak.version>
<resteasy.version>4.4.1.Final</resteasy.version>
<keycloak.version>15.0.2</keycloak.version>
<resteasy.version>3.13.2.Final</resteasy.version>
<mockito.version>3.9.0</mockito.version>

<maven.compiler.target>${java.version}</maven.compiler.target>
Expand All @@ -20,20 +20,30 @@
<jacoco.version>0.8.5</jacoco.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.keycloak.bom</groupId>
<artifactId>keycloak-spi-bom</artifactId>
<version>${keycloak.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<!-- https://mvnrepository.com/artifact/org.keycloak/keycloak-core -->
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-core</artifactId>
<version>${keycloak.version}</version>
<scope>provided</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/org.keycloak/keycloak-server-spi -->
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-server-spi</artifactId>
<version>${keycloak.version}</version>
<scope>provided</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import com.danielfrak.code.keycloak.providers.rest.remote.LegacyUser;
import com.danielfrak.code.keycloak.providers.rest.remote.LegacyUserService;
import org.jboss.resteasy.client.jaxrs.BasicAuthentication;
import org.jboss.resteasy.client.jaxrs.ResteasyWebTarget;
import org.jboss.resteasy.client.jaxrs.internal.BasicAuthentication;
import org.keycloak.component.ComponentModel;

import javax.ws.rs.client.Client;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.danielfrak.code.keycloak.providers.rest.rest;

import com.danielfrak.code.keycloak.providers.rest.remote.LegacyUser;
import org.jboss.resteasy.client.jaxrs.BasicAuthentication;
import org.jboss.resteasy.client.jaxrs.ResteasyWebTarget;
import org.jboss.resteasy.client.jaxrs.internal.BasicAuthentication;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
Expand Down

0 comments on commit 922c694

Please sign in to comment.