Skip to content

Commit

Permalink
fix(jwt): Use nimbus from the node component classloader instead of t…
Browse files Browse the repository at this point in the history
…he plugin's classloader

Closes gravitee-io/issues#2397
  • Loading branch information
brasseld committed Jul 1, 2019
1 parent 585431f commit 1f54cd5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pom.xml
Expand Up @@ -22,7 +22,7 @@

<groupId>io.gravitee.policy</groupId>
<artifactId>gravitee-policy-generate-jwt</artifactId>
<version>1.1.1-SNAPSHOT</version>
<version>1.2.0-SNAPSHOT</version>

<name>Gravitee.io APIM - Policy - Generate JWT</name>
<description>Description of the Generate JWT Gravitee Policy</description>
Expand All @@ -37,7 +37,7 @@
<gravitee-gateway-api.version>1.14.0</gravitee-gateway-api.version>
<gravitee-policy-api.version>1.4.0</gravitee-policy-api.version>
<gravitee-common.version>1.14.0</gravitee-common.version>
<nimbus-jose-jwt.version>6.3</nimbus-jose-jwt.version>
<nimbus-jose-jwt.version>7.2.1</nimbus-jose-jwt.version>
<guava.version>26.0-jre</guava.version>
<json-schema-generator-maven-plugin.version>1.3.0</json-schema-generator-maven-plugin.version>
<json-schema-generator-maven-plugin.outputDirectory>${project.build.directory}/schemas</json-schema-generator-maven-plugin.outputDirectory>
Expand Down Expand Up @@ -72,12 +72,14 @@
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>${nimbus-jose-jwt.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.60</version>
<version>1.61</version>
<scope>test</scope>
</dependency>

<!-- Jackson dependencies -->
Expand All @@ -94,7 +96,7 @@
<version>${spring.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
Expand All @@ -109,7 +111,7 @@
<version>${junit.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
Expand Down Expand Up @@ -148,4 +150,4 @@
</plugins>
</build>

</project>
</project>

0 comments on commit 1f54cd5

Please sign in to comment.