Skip to content

Commit 6917da6

Browse files
committed
Update README.md
1 parent 36be05c commit 6917da6

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
The `Captcha Generator` is a utility for generating captcha images with customizable configurations. Captchas are commonly used to prevent automated bots from accessing or submitting data on web forms. This class provides the functionality to generate captcha images with random codes, random fonts, and noise to increase security and make it challenging for bots to decipher.
44

5+
### Installation
6+
Add the following dependency to your `pom.xml` file:
7+
```xml
8+
<dependency>
9+
<groupId>com.mewebstudio</groupId>
10+
<artifactId>captcha</artifactId>
11+
<version>0.1.0</version>
12+
</dependency>
13+
```
14+
515
### How to Use
616

717
To use the `Captcha` class to generate captcha images, follow these steps:

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
5353
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
5454
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
55+
<maven-release-plugin.version>3.0.1</maven-release-plugin.version>
5556
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5657
</properties>
5758

@@ -149,6 +150,17 @@
149150
<autoReleaseAfterClose>true</autoReleaseAfterClose>
150151
</configuration>
151152
</plugin>
153+
<plugin>
154+
<groupId>org.apache.maven.plugins</groupId>
155+
<artifactId>maven-release-plugin</artifactId>
156+
<version>${maven-release-plugin.version}</version>
157+
<configuration>
158+
<autoVersionSubmodules>true</autoVersionSubmodules>
159+
<useReleaseProfile>false</useReleaseProfile>
160+
<releaseProfiles>release</releaseProfiles>
161+
<goals>deploy</goals>
162+
</configuration>
163+
</plugin>
152164
</plugins>
153165
</build>
154166

0 commit comments

Comments
 (0)