Skip to content

Commit

Permalink
🔖 Releasing / Version tags. rename package name
Browse files Browse the repository at this point in the history
  • Loading branch information
lbw committed Sep 27, 2023
1 parent 12252a2 commit 659785b
Show file tree
Hide file tree
Showing 28 changed files with 52 additions and 53 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
```

Expand All @@ -58,7 +58,7 @@ dependencies {
```xml
<dependencies>
<dependency>
<groupId>com.pig4cloud.plugin</groupId>
<groupId>io.springboot.plugin</groupId>
<artifactId>captcha-spring-boot-starter</artifactId>
<version>2.2.3</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion captcha-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.pig4cloud.plugin</groupId>
<groupId>io.springboot.plugin</groupId>
<artifactId>easy-captcha</artifactId>
<version>2.2.3</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -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.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha.base;
package io.springboot.captcha.base;

import java.awt.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha.base;
package io.springboot.captcha.base;

import java.security.SecureRandom;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.pig4cloud.captcha.engine;
package io.springboot.captcha.engine;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha.utils;
package io.springboot.captcha.utils;

/**
* 图形验证码工具抽象父类
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha.utils;
package io.springboot.captcha.utils;

import java.io.IOException;
import java.io.OutputStream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha.utils;
package io.springboot.captcha.utils;

import java.io.*;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha.utils;
package io.springboot.captcha.utils;

import java.awt.*;
import java.io.File;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha.utils;
package io.springboot.captcha.utils;

import java.awt.*;
import java.awt.image.BufferedImage;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha.utils;
package io.springboot.captcha.utils;

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha;
package io.springboot.captcha;

import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
Expand Down
4 changes: 2 additions & 2 deletions captcha-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.pig4cloud.plugin</groupId>
<groupId>io.springboot.plugin</groupId>
<artifactId>easy-captcha</artifactId>
<version>2.2.3</version>
</parent>
Expand Down Expand Up @@ -46,7 +46,7 @@
</dependency>

<dependency>
<groupId>com.pig4cloud.plugin</groupId>
<groupId>io.springboot.plugin</groupId>
<artifactId>captcha-core</artifactId>
<version>2.2.3</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -18,7 +18,7 @@
@RequiredArgsConstructor
public class CaptchaEndpoint {

private final CaptchaProperties properties;
private final io.springboot.captcha.config.CaptchaProperties properties;

/**
* 生成验证码
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pig4cloud.captcha.config;
package io.springboot.captcha.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
Expand Down
9 changes: 4 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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>com.pig4cloud.plugin</groupId>
<groupId>io.springboot.plugin</groupId>
<artifactId>easy-captcha</artifactId>
<version>2.2.3</version>
<packaging>pom</packaging>
Expand Down Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.28</version>
<version>1.18.30</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -66,7 +66,6 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
Expand Down Expand Up @@ -137,7 +136,7 @@
<extensions>true</extensions>
<configuration>
<serverId>sonatype</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
Expand All @@ -147,7 +146,7 @@
<repository>
<id>sonatype</id>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/
https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
</repository>
</distributionManagement>
Expand Down

0 comments on commit 659785b

Please sign in to comment.