From 588613b5e08372b51a20d1e56c11d1f9a91be4b3 Mon Sep 17 00:00:00 2001 From: liushaofeng Date: Thu, 15 Oct 2020 14:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95maven=E4=B8=AD=E5=A4=AE?= =?UTF-8?q?=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 108 ++++++++++++++++++++++++++++++++++++++++++++++++------ readme.md | 14 +++++++ 2 files changed, 111 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index f3edbfe..343450c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,14 +4,49 @@ 4.0.0 cloud.tianai.captcha tianai-captcha - 0.0.1-SNAPSHOT + 1.0.alpha + tianai-captcha - Demo project for Spring Boot + 滑块验证码 + https://gitee.com/tianai/tianai-captcha 1.8 + + true + UTF-8 + UTF-8 + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + tianaiyouqing + tianaiyouqing@163.com + tianaiyouqing + http://tianai.cloud + + + + https://gitee.com/tianai/tianai-captcha + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots/ + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + @@ -20,21 +55,12 @@ 1.18.12 true - - - - - - - - org.scijava native-lib-loader 2.3.4 - @@ -45,8 +71,68 @@ 8 8 + -parameters + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + -Xdoclint:none + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.6 + diff --git a/readme.md b/readme.md index d21c6dc..7b5cda2 100644 --- a/readme.md +++ b/readme.md @@ -3,8 +3,22 @@ ![](image/1.png) ![](image/2.png) + - 该滑块验证码实现了 普通图片和 **webp**图片两种格式 + - java获取滑块验证码例子 + + +```xml + + + cloud.tianai.captcha + tianai-captcha + 1.0.alpha + +``` + + ```java public static void main(String[] args) { SliderCaptchaTemplate sliderCaptchaTemplate = new SliderCaptchaTemplate();