1 Star 0 Fork 40

CrayonCool/架构一期分布式锁

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 5.79 KB
一键复制 编辑 原始数据 按行查看 历史
GT-吴亦灿 提交于 2020-06-22 11:55 . init
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.nx.arch.addon</groupId>
<artifactId>nx-lock</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>nx-lock</name>
<developers>
<developer>
<id>linhch</id>
<name>庄梦蝶殇</name>
<email>linhuaichuan@naixuejiaoyu.com</email>
<url>https://www.naixuejiaoyu.com</url>
</developer>
</developers>
<properties>
<!-- 项目编码 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- jdk版本 -->
<java.version>1.8</java.version>
<fastjson.version>1.2.58</fastjson.version>
<org.springframework.version>4.3.25.RELEASE</org.springframework.version>
<jedis.version>2.9.3</jedis.version><!-- Jedis 是 Redis 官方首选的 Java 客户端开发包 -->
<slf4j.version>1.7.25</slf4j.version>
<junit.version>4.12</junit.version>
<repository.nexus.url>http://118.190.160.41:8081/nexus/content/groups/public/</repository.nexus.url>
<releases.nexus.url>http://118.190.160.41:8081/nexus/content/repositories/releases/</releases.nexus.url>
<snapshots.nexus.url>http://118.190.160.41:8081/nexus/content/repositories/snapshots/</snapshots.nexus.url>
</properties>
<!-- 远程仓库 -->
<repositories>
<!-- 私服nexus仓库 -->
<repository>
<id>nexus-repository</id>
<url>${repository.nexus.url}</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>osgeo</id>
<name>Open Source Geospatial Foundation Repository</name>
<url>http://download.osgeo.org/webdav/geotools/</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>nexus-repository</id>
<url>${releases.nexus.url}</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<url>${snapshots.nexus.url}</url>
</snapshotRepository>
</distributionManagement>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<resources>
<!--打包资源文件 -->
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**</include>
</includes>
</resource>
</resources>
<testSourceDirectory>src/test/java</testSourceDirectory>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<includes>
<include>**</include>
</includes>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<!-- 编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- 资源插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- jar插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Spring -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${org.springframework.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<!-- slf4j -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- 代码直接调用commons-logging会被桥接到slf4j(spring依赖) -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- fastjson -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>${jedis.version}</version>
<optional>true</optional>
</dependency>
<!-- Test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!-- junit 多线程测试 -->
<dependency>
<groupId>net.sourceforge.groboutils</groupId>
<artifactId>groboutils-core</artifactId>
<version>5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${org.springframework.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/crayoncool/lock.git
git@gitee.com:crayoncool/lock.git
crayoncool
lock
架构一期分布式锁
master

搜索帮助