From fc0f3e2289a383053e098467c8a4360d90e5b8e9 Mon Sep 17 00:00:00 2001 From: Zihlu Wang Date: Mon, 31 Jul 2023 20:21:16 +0800 Subject: [PATCH] docs: removed jjwt and created module 'simple-jwt-spring-boot-starter' --- README.md | 25 +++++++++++++++---------- pom.xml | 42 +++++++++++++++++++++++++++++++++++------- 2 files changed, 50 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 04eaf97..d1babe0 100644 --- a/README.md +++ b/README.md @@ -6,22 +6,24 @@ JDevKit is a Java Development Kit that offers a set of convenient tools for writ The core module for `JDevKit`, by now, this module contains the commonly used classes of the whole `dev-kit`. ### `guid` -A module for generating globally unique IDs. It includes a facade interface and an implementation of GUID generation using the Snowflake algorithm. More globally unique ID generation modes will be added in the future. +A module for generating globally unique IDs. It includes a facade interface and an implementation of GUID generation +using the Snowflake algorithm. More globally unique ID generation modes will be added in the future. ### `dev-utils` -A collection of common utility classes to simplify Java development. It includes tools for Base64 encoding/decoding of strings, reducing if-else code blocks using Lambda expressions, converting between maps and arbitrary objects, high-precision chained mathematical calculations, and string hashing or message digest calculations. +A collection of common utility classes to simplify Java development. It includes tools for Base64 encoding/decoding of +strings, reducing if-else code blocks using Lambda expressions, converting between maps and arbitrary objects, +high-precision chained mathematical calculations, and string hashing or message digest calculations. ### `simple-jwt-facade` -A facade for Simple JWT (JSON Web Token) implementations in Java. This module provides a unified interface to work with JWTs regardless of the underlying implementation. +A facade for Simple JWT (JSON Web Token) implementations in Java. This module provides a unified interface to work with +JWTs regardless of the underlying implementation. ### `simple-jwt-auth0` A Simple JWT implementation using the com.auth0:java-jwt library. -### `simple-jwt-jjwt` -A Simple JWT implementation using the io.jsonwebtoken:jjwt library. - ### `simple-jwt-spring-boot-starter` -A Spring Boot auto-configuration wrapper for the simple-jwt module, making it easier to integrate JWT functionality into Spring Boot applications. +A Spring Boot auto-configuration wrapper for the simple-jwt module, making it easier to integrate JWT functionality into +Spring Boot applications. ### `sms-sender-facade` A facade for sending SMS messages in Java. This module abstracts the interfaces of various SMS service providers. @@ -33,7 +35,8 @@ An implementation of SMS Sender using the Alibaba Cloud (Aliyun) service. An implementation of SMS Sender using the Tencent Cloud service. ### `sms-sender-spring-boot-starter` -A Spring Boot auto-configuration wrapper for the sms-sender module, simplifying the integration of SMS sending capabilities into Spring Boot applications. +A Spring Boot auto-configuration wrapper for the sms-sender module, simplifying the integration of SMS sending +capabilities into Spring Boot applications. ## Installation and Usage If you are using `maven`, please paste the following codes to `pom.xml` in your project. @@ -55,10 +58,12 @@ implementation 'cn.org.codecrafters:$artifactId:$version' If you want to check the available versions, please check out at our [official site](). ## Contribution -Contributions are welcome! If you encounter any issues or want to contribute to the project, please feel free to **[raise an issue](https://github.com/CodeCraftersCN/jdevkit/issues/new)** or **[submit a pull request]()**. +Contributions are welcome! If you encounter any issues or want to contribute to the project, please feel free to +**[raise an issue](https://github.com/CodeCraftersCN/jdevkit/issues/new)** or **[submit a pull request]()**. ## License This project is licensed under the [Apache License 2.0](LICENSE). ## Contact -For any questions or feedback, you can [open an issue](https://github.com/CodeCraftersCN/jdevkit/issues/new) on GitHub or join our Discord community at discord.gg/your_discord. \ No newline at end of file +For any questions or feedback, you can [open an issue](https://github.com/CodeCraftersCN/jdevkit/issues/new) on GitHub +or join our [Discord community](). \ No newline at end of file diff --git a/pom.xml b/pom.xml index bb9a283..bcf2238 100644 --- a/pom.xml +++ b/pom.xml @@ -71,7 +71,9 @@ 2.0.7 1.18.28 4.4.0 - 0.9.1 + + x.x.x + 3.1.0 @@ -107,12 +109,6 @@ ${auth0-jwt.version} - - io.jsonwebtoken - jjwt - ${jjwt-jwt.version} - - cn.org.codecrafters devkit-core @@ -130,6 +126,38 @@ simple-jwt-facade ${project.version} + + + cn.org.codecrafters + simple-jwt-authzero + ${project.version} + + + + + org.springframework.boot + spring-boot-autoconfigure + ${spring-boot.version} + + + + org.springframework.boot + spring-boot-starter-logging + ${spring-boot.version} + + + + org.springframework.boot + spring-boot-configuration-processor + ${spring-boot.version} + + + + org.springframework.boot + spring-boot-starter-test + test + ${spring-boot.version} +