From 659785bcc711c0d4a5d4f675ecbcb93f3516299d Mon Sep 17 00:00:00 2001 From: lbw Date: Wed, 27 Sep 2023 19:33:42 +0800 Subject: [PATCH] :bookmark: Releasing / Version tags. rename package name --- README.md | 4 ++-- captcha-core/pom.xml | 2 +- .../springboot}/captcha/ArithmeticCaptcha.java | 4 ++-- .../springboot}/captcha/ChineseCaptcha.java | 4 ++-- .../springboot}/captcha/ChineseGifCaptcha.java | 6 +++--- .../pig4cloud => io/springboot}/captcha/GifCaptcha.java | 6 +++--- .../pig4cloud => io/springboot}/captcha/SpecCaptcha.java | 4 ++-- .../captcha/base/ArithmeticCaptchaAbstract.java | 4 ++-- .../springboot}/captcha/base/Captcha.java | 4 ++-- .../springboot}/captcha/base/ChineseCaptchaAbstract.java | 2 +- .../springboot}/captcha/base/Randoms.java | 2 +- .../springboot}/captcha/engine/Symbol.java | 2 +- .../captcha/servlet/CaptchaJakartaServlet.java | 4 ++-- .../springboot}/captcha/servlet/CaptchaServlet.java | 4 ++-- .../springboot}/captcha/utils/AbstractCaptchaUtil.java | 2 +- .../springboot}/captcha/utils/CaptchaJakartaUtil.java | 6 +++--- .../springboot}/captcha/utils/CaptchaUtil.java | 6 +++--- .../springboot}/captcha/utils/Encoder.java | 2 +- .../springboot}/captcha/utils/FileUtil.java | 2 +- .../springboot}/captcha/utils/FontsUtil.java | 2 +- .../springboot}/captcha/utils/GifEncoder.java | 2 +- .../pig4cloud => io/springboot}/captcha/utils/Quant.java | 2 +- .../src/test/java/com/pig4cloud/captcha/CaptchaTest.java | 2 +- captcha-spring-boot-starter/pom.xml | 4 ++-- .../springboot}/captcha/CaptchaAutoConfiguration.java | 6 +++--- .../springboot}/captcha/config/CaptchaEndpoint.java | 6 +++--- .../springboot}/captcha/config/CaptchaProperties.java | 2 +- pom.xml | 9 ++++----- 28 files changed, 52 insertions(+), 53 deletions(-) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/ArithmeticCaptcha.java (96%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/ChineseCaptcha.java (96%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/ChineseGifCaptcha.java (96%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/GifCaptcha.java (97%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/SpecCaptcha.java (97%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/base/ArithmeticCaptchaAbstract.java (97%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/base/Captcha.java (98%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/base/ChineseCaptchaAbstract.java (99%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/base/Randoms.java (98%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/engine/Symbol.java (97%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/servlet/CaptchaJakartaServlet.java (88%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/servlet/CaptchaServlet.java (89%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/utils/AbstractCaptchaUtil.java (92%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/utils/CaptchaJakartaUtil.java (97%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/utils/CaptchaUtil.java (97%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/utils/Encoder.java (99%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/utils/FileUtil.java (98%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/utils/FontsUtil.java (98%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/utils/GifEncoder.java (99%) rename captcha-core/src/main/java/{com/pig4cloud => io/springboot}/captcha/utils/Quant.java (99%) rename captcha-spring-boot-starter/src/main/java/{com/pig4cloud => io/springboot}/captcha/CaptchaAutoConfiguration.java (82%) rename captcha-spring-boot-starter/src/main/java/{com/pig4cloud => io/springboot}/captcha/config/CaptchaEndpoint.java (86%) rename captcha-spring-boot-starter/src/main/java/{com/pig4cloud => io/springboot}/captcha/config/CaptchaProperties.java (92%) diff --git a/README.md b/README.md index d46617b..393560c 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ ### 3.1.gradle方式的引入 ```groovy dependencies { - implementation 'com.pig4cloud.plugin:easy-captcha:2.2.3' + implementation 'io.springboot.plugin:easy-captcha:2.2.3' } ``` @@ -58,7 +58,7 @@ dependencies { ```xml - com.pig4cloud.plugin + io.springboot.plugin captcha-spring-boot-starter 2.2.3 diff --git a/captcha-core/pom.xml b/captcha-core/pom.xml index f81875c..c0c6979 100644 --- a/captcha-core/pom.xml +++ b/captcha-core/pom.xml @@ -3,7 +3,7 @@ 4.0.0 - com.pig4cloud.plugin + io.springboot.plugin easy-captcha 2.2.3 diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/ArithmeticCaptcha.java b/captcha-core/src/main/java/io/springboot/captcha/ArithmeticCaptcha.java similarity index 96% rename from captcha-core/src/main/java/com/pig4cloud/captcha/ArithmeticCaptcha.java rename to captcha-core/src/main/java/io/springboot/captcha/ArithmeticCaptcha.java index e02a855..25f7f00 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/ArithmeticCaptcha.java +++ b/captcha-core/src/main/java/io/springboot/captcha/ArithmeticCaptcha.java @@ -1,6 +1,6 @@ -package com.pig4cloud.captcha; +package io.springboot.captcha; -import com.pig4cloud.captcha.base.ArithmeticCaptchaAbstract; +import io.springboot.captcha.base.ArithmeticCaptchaAbstract; import lombok.extern.slf4j.Slf4j; import javax.imageio.ImageIO; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/ChineseCaptcha.java b/captcha-core/src/main/java/io/springboot/captcha/ChineseCaptcha.java similarity index 96% rename from captcha-core/src/main/java/com/pig4cloud/captcha/ChineseCaptcha.java rename to captcha-core/src/main/java/io/springboot/captcha/ChineseCaptcha.java index 548afc3..8787a01 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/ChineseCaptcha.java +++ b/captcha-core/src/main/java/io/springboot/captcha/ChineseCaptcha.java @@ -1,6 +1,6 @@ -package com.pig4cloud.captcha; +package io.springboot.captcha; -import com.pig4cloud.captcha.base.ChineseCaptchaAbstract; +import io.springboot.captcha.base.ChineseCaptchaAbstract; import lombok.extern.slf4j.Slf4j; import javax.imageio.ImageIO; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/ChineseGifCaptcha.java b/captcha-core/src/main/java/io/springboot/captcha/ChineseGifCaptcha.java similarity index 96% rename from captcha-core/src/main/java/com/pig4cloud/captcha/ChineseGifCaptcha.java rename to captcha-core/src/main/java/io/springboot/captcha/ChineseGifCaptcha.java index d8f9951..8823cc2 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/ChineseGifCaptcha.java +++ b/captcha-core/src/main/java/io/springboot/captcha/ChineseGifCaptcha.java @@ -1,7 +1,7 @@ -package com.pig4cloud.captcha; +package io.springboot.captcha; -import com.pig4cloud.captcha.base.ChineseCaptchaAbstract; -import com.pig4cloud.captcha.utils.GifEncoder; +import io.springboot.captcha.base.ChineseCaptchaAbstract; +import io.springboot.captcha.utils.GifEncoder; import lombok.extern.slf4j.Slf4j; import java.awt.*; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/GifCaptcha.java b/captcha-core/src/main/java/io/springboot/captcha/GifCaptcha.java similarity index 97% rename from captcha-core/src/main/java/com/pig4cloud/captcha/GifCaptcha.java rename to captcha-core/src/main/java/io/springboot/captcha/GifCaptcha.java index fbe5ef1..324d78f 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/GifCaptcha.java +++ b/captcha-core/src/main/java/io/springboot/captcha/GifCaptcha.java @@ -1,7 +1,7 @@ -package com.pig4cloud.captcha; +package io.springboot.captcha; -import com.pig4cloud.captcha.base.Captcha; -import com.pig4cloud.captcha.utils.GifEncoder; +import io.springboot.captcha.base.Captcha; +import io.springboot.captcha.utils.GifEncoder; import lombok.extern.slf4j.Slf4j; import java.awt.*; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/SpecCaptcha.java b/captcha-core/src/main/java/io/springboot/captcha/SpecCaptcha.java similarity index 97% rename from captcha-core/src/main/java/com/pig4cloud/captcha/SpecCaptcha.java rename to captcha-core/src/main/java/io/springboot/captcha/SpecCaptcha.java index 2293e76..730a4d8 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/SpecCaptcha.java +++ b/captcha-core/src/main/java/io/springboot/captcha/SpecCaptcha.java @@ -1,6 +1,6 @@ -package com.pig4cloud.captcha; +package io.springboot.captcha; -import com.pig4cloud.captcha.base.Captcha; +import io.springboot.captcha.base.Captcha; import lombok.extern.slf4j.Slf4j; import javax.imageio.ImageIO; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/base/ArithmeticCaptchaAbstract.java b/captcha-core/src/main/java/io/springboot/captcha/base/ArithmeticCaptchaAbstract.java similarity index 97% rename from captcha-core/src/main/java/com/pig4cloud/captcha/base/ArithmeticCaptchaAbstract.java rename to captcha-core/src/main/java/io/springboot/captcha/base/ArithmeticCaptchaAbstract.java index cb162bd..9153494 100644 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/base/ArithmeticCaptchaAbstract.java +++ b/captcha-core/src/main/java/io/springboot/captcha/base/ArithmeticCaptchaAbstract.java @@ -1,7 +1,7 @@ -package com.pig4cloud.captcha.base; +package io.springboot.captcha.base; import com.googlecode.aviator.AviatorEvaluator; -import com.pig4cloud.captcha.engine.Symbol; +import io.springboot.captcha.engine.Symbol; import java.util.ArrayList; import java.util.List; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/base/Captcha.java b/captcha-core/src/main/java/io/springboot/captcha/base/Captcha.java similarity index 98% rename from captcha-core/src/main/java/com/pig4cloud/captcha/base/Captcha.java rename to captcha-core/src/main/java/io/springboot/captcha/base/Captcha.java index da5caba..91bc014 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/base/Captcha.java +++ b/captcha-core/src/main/java/io/springboot/captcha/base/Captcha.java @@ -1,6 +1,6 @@ -package com.pig4cloud.captcha.base; +package io.springboot.captcha.base; -import com.pig4cloud.captcha.utils.FontsUtil; +import io.springboot.captcha.utils.FontsUtil; import java.awt.*; import java.awt.geom.CubicCurve2D; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/base/ChineseCaptchaAbstract.java b/captcha-core/src/main/java/io/springboot/captcha/base/ChineseCaptchaAbstract.java similarity index 99% rename from captcha-core/src/main/java/com/pig4cloud/captcha/base/ChineseCaptchaAbstract.java rename to captcha-core/src/main/java/io/springboot/captcha/base/ChineseCaptchaAbstract.java index 9a33163..a94b782 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/base/ChineseCaptchaAbstract.java +++ b/captcha-core/src/main/java/io/springboot/captcha/base/ChineseCaptchaAbstract.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha.base; +package io.springboot.captcha.base; import java.awt.*; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/base/Randoms.java b/captcha-core/src/main/java/io/springboot/captcha/base/Randoms.java similarity index 98% rename from captcha-core/src/main/java/com/pig4cloud/captcha/base/Randoms.java rename to captcha-core/src/main/java/io/springboot/captcha/base/Randoms.java index 04db008..0047872 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/base/Randoms.java +++ b/captcha-core/src/main/java/io/springboot/captcha/base/Randoms.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha.base; +package io.springboot.captcha.base; import java.security.SecureRandom; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/engine/Symbol.java b/captcha-core/src/main/java/io/springboot/captcha/engine/Symbol.java similarity index 97% rename from captcha-core/src/main/java/com/pig4cloud/captcha/engine/Symbol.java rename to captcha-core/src/main/java/io/springboot/captcha/engine/Symbol.java index 36cacc4..e02c0fc 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/engine/Symbol.java +++ b/captcha-core/src/main/java/io/springboot/captcha/engine/Symbol.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.pig4cloud.captcha.engine; +package io.springboot.captcha.engine; import lombok.Getter; import lombok.RequiredArgsConstructor; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/servlet/CaptchaJakartaServlet.java b/captcha-core/src/main/java/io/springboot/captcha/servlet/CaptchaJakartaServlet.java similarity index 88% rename from captcha-core/src/main/java/com/pig4cloud/captcha/servlet/CaptchaJakartaServlet.java rename to captcha-core/src/main/java/io/springboot/captcha/servlet/CaptchaJakartaServlet.java index 52baab3..c217427 100644 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/servlet/CaptchaJakartaServlet.java +++ b/captcha-core/src/main/java/io/springboot/captcha/servlet/CaptchaJakartaServlet.java @@ -1,6 +1,6 @@ -package com.pig4cloud.captcha.servlet; +package io.springboot.captcha.servlet; -import com.pig4cloud.captcha.utils.CaptchaJakartaUtil; +import io.springboot.captcha.utils.CaptchaJakartaUtil; import jakarta.servlet.ServletException; import jakarta.servlet.http.HttpServlet; import jakarta.servlet.http.HttpServletRequest; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/servlet/CaptchaServlet.java b/captcha-core/src/main/java/io/springboot/captcha/servlet/CaptchaServlet.java similarity index 89% rename from captcha-core/src/main/java/com/pig4cloud/captcha/servlet/CaptchaServlet.java rename to captcha-core/src/main/java/io/springboot/captcha/servlet/CaptchaServlet.java index 9b1828c..87447de 100644 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/servlet/CaptchaServlet.java +++ b/captcha-core/src/main/java/io/springboot/captcha/servlet/CaptchaServlet.java @@ -1,6 +1,6 @@ -package com.pig4cloud.captcha.servlet; +package io.springboot.captcha.servlet; -import com.pig4cloud.captcha.utils.CaptchaUtil; +import io.springboot.captcha.utils.CaptchaUtil; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/AbstractCaptchaUtil.java b/captcha-core/src/main/java/io/springboot/captcha/utils/AbstractCaptchaUtil.java similarity index 92% rename from captcha-core/src/main/java/com/pig4cloud/captcha/utils/AbstractCaptchaUtil.java rename to captcha-core/src/main/java/io/springboot/captcha/utils/AbstractCaptchaUtil.java index e890bcc..495637c 100644 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/AbstractCaptchaUtil.java +++ b/captcha-core/src/main/java/io/springboot/captcha/utils/AbstractCaptchaUtil.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha.utils; +package io.springboot.captcha.utils; /** * 图形验证码工具抽象父类 diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/CaptchaJakartaUtil.java b/captcha-core/src/main/java/io/springboot/captcha/utils/CaptchaJakartaUtil.java similarity index 97% rename from captcha-core/src/main/java/com/pig4cloud/captcha/utils/CaptchaJakartaUtil.java rename to captcha-core/src/main/java/io/springboot/captcha/utils/CaptchaJakartaUtil.java index 0210d74..1c2f4a7 100644 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/CaptchaJakartaUtil.java +++ b/captcha-core/src/main/java/io/springboot/captcha/utils/CaptchaJakartaUtil.java @@ -1,8 +1,8 @@ -package com.pig4cloud.captcha.utils; +package io.springboot.captcha.utils; -import com.pig4cloud.captcha.SpecCaptcha; -import com.pig4cloud.captcha.base.Captcha; +import io.springboot.captcha.SpecCaptcha; +import io.springboot.captcha.base.Captcha; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/CaptchaUtil.java b/captcha-core/src/main/java/io/springboot/captcha/utils/CaptchaUtil.java similarity index 97% rename from captcha-core/src/main/java/com/pig4cloud/captcha/utils/CaptchaUtil.java rename to captcha-core/src/main/java/io/springboot/captcha/utils/CaptchaUtil.java index 6baea6c..1ad0a5e 100644 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/CaptchaUtil.java +++ b/captcha-core/src/main/java/io/springboot/captcha/utils/CaptchaUtil.java @@ -1,7 +1,7 @@ -package com.pig4cloud.captcha.utils; +package io.springboot.captcha.utils; -import com.pig4cloud.captcha.SpecCaptcha; -import com.pig4cloud.captcha.base.Captcha; +import io.springboot.captcha.SpecCaptcha; +import io.springboot.captcha.base.Captcha; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/Encoder.java b/captcha-core/src/main/java/io/springboot/captcha/utils/Encoder.java similarity index 99% rename from captcha-core/src/main/java/com/pig4cloud/captcha/utils/Encoder.java rename to captcha-core/src/main/java/io/springboot/captcha/utils/Encoder.java index 62661ff..0e8be0b 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/Encoder.java +++ b/captcha-core/src/main/java/io/springboot/captcha/utils/Encoder.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha.utils; +package io.springboot.captcha.utils; import java.io.IOException; import java.io.OutputStream; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/FileUtil.java b/captcha-core/src/main/java/io/springboot/captcha/utils/FileUtil.java similarity index 98% rename from captcha-core/src/main/java/com/pig4cloud/captcha/utils/FileUtil.java rename to captcha-core/src/main/java/io/springboot/captcha/utils/FileUtil.java index 0069bf2..a4cfeb1 100644 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/FileUtil.java +++ b/captcha-core/src/main/java/io/springboot/captcha/utils/FileUtil.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha.utils; +package io.springboot.captcha.utils; import java.io.*; import java.util.Objects; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/FontsUtil.java b/captcha-core/src/main/java/io/springboot/captcha/utils/FontsUtil.java similarity index 98% rename from captcha-core/src/main/java/com/pig4cloud/captcha/utils/FontsUtil.java rename to captcha-core/src/main/java/io/springboot/captcha/utils/FontsUtil.java index f880fd1..31e3444 100644 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/FontsUtil.java +++ b/captcha-core/src/main/java/io/springboot/captcha/utils/FontsUtil.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha.utils; +package io.springboot.captcha.utils; import java.awt.*; import java.io.File; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/GifEncoder.java b/captcha-core/src/main/java/io/springboot/captcha/utils/GifEncoder.java similarity index 99% rename from captcha-core/src/main/java/com/pig4cloud/captcha/utils/GifEncoder.java rename to captcha-core/src/main/java/io/springboot/captcha/utils/GifEncoder.java index 66b79a1..10b5c01 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/GifEncoder.java +++ b/captcha-core/src/main/java/io/springboot/captcha/utils/GifEncoder.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha.utils; +package io.springboot.captcha.utils; import java.awt.*; import java.awt.image.BufferedImage; diff --git a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/Quant.java b/captcha-core/src/main/java/io/springboot/captcha/utils/Quant.java similarity index 99% rename from captcha-core/src/main/java/com/pig4cloud/captcha/utils/Quant.java rename to captcha-core/src/main/java/io/springboot/captcha/utils/Quant.java index bb6c6b6..0f6d521 100755 --- a/captcha-core/src/main/java/com/pig4cloud/captcha/utils/Quant.java +++ b/captcha-core/src/main/java/io/springboot/captcha/utils/Quant.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha.utils; +package io.springboot.captcha.utils; /** * diff --git a/captcha-core/src/test/java/com/pig4cloud/captcha/CaptchaTest.java b/captcha-core/src/test/java/com/pig4cloud/captcha/CaptchaTest.java index b1e1eac..8831dcb 100755 --- a/captcha-core/src/test/java/com/pig4cloud/captcha/CaptchaTest.java +++ b/captcha-core/src/test/java/com/pig4cloud/captcha/CaptchaTest.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha; +package io.springboot.captcha; import lombok.extern.slf4j.Slf4j; import org.junit.Test; diff --git a/captcha-spring-boot-starter/pom.xml b/captcha-spring-boot-starter/pom.xml index 2b80d07..b521878 100644 --- a/captcha-spring-boot-starter/pom.xml +++ b/captcha-spring-boot-starter/pom.xml @@ -3,7 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - com.pig4cloud.plugin + io.springboot.plugin easy-captcha 2.2.3 @@ -46,7 +46,7 @@ - com.pig4cloud.plugin + io.springboot.plugin captcha-core 2.2.3 diff --git a/captcha-spring-boot-starter/src/main/java/com/pig4cloud/captcha/CaptchaAutoConfiguration.java b/captcha-spring-boot-starter/src/main/java/io/springboot/captcha/CaptchaAutoConfiguration.java similarity index 82% rename from captcha-spring-boot-starter/src/main/java/com/pig4cloud/captcha/CaptchaAutoConfiguration.java rename to captcha-spring-boot-starter/src/main/java/io/springboot/captcha/CaptchaAutoConfiguration.java index 4f0dfc5..94ace3d 100644 --- a/captcha-spring-boot-starter/src/main/java/com/pig4cloud/captcha/CaptchaAutoConfiguration.java +++ b/captcha-spring-boot-starter/src/main/java/io/springboot/captcha/CaptchaAutoConfiguration.java @@ -1,7 +1,7 @@ -package com.pig4cloud.captcha; +package io.springboot.captcha; -import com.pig4cloud.captcha.config.CaptchaEndpoint; -import com.pig4cloud.captcha.config.CaptchaProperties; +import io.springboot.captcha.config.CaptchaEndpoint; +import io.springboot.captcha.config.CaptchaProperties; import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; diff --git a/captcha-spring-boot-starter/src/main/java/com/pig4cloud/captcha/config/CaptchaEndpoint.java b/captcha-spring-boot-starter/src/main/java/io/springboot/captcha/config/CaptchaEndpoint.java similarity index 86% rename from captcha-spring-boot-starter/src/main/java/com/pig4cloud/captcha/config/CaptchaEndpoint.java rename to captcha-spring-boot-starter/src/main/java/io/springboot/captcha/config/CaptchaEndpoint.java index c344242..895ed08 100644 --- a/captcha-spring-boot-starter/src/main/java/com/pig4cloud/captcha/config/CaptchaEndpoint.java +++ b/captcha-spring-boot-starter/src/main/java/io/springboot/captcha/config/CaptchaEndpoint.java @@ -1,6 +1,6 @@ -package com.pig4cloud.captcha.config; +package io.springboot.captcha.config; -import com.pig4cloud.captcha.ArithmeticCaptcha; +import io.springboot.captcha.ArithmeticCaptcha; import lombok.RequiredArgsConstructor; import lombok.SneakyThrows; import net.dreamlu.mica.auto.annotation.AutoIgnore; @@ -18,7 +18,7 @@ @RequiredArgsConstructor public class CaptchaEndpoint { - private final CaptchaProperties properties; + private final io.springboot.captcha.config.CaptchaProperties properties; /** * 生成验证码 diff --git a/captcha-spring-boot-starter/src/main/java/com/pig4cloud/captcha/config/CaptchaProperties.java b/captcha-spring-boot-starter/src/main/java/io/springboot/captcha/config/CaptchaProperties.java similarity index 92% rename from captcha-spring-boot-starter/src/main/java/com/pig4cloud/captcha/config/CaptchaProperties.java rename to captcha-spring-boot-starter/src/main/java/io/springboot/captcha/config/CaptchaProperties.java index 77eb7b1..bf41399 100644 --- a/captcha-spring-boot-starter/src/main/java/com/pig4cloud/captcha/config/CaptchaProperties.java +++ b/captcha-spring-boot-starter/src/main/java/io/springboot/captcha/config/CaptchaProperties.java @@ -1,4 +1,4 @@ -package com.pig4cloud.captcha.config; +package io.springboot.captcha.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/pom.xml b/pom.xml index 3d152e0..83c49c6 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - com.pig4cloud.plugin + io.springboot.plugin easy-captcha 2.2.3 pom @@ -45,7 +45,7 @@ org.projectlombok lombok - 1.18.28 + 1.18.30 provided @@ -66,7 +66,6 @@ - release @@ -137,7 +136,7 @@ true sonatype - https://oss.sonatype.org/ + https://s01.oss.sonatype.org/ true @@ -147,7 +146,7 @@ sonatype - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/