1 Star 0 Fork 13

shangxp/uid-spring-boot-starter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 7.75 KB
一键复制 编辑 原始数据 按行查看 历史
四叶草 提交于 2022-06-30 23:17 +08:00 . 升级依赖jar版本
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cc.siyecao.uid</groupId>
<artifactId>uid-parent</artifactId>
<packaging>pom</packaging>
<version>2.1</version>
<url>https://gitee.com/syecao/uid-generator-starter</url>
<modules>
<module>uid-core</module>
<module>uid-database</module>
<module>uid-redis</module>
<module>uid-zookeeper</module>
<module>uid-spring-boot-starter</module>
</modules>
<name>uid-parent</name>
<description>uid-parent</description>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<properties>
<spring-boot.version>2.6.9</spring-boot.version>
<curator.version>5.2.1</curator.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<commons-pool2.version>2.11.1</commons-pool2.version>
<lettuce.version>6.1.5.RELEASE</lettuce.version>
<log4j.version>2.17.2</log4j.version>
<guava.version>31.0.1-jre</guava.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>${commons-pool2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-to-slf4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
</dependency>
<dependency>
<groupId>cc.siyecao.uid</groupId>
<artifactId>uid-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cc.siyecao.uid</groupId>
<artifactId>uid-database</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cc.siyecao.uid</groupId>
<artifactId>uid-zookeeper</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cc.siyecao.uid</groupId>
<artifactId>uid-redis</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<!--打包后的名称-->
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<doclint>none</doclint>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!--Nexus Staging Maven插件是将组件部署到OSSRH并将其发布到Central Repository的推荐方法-->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>sonatype</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<!-- 需要替换的内容-->
<scm>
<url>https://gitee.com/syecao/uid-generator-starter</url>
<connection>https://gitee.com/syecao/uid-generator-starter</connection>
<developerConnection>https://gitee.com/syecao/uid-generator-starter</developerConnection>
</scm>
<developers>
<developer>
<name>lyt</name>
<email>158831306@qq.com</email>
<url>https://gitee.com/syecao/uid-generator-starter</url>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/shangxiaopeng/uid-generator-starter.git
git@gitee.com:shangxiaopeng/uid-generator-starter.git
shangxiaopeng
uid-generator-starter
uid-spring-boot-starter
main

搜索帮助