Browse Source

🏗️ 新增分布式锁模块

3.x
Yangkai.Shen 2 years ago
parent
commit
8ceeb0e057
6 changed files with 103 additions and 0 deletions
  1. +19
    -0
      demo-distributed-lock/demo-distributed-lock-api/pom.xml
  2. +19
    -0
      demo-distributed-lock/demo-distributed-lock-mysql/pom.xml
  3. +19
    -0
      demo-distributed-lock/demo-distributed-lock-redis/pom.xml
  4. +19
    -0
      demo-distributed-lock/demo-distributed-lock-redisson/pom.xml
  5. +19
    -0
      demo-distributed-lock/demo-distributed-lock-zookeeper/pom.xml
  6. +8
    -0
      demo-distributed-lock/pom.xml

+ 19
- 0
demo-distributed-lock/demo-distributed-lock-api/pom.xml View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.xkcoding</groupId>
<artifactId>demo-distributed-lock</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>demo-distributed-lock-api</artifactId>

<properties>
<java.version>17</java.version>
</properties>

</project>

+ 19
- 0
demo-distributed-lock/demo-distributed-lock-mysql/pom.xml View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.xkcoding</groupId>
<artifactId>demo-distributed-lock</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>demo-distributed-lock-mysql</artifactId>

<properties>
<java.version>17</java.version>
</properties>

</project>

+ 19
- 0
demo-distributed-lock/demo-distributed-lock-redis/pom.xml View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.xkcoding</groupId>
<artifactId>demo-distributed-lock</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>demo-distributed-lock-redis</artifactId>

<properties>
<java.version>17</java.version>
</properties>

</project>

+ 19
- 0
demo-distributed-lock/demo-distributed-lock-redisson/pom.xml View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.xkcoding</groupId>
<artifactId>demo-distributed-lock</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>demo-distributed-lock-redisson</artifactId>

<properties>
<java.version>17</java.version>
</properties>

</project>

+ 19
- 0
demo-distributed-lock/demo-distributed-lock-zookeeper/pom.xml View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.xkcoding</groupId>
<artifactId>demo-distributed-lock</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>demo-distributed-lock-zookeeper</artifactId>

<properties>
<java.version>17</java.version>
</properties>

</project>

+ 8
- 0
demo-distributed-lock/pom.xml View File

@@ -18,4 +18,12 @@
<java.version>17</java.version>
</properties>

<modules>
<module>demo-distributed-lock-api</module>
<module>demo-distributed-lock-redis</module>
<module>demo-distributed-lock-redisson</module>
<module>demo-distributed-lock-zookeeper</module>
<module>demo-distributed-lock-mysql</module>
</modules>

</project>

Loading…
Cancel
Save