Skip to content

Commit 88611e1

Browse files
committed
config deploy
1 parent 0a6b863 commit 88611e1

File tree

7 files changed

+171
-13
lines changed

7 files changed

+171
-13
lines changed

pom.xml

Lines changed: 159 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,41 @@
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>
@@ -20,8 +53,10 @@
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

@@ -74,6 +109,129 @@
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>

uid-generator-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
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
</parent>
1111

1212
<artifactId>uid-generator-api</artifactId>

uid-generator-spring-boot-starter/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
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
</parent>
1111

1212
<artifactId>uid-generator-spring-boot-starter</artifactId>
@@ -27,7 +27,7 @@
2727
<dependency>
2828
<groupId>io.github.cooperlyt</groupId>
2929
<artifactId>uid-generator</artifactId>
30-
<version>1.0.1.BATE</version>
30+
<version>1.0.2-SNAPSHOT</version>
3131
</dependency>
3232

3333

@@ -50,7 +50,7 @@
5050
<dependency>
5151
<groupId>io.github.cooperlyt</groupId>
5252
<artifactId>uid-worker-id-r2dbc-spring-boot-starter</artifactId>
53-
<version>1.0.1.BATE</version>
53+
<version>1.0.2-SNAPSHOT</version>
5454
<scope>test</scope>
5555
</dependency>
5656

uid-generator/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
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
</parent>
1111

1212
<artifactId>uid-generator</artifactId>
@@ -33,7 +33,7 @@
3333
<dependency>
3434
<groupId>io.github.cooperlyt</groupId>
3535
<artifactId>uid-generator-api</artifactId>
36-
<version>1.0.1.BATE</version>
36+
<version>1.0.2-SNAPSHOT</version>
3737
</dependency>
3838
</dependencies>
3939

uid-worker-id-db-provider/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
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
</parent>
1111

1212
<artifactId>uid-worker-id-db-provider</artifactId>
@@ -28,7 +28,7 @@
2828
<dependency>
2929
<groupId>io.github.cooperlyt</groupId>
3030
<artifactId>uid-generator-api</artifactId>
31-
<version>1.0.1.BATE</version>
31+
<version>1.0.2-SNAPSHOT</version>
3232
</dependency>
3333

3434
</dependencies>

uid-worker-id-jdbc-spring-boot-starter/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
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
</parent>
1111

1212
<artifactId>uid-worker-id-jdbc-spring-boot-starter</artifactId>
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>io.github.cooperlyt</groupId>
4444
<artifactId>uid-worker-id-db-provider</artifactId>
45-
<version>1.0.1.BATE</version>
45+
<version>1.0.2-SNAPSHOT</version>
4646
</dependency>
4747

4848
</dependencies>

uid-worker-id-r2dbc-spring-boot-starter/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
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
</parent>
1111

1212
<artifactId>uid-worker-id-r2dbc-spring-boot-starter</artifactId>
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>io.github.cooperlyt</groupId>
2525
<artifactId>uid-worker-id-db-provider</artifactId>
26-
<version>1.0.1.BATE</version>
26+
<version>1.0.2-SNAPSHOT</version>
2727
</dependency>
2828

2929

0 commit comments

Comments
 (0)