66
77 <groupId >io.github.cooperlyt</groupId >
88 <artifactId >uid-generator-spring-boot</artifactId >
9- <version >1.0.1.BATE </version >
9+ <version >1.0.2-SNAPSHOT </version >
1010 <packaging >pom</packaging >
11+
12+ <name >uid-generator-spring-boot</name >
13+ <description >UidGenerator is a Java implemented, Snowflake based unique ID generator.</description >
14+ <url >https://github.com/cooperlyt/uid-generator-spring-boot</url >
15+
16+ <licenses >
17+ <license >
18+ <name >The Apache Software License, Version 2.0</name >
19+ <url >https://www.apache.org/licenses/LICENSE-2.0.txt</url >
20+ <distribution >repo</distribution >
21+ </license >
22+ </licenses >
23+
24+ <scm >
25+ <tag >${project.version} </tag >
26+ <connection >scm:git@github.com:cooperlyt/uid-generator-spring-boot.git</connection >
27+ <developerConnection >scm:git@github.com:cooperlyt/uid-generator-spring-boot.git</developerConnection >
28+ <url >https://github.com/cooperlyt/uid-generator-spring-boot</url >
29+ </scm >
30+
31+ <developers >
32+ <developer >
33+ <id >cooperlyt</id >
34+ <name >cooper lee</name >
35+ <email >lyt3131@163.com</email >
36+ <organization >https://cooperlyt.github.io</organization >
37+ <timezone >+8</timezone >
38+ <roles >
39+ <role >Developer</role >
40+ </roles >
41+ </developer >
42+ </developers >
43+
1144 <modules >
1245 <module >uid-generator</module >
1346 <module >uid-worker-id-jdbc-spring-boot-starter</module >
2053 <properties >
2154 <maven .compiler.source>15</maven .compiler.source>
2255 <maven .compiler.target>15</maven .compiler.target>
56+ <java .version>15</java .version>
2357 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2458 <slf4j-version >2.0.6</slf4j-version >
59+
2560 </properties >
2661
2762
74109
75110 </dependencies >
76111
112+ <profiles >
113+ <profile >
114+ <id >release</id >
115+ <properties >
116+ <javadoc .opts>-Xdoclint:none</javadoc .opts>
117+ </properties >
118+ <build >
119+ <plugins >
120+ <plugin >
121+ <groupId >org.apache.maven.plugins</groupId >
122+ <artifactId >maven-javadoc-plugin</artifactId >
123+ <version >3.3.2</version >
124+ <executions >
125+ <execution >
126+ <phase >package</phase >
127+ <goals >
128+ <goal >jar</goal >
129+ </goals >
130+ <configuration >
131+ <additionalOptions >${javadoc.opts} </additionalOptions >
132+ </configuration >
133+ </execution >
134+ </executions >
135+ </plugin >
136+ <plugin >
137+ <groupId >org.apache.maven.plugins</groupId >
138+ <artifactId >maven-gpg-plugin</artifactId >
139+ <version >3.0.1</version >
140+ <executions >
141+ <execution >
142+ <id >sign-artifacts</id >
143+ <phase >verify</phase >
144+ <goals >
145+ <goal >sign</goal >
146+ </goals >
147+ </execution >
148+ </executions >
149+ <configuration >
150+ <keyname >${gpg.keyname} </keyname >
151+ <passphraseServerId >${gpg.keyname} </passphraseServerId >
152+ </configuration >
153+ </plugin >
154+ </plugins >
155+ </build >
156+ </profile >
157+ </profiles >
158+
159+
160+ <build >
161+ <finalName >${project.artifactId} </finalName >
162+
163+ <plugins >
164+ <plugin >
165+ <groupId >org.apache.maven.plugins</groupId >
166+ <artifactId >maven-compiler-plugin</artifactId >
167+ <version >3.10.1</version >
168+ <configuration >
169+ <verbose >true</verbose >
170+ <fork >true</fork >
171+ <source >${java.version} </source >
172+ <target >${java.version} </target >
173+ <encoding >${project.build.sourceEncoding} </encoding >
174+ </configuration >
175+ </plugin >
176+ <plugin >
177+ <groupId >org.apache.maven.plugins</groupId >
178+ <artifactId >maven-source-plugin</artifactId >
179+ <version >3.2.1</version >
180+ <configuration >
181+ <attach >true</attach >
182+ </configuration >
183+ <executions >
184+ <execution >
185+ <phase >compile</phase >
186+ <goals >
187+ <goal >jar</goal >
188+ </goals >
189+ </execution >
190+ </executions >
191+ </plugin >
192+
193+ <plugin >
194+ <groupId >org.apache.maven.plugins</groupId >
195+ <artifactId >maven-surefire-plugin</artifactId >
196+ <version >2.22.2</version >
197+ <dependencies >
198+ <dependency >
199+ <groupId >org.junit.platform</groupId >
200+ <artifactId >junit-platform-surefire-provider</artifactId >
201+ <version >1.3.2</version >
202+ </dependency >
203+ <dependency >
204+ <groupId >org.junit.jupiter</groupId >
205+ <artifactId >junit-jupiter-engine</artifactId >
206+ <version >5.9.2</version >
207+ </dependency >
208+ </dependencies >
209+ </plugin >
210+
211+ <plugin >
212+ <groupId >org.sonatype.plugins</groupId >
213+ <artifactId >nexus-staging-maven-plugin</artifactId >
214+ <version >1.6.13</version >
215+ <extensions >true</extensions >
216+ <configuration >
217+ <serverId >ossrh</serverId >
218+ <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
219+ <autoReleaseAfterClose >false</autoReleaseAfterClose >
220+ </configuration >
221+ </plugin >
222+ </plugins >
223+ </build >
224+
225+ <distributionManagement >
226+ <snapshotRepository >
227+ <id >ossrh</id >
228+ <url >https://s01.oss.sonatype.org/content/repositories/snapshots/</url >
229+ </snapshotRepository >
77230
231+ <repository >
232+ <id >ossrh</id >
233+ <url >https://s01.oss.sonatype.org/content/repositories/releases/</url >
234+ </repository >
235+ </distributionManagement >
78236
79237</project >
0 commit comments