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
|
||||
|
||||
### JJWT_RELEASE_VERSION
|
||||
### 0.12.1
|
||||
|
||||
Enabled reflective access on JDK 17+ to `java.io.ByteArrayInputStream` and `sun.security.util.KeyUtil` for
|
||||
`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>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-api</artifactId>
|
||||
<version>0.12.0</version>
|
||||
<version>0.12.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-impl</artifactId>
|
||||
<version>0.12.0</version>
|
||||
<version>0.12.1</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
|
||||
<version>0.12.0</version>
|
||||
<version>0.12.1</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<!-- 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
|
||||
dependencies {
|
||||
implementation 'io.jsonwebtoken:jjwt-api:0.12.0'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.0'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.0' // or 'io.jsonwebtoken:jjwt-gson:0.12.0' for gson
|
||||
implementation 'io.jsonwebtoken:jjwt-api:0.12.1'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.1'
|
||||
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:
|
||||
- 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
|
||||
dependencies {
|
||||
api('io.jsonwebtoken:jjwt-api:0.12.0')
|
||||
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.0')
|
||||
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.0') {
|
||||
api('io.jsonwebtoken:jjwt-api:0.12.1')
|
||||
runtimeOnly('io.jsonwebtoken:jjwt-impl:0.12.1')
|
||||
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.12.1') {
|
||||
exclude(group: 'org.json', module: 'json') //provided by Android natively
|
||||
}
|
||||
/*
|
||||
|
@ -2952,7 +2952,7 @@ scope which is the typical JJWT default). That is:
|
|||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId>
|
||||
<version>0.12.0</version>
|
||||
<version>0.12.1</version>
|
||||
<scope>compile</scope> <!-- Not runtime -->
|
||||
</dependency>
|
||||
```
|
||||
|
@ -2961,7 +2961,7 @@ scope which is the typical JJWT default). That is:
|
|||
|
||||
```groovy
|
||||
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>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-gson</artifactId>
|
||||
<version>0.12.0</version>
|
||||
<version>0.12.1</version>
|
||||
<scope>compile</scope> <!-- Not runtime -->
|
||||
</dependency>
|
||||
```
|
||||
|
@ -3078,7 +3078,7 @@ scope which is the typical JJWT default). That is:
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'io.jsonwebtoken:jjwt-gson:0.12.0'
|
||||
implementation 'io.jsonwebtoken:jjwt-gson:0.12.1'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.13.0-SNAPSHOT</version>
|
||||
<version>0.12.2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.13.0-SNAPSHOT</version>
|
||||
<version>0.12.2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.13.0-SNAPSHOT</version>
|
||||
<version>0.12.2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.13.0-SNAPSHOT</version>
|
||||
<version>0.12.2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.13.0-SNAPSHOT</version>
|
||||
<version>0.12.2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.13.0-SNAPSHOT</version>
|
||||
<version>0.12.2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ import java.lang.reflect.Method;
|
|||
* may break at any time in the future (theoretically even for a minor
|
||||
* 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).
|
||||
*/
|
||||
public final class AddOpens {
|
||||
|
|
16
pom.xml
16
pom.xml
|
@ -14,13 +14,12 @@
|
|||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
<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">
|
||||
<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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.13.0-SNAPSHOT</version>
|
||||
<version>0.12.2-SNAPSHOT</version>
|
||||
<name>JJWT</name>
|
||||
<description>JSON Web Token support for the JVM and Android</description>
|
||||
<packaging>pom</packaging>
|
||||
|
@ -91,7 +90,7 @@
|
|||
<properties>
|
||||
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<arguments/>
|
||||
<arguments />
|
||||
|
||||
<jjwt.root>${basedir}</jjwt.root>
|
||||
<jjwt.previousVersion>0.11.2</jjwt.previousVersion>
|
||||
|
@ -114,7 +113,7 @@
|
|||
<orgjson.version>20230618</orgjson.version>
|
||||
<gson.version>2.9.0</gson.version>
|
||||
|
||||
<maven.javadoc.additionalOptions/>
|
||||
<maven.javadoc.additionalOptions />
|
||||
|
||||
<!-- Optional Runtime Dependencies: -->
|
||||
<bouncycastle.version>1.76</bouncycastle.version>
|
||||
|
@ -130,7 +129,7 @@
|
|||
<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.db>${jjwt.root}/target/clover/clover.db</clover.db>
|
||||
<surefire.argLine/>
|
||||
<surefire.argLine />
|
||||
<test.addOpens>
|
||||
--add-opens java.base/java.lang=ALL-UNNAMED, <!-- Needed by EasyMock/cglib -->
|
||||
--add-opens java.desktop/java.beans=ALL-UNNAMED, <!-- Needed by EasyMock/cglib -->
|
||||
|
@ -474,8 +473,7 @@
|
|||
</includes>
|
||||
</artifactSet>
|
||||
<transformers>
|
||||
<transformer
|
||||
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
||||
</transformers>
|
||||
</configuration>
|
||||
<executions>
|
||||
|
@ -709,7 +707,7 @@
|
|||
<!-- <configuration>-->
|
||||
<!-- <source>${jdk.version}</source>-->
|
||||
<!-- <target>${jdk.version}</target>-->
|
||||
<!-- <release/>-->
|
||||
<!-- <release />-->
|
||||
<!-- <encoding>${project.build.sourceEncoding}</encoding>-->
|
||||
<!-- <excludes>-->
|
||||
<!-- <exclude>module-info.java</exclude>-->
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-root</artifactId>
|
||||
<version>0.13.0-SNAPSHOT</version>
|
||||
<version>0.12.2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
Loading…
Reference in New Issue