代码拉取完成,页面将自动刷新
同步操作将从 李翔/开箱即用的java新型雪花算法(SnowFlake) 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?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">
<modelVersion>4.0.0</modelVersion>
<!--组id,引入的时候与我们之前配置的groupId一致-->
<groupId>io.github.lmlx66</groupId>
<!--工件id,引入时候与其一致-->
<artifactId>yitter-idgenerator-spring-boot-starter</artifactId>
<!--版本号-->
<version>1.1.0-RELEASE</version>
<!--<version>1.0.10-SNAPSHOT</version>-->
<!--项目描述-->
<description>yitter雪花漂移算法自动配置启动模块</description>
<!--打包方式-->
<packaging>jar</packaging>
<!--项目名,不能中文-->
<name>lixiang</name>
<!--作者主页-->
<url>www.lmlx66.top</url>
<!--不是必选-->
<parent>
<artifactId>spring-boot-starter-parent</artifactId>
<groupId>org.springframework.boot</groupId>
<version>2.6.7</version>
<relativePath/>
</parent>
<!--版本描述-->
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<!--依赖插件-->
<spring-cloud-context.version>3.1.2</spring-cloud-context.version>
<swagger-annotations.version>1.6.6</swagger-annotations.version>
<lombok.version>1.18.24</lombok.version>
<spring-cloud-context.version>3.1.2</spring-cloud-context.version>
<!--优化漏洞-->
<spring-framework.version>5.3.18</spring-framework.version>
<!--maven插件-->
<compile.version>8</compile.version>
</properties>
<dependencies>
<!--spring-boot-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!--产生配置元数据,在配置文件配置时,能够提示-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!--lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope> <!--编译文件不生成-->
</dependency>
<!--swagger注释-->
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations.version}</version>
</dependency>
</dependencies>
<!--开源证书,你的github项目的开源证书地址-->
<licenses>
<license>
<name>MIT</name>
<url>https://github.com/lmlx66/yitter-idgenerator-spring-boot-starter/blob/master/LICENSE</url>
</license>
</licenses>
<!-- 项目信息 -->
<scm>
<url>https://github.com/lmlx66/yitter-idgenerator-spring-boot-starter</url>
<connection>scm:git:https://git@github.com/lmlx66/yitter-idgenerator-spring-boot-starter.git</connection>
<developerConnection>https://github.com/lmlx66</developerConnection>
</scm>
<!-- issue -->
<issueManagement>
<system>Github Issue</system>
<url>https://github.com/lmlx66/yitter-idgenerator-spring-boot-starter/issues</url>
</issueManagement>
<!-- 作者信息 -->
<developers>
<developer>
<name>li xiang</name>
<email>1938857445@qq.com</email>
<timezone>+8</timezone>
<roles>
<role>Developer</role>
</roles>
</developer>
</developers>
<!--构建通用插件-->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${compile.version}</source>
<target>${compile.version}</target>
<compilerArgument>-Xlint:unchecked</compilerArgument>
</configuration>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<!--自定义的注释注解忽略报错-->
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<!-- 打包源码插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!--snapshotRepository地址,我们需要上传的地址,申请成功后会发帖告诉你地址的-->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<profiles>
<profile>
<id>sonatype</id>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.orgservice/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<!-- 打包源 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>oss</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Gpg 签证 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>ossrh</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!--发布源插件-->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。