mirror of https://github.com/jwtk/jjwt.git
Released 0.12.1
* Released 0.12.1 * [maven-release-plugin] prepare release 0.12.1 * [maven-release-plugin] prepare for next development iteration
This commit is contained in:
parent
1625067b85
commit
fad6e2737d
|
@ -1,6 +1,6 @@
|
||||||
## Release Notes
|
## Release Notes
|
||||||
|
|
||||||
### JJWT_RELEASE_VERSION
|
### 0.12.1
|
||||||
|
|
||||||
Enabled reflective access on JDK 17+ to `java.io.ByteArrayInputStream` and `sun.security.util.KeyUtil` for
|
Enabled reflective access on JDK 17+ to `java.io.ByteArrayInputStream` and `sun.security.util.KeyUtil` for
|
||||||
`jjwt-impl.jar`
|
`jjwt-impl.jar`
|
||||||
|
|
26
README.md
26
README.md
|
@ -540,18 +540,18 @@ If you're building a (non-Android) JDK project, you will want to define the foll
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-api</artifactId>
|
<artifactId>jjwt-api</artifactId>
|
||||||
<version>0.12.0</version>
|
<version>0.12.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-impl</artifactId>
|
<artifactId>jjwt-impl</artifactId>
|
||||||
<version>0.12.0</version>
|
<version>0.12.1</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
|
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
|
||||||
<version>0.12.0</version>
|
<version>0.12.1</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Uncomment this next dependency if you are using:
|
<!-- Uncomment this next dependency if you are using:
|
||||||
|
@ -574,9 +574,9 @@ If you're building a (non-Android) JDK project, you will want to define the foll
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.jsonwebtoken:jjwt-api:0.12.0'
|
implementation 'io.jsonwebtoken:jjwt-api:0.12.1'
|
||||||
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.0'
|
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.1'
|
||||||
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.0' // or 'io.jsonwebtoken:jjwt-gson:0.12.0' for gson
|
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.1' // or 'io.jsonwebtoken:jjwt-gson:0.12.1' for gson
|
||||||
/*
|
/*
|
||||||
Uncomment this next dependency if you are using:
|
Uncomment this next dependency if you are using:
|
||||||
- JDK 10 or earlier, and you want to use RSASSA-PSS (PS256, PS384, PS512) signature algorithms.
|
- JDK 10 or earlier, and you want to use RSASSA-PSS (PS256, PS384, PS512) signature algorithms.
|
||||||
|
@ -601,9 +601,9 @@ Add the dependencies to your project:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
api('io.jsonwebtoken:jjwt-api:0.12.0')
|
api('io.jsonwebtoken:jjwt-api:0.12.1')
|
||||||
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.0')
|
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.1')
|
||||||
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.0') {
|
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.1') {
|
||||||
exclude(group: 'org.json', module: 'json') //provided by Android natively
|
exclude(group: 'org.json', module: 'json') //provided by Android natively
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
@ -2952,7 +2952,7 @@ scope which is the typical JJWT default). That is:
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-jackson</artifactId>
|
<artifactId>jjwt-jackson</artifactId>
|
||||||
<version>0.12.0</version>
|
<version>0.12.1</version>
|
||||||
<scope>compile</scope> <!-- Not runtime -->
|
<scope>compile</scope> <!-- Not runtime -->
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
@ -2961,7 +2961,7 @@ scope which is the typical JJWT default). That is:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.0'
|
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.1'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -3069,7 +3069,7 @@ scope which is the typical JJWT default). That is:
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-gson</artifactId>
|
<artifactId>jjwt-gson</artifactId>
|
||||||
<version>0.12.0</version>
|
<version>0.12.1</version>
|
||||||
<scope>compile</scope> <!-- Not runtime -->
|
<scope>compile</scope> <!-- Not runtime -->
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
@ -3078,7 +3078,7 @@ scope which is the typical JJWT default). That is:
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.jsonwebtoken:jjwt-gson:0.12.0'
|
implementation 'io.jsonwebtoken:jjwt-gson:0.12.1'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<version>0.12.2-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<version>0.12.2-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<version>0.12.2-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<version>0.12.2-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<version>0.12.2-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<version>0.12.2-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ import java.lang.reflect.Method;
|
||||||
* may break at any time in the future (theoretically even for a minor
|
* may break at any time in the future (theoretically even for a minor
|
||||||
* release!).
|
* release!).
|
||||||
*
|
*
|
||||||
* @since JJWT_RELEASE_VERSION, gratefully copied from <a href="https://github.com/stefan-zobel/wip/blob/b74e927edddf19a5dce7c8610835f620c0b6f557/src/main/java/misc/AddOpens.java">https://github.com/stefan-zobel/wip/blob/b74e927edddf19a5dce7c8610835f620c0b6f557/src/main/java/misc/AddOpens.java</a>
|
* @since 0.12.1, gratefully copied from <a href="https://github.com/stefan-zobel/wip/blob/b74e927edddf19a5dce7c8610835f620c0b6f557/src/main/java/misc/AddOpens.java">https://github.com/stefan-zobel/wip/blob/b74e927edddf19a5dce7c8610835f620c0b6f557/src/main/java/misc/AddOpens.java</a>
|
||||||
* under the terms of the Apache 2 open source license (same as the JJWT license).
|
* under the terms of the Apache 2 open source license (same as the JJWT license).
|
||||||
*/
|
*/
|
||||||
public final class AddOpens {
|
public final class AddOpens {
|
||||||
|
|
16
pom.xml
16
pom.xml
|
@ -14,13 +14,12 @@
|
||||||
~ See the License for the specific language governing permissions and
|
~ See the License for the specific language governing permissions and
|
||||||
~ limitations under the License.
|
~ limitations under the License.
|
||||||
-->
|
-->
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<version>0.12.2-SNAPSHOT</version>
|
||||||
<name>JJWT</name>
|
<name>JJWT</name>
|
||||||
<description>JSON Web Token support for the JVM and Android</description>
|
<description>JSON Web Token support for the JVM and Android</description>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
@ -91,7 +90,7 @@
|
||||||
<properties>
|
<properties>
|
||||||
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<arguments/>
|
<arguments />
|
||||||
|
|
||||||
<jjwt.root>${basedir}</jjwt.root>
|
<jjwt.root>${basedir}</jjwt.root>
|
||||||
<jjwt.previousVersion>0.11.2</jjwt.previousVersion>
|
<jjwt.previousVersion>0.11.2</jjwt.previousVersion>
|
||||||
|
@ -114,7 +113,7 @@
|
||||||
<orgjson.version>20230618</orgjson.version>
|
<orgjson.version>20230618</orgjson.version>
|
||||||
<gson.version>2.9.0</gson.version>
|
<gson.version>2.9.0</gson.version>
|
||||||
|
|
||||||
<maven.javadoc.additionalOptions/>
|
<maven.javadoc.additionalOptions />
|
||||||
|
|
||||||
<!-- Optional Runtime Dependencies: -->
|
<!-- Optional Runtime Dependencies: -->
|
||||||
<bouncycastle.version>1.76</bouncycastle.version>
|
<bouncycastle.version>1.76</bouncycastle.version>
|
||||||
|
@ -130,7 +129,7 @@
|
||||||
<surefire.plugin.version>3.0.0-M5</surefire.plugin.version>
|
<surefire.plugin.version>3.0.0-M5</surefire.plugin.version>
|
||||||
<clover.version>4.3.1</clover.version> <!-- max version allowed for JDK 7 builds -->
|
<clover.version>4.3.1</clover.version> <!-- max version allowed for JDK 7 builds -->
|
||||||
<clover.db>${jjwt.root}/target/clover/clover.db</clover.db>
|
<clover.db>${jjwt.root}/target/clover/clover.db</clover.db>
|
||||||
<surefire.argLine/>
|
<surefire.argLine />
|
||||||
<test.addOpens>
|
<test.addOpens>
|
||||||
--add-opens java.base/java.lang=ALL-UNNAMED, <!-- Needed by EasyMock/cglib -->
|
--add-opens java.base/java.lang=ALL-UNNAMED, <!-- Needed by EasyMock/cglib -->
|
||||||
--add-opens java.desktop/java.beans=ALL-UNNAMED, <!-- Needed by EasyMock/cglib -->
|
--add-opens java.desktop/java.beans=ALL-UNNAMED, <!-- Needed by EasyMock/cglib -->
|
||||||
|
@ -474,8 +473,7 @@
|
||||||
</includes>
|
</includes>
|
||||||
</artifactSet>
|
</artifactSet>
|
||||||
<transformers>
|
<transformers>
|
||||||
<transformer
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
||||||
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
||||||
</transformers>
|
</transformers>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
@ -709,7 +707,7 @@
|
||||||
<!-- <configuration>-->
|
<!-- <configuration>-->
|
||||||
<!-- <source>${jdk.version}</source>-->
|
<!-- <source>${jdk.version}</source>-->
|
||||||
<!-- <target>${jdk.version}</target>-->
|
<!-- <target>${jdk.version}</target>-->
|
||||||
<!-- <release/>-->
|
<!-- <release />-->
|
||||||
<!-- <encoding>${project.build.sourceEncoding}</encoding>-->
|
<!-- <encoding>${project.build.sourceEncoding}</encoding>-->
|
||||||
<!-- <excludes>-->
|
<!-- <excludes>-->
|
||||||
<!-- <exclude>module-info.java</exclude>-->
|
<!-- <exclude>module-info.java</exclude>-->
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt-root</artifactId>
|
<artifactId>jjwt-root</artifactId>
|
||||||
<version>0.13.0-SNAPSHOT</version>
|
<version>0.12.2-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue