Skip to content

Commit a0d1482

Browse files
author
yaomingyang
committed
release new version
1 parent bce6ffa commit a0d1482

File tree

6 files changed

+136
-128
lines changed

6 files changed

+136
-128
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<dependency>
1212
<groupId>io.github.mingyang66</groupId>
1313
<artifactId>emily-dependencies</artifactId>
14-
<version>5.0.0</version>
14+
<version>5.0.1</version>
1515
<type>pom</type>
1616
<scope>import</scope>
1717
</dependency>

emily-dependencies/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</parent>
1010
<artifactId>emily-dependencies</artifactId>
1111
<packaging>pom</packaging>
12+
1213
<name>emily-dependencies</name>
1314
<url>https://github.com/mingyang66/spring-parent</url>
1415
<description>Bill Of Material</description>

emily-parent/pom.xml

+2-126
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@
2525
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2626
<!--指定maven的输出报告的编码格式(测试报告,javadoc等)-->
2727
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
28-
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
29-
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
30-
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
31-
<maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
32-
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
33-
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>
3428
</properties>
3529

3630
<dependencyManagement>
@@ -44,124 +38,6 @@
4438
</dependency>
4539
</dependencies>
4640
</dependencyManagement>
47-
<build>
48-
<plugins>
49-
<!-- 发布到中央仓库插件 -->
50-
<plugin>
51-
<groupId>org.sonatype.plugins</groupId>
52-
<artifactId>nexus-staging-maven-plugin</artifactId>
53-
<version>${nexus-staging-maven-plugin.version}</version>
54-
<extensions>true</extensions>
55-
<configuration>
56-
<serverId>ossrh</serverId>
57-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
58-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
59-
</configuration>
60-
</plugin>
61-
<!-- 支持单元测试 -->
62-
<plugin>
63-
<groupId>org.apache.maven.plugins</groupId>
64-
<artifactId>maven-surefire-plugin</artifactId>
65-
<version>${maven-surefire-plugin.version}</version>
66-
</plugin>
67-
</plugins>
68-
</build>
69-
<profiles>
70-
<profile>
71-
<!--注意,此id必须与setting.xml中指定的一致,不要自作聪明改它名字-->
72-
<id>source</id>
73-
<activation>
74-
<activeByDefault>true</activeByDefault>
75-
</activation>
76-
<build>
77-
<plugins>
78-
<!-- 生成源码插件 -->
79-
<plugin>
80-
<groupId>org.apache.maven.plugins</groupId>
81-
<artifactId>maven-source-plugin</artifactId>
82-
<version>${maven-source-plugin.version}</version>
83-
<executions>
84-
<execution>
85-
<id>attach-sources</id>
86-
<goals>
87-
<goal>jar-no-fork</goal>
88-
</goals>
89-
</execution>
90-
</executions>
91-
<configuration>
92-
<!--构建过程中生成源码包,并将其附加到maven项目中-->
93-
<!-- <attach>true</attach>-->
94-
<!--<classifier>tests</classifier>-->
95-
</configuration>
96-
</plugin>
97-
<plugin>
98-
<groupId>org.apache.maven.plugins</groupId>
99-
<artifactId>maven-compiler-plugin</artifactId>
100-
<version>${maven-compiler-plugin.version}</version>
101-
<configuration>
102-
<!--Maven编译后保留方法名-->
103-
<parameters>true</parameters>
104-
</configuration>
105-
</plugin>
106-
</plugins>
107-
</build>
108-
</profile>
109-
<profile>
110-
<id>javadoc</id>
111-
<activation>
112-
<activeByDefault>true</activeByDefault>
113-
</activation>
114-
<build>
115-
<plugins>
116-
<!-- 生成API文档插件 -->
117-
<plugin>
118-
<groupId>org.apache.maven.plugins</groupId>
119-
<artifactId>maven-javadoc-plugin</artifactId>
120-
<version>${maven-javadoc-plugin.version}</version>
121-
<configuration>
122-
<!--控制构建过程中如果出现错误是否停止构建-->
123-
<failOnError>false</failOnError>
124-
<!--排除指定的包,可以使用: or , or ; 三种符号分割-->
125-
<excludePackageNames>com.emily.cloud.test.*,com.emily.infrastructure.test.*
126-
</excludePackageNames>
127-
</configuration>
128-
<executions>
129-
<execution>
130-
<id>attach-javadocs</id>
131-
<goals>
132-
<goal>jar</goal>
133-
</goals>
134-
</execution>
135-
</executions>
136-
</plugin>
137-
</plugins>
138-
</build>
139-
</profile>
140-
<profile>
141-
<id>gpg</id>
142-
<activation>
143-
<activeByDefault>true</activeByDefault>
144-
</activation>
145-
<build>
146-
<plugins>
147-
<!-- 使用GnuPG签署项目的所有附加工件 -->
148-
<plugin>
149-
<groupId>org.apache.maven.plugins</groupId>
150-
<artifactId>maven-gpg-plugin</artifactId>
151-
<version>${maven-gpg-plugin.version}</version>
152-
<executions>
153-
<execution>
154-
<id>sign-artifacts</id>
155-
<phase>verify</phase>
156-
<goals>
157-
<!--使用GunPG对项目工件、POM和附加工件进行签名以进行部署-->
158-
<goal>sign</goal>
159-
</goals>
160-
</execution>
161-
</executions>
162-
</plugin>
163-
</plugins>
164-
</build>
165-
</profile>
166-
</profiles>
41+
42+
16743
</project>

package.sh

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#./mvnw versions:commit
44
#echo '提交修改'
55
./mvnw clean deploy -pl emily-project -am
6+
./mvnw clean deploy -pl emily-dependencies -am
67
echo '#########emily-parent...'
78
cd emily-project
89
../mvnw clean deploy -pl oceansky-json
@@ -13,6 +14,7 @@ cd emily-project
1314
../mvnw clean deploy -pl oceansky-jwt
1415
../mvnw clean deploy -pl oceansky-date
1516
../mvnw clean deploy -pl oceansky-common
17+
../mvnw clean deploy -pl emily-spring-boot-parent
1618
cd ../emily-spring-project
1719
../mvnw clean deploy -pl otter-spring-resource -am
1820
../mvnw clean deploy -pl otter-spring-servlet
@@ -29,5 +31,6 @@ cd ../emily-spring-boot-project
2931
../mvnw clean deploy -pl emily-spring-boot-starter
3032
../mvnw clean deploy -pl emily-spring-boot-transfer
3133
../mvnw clean deploy -pl emily-spring-boot-web
34+
../mvnw clean deploy -pl emily-spring-boot-rateLimiter
3235

3336
echo '#########打包完成...'

pom.xml

+123-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@
2222
</modules>
2323

2424
<properties>
25-
<revision>5.0.1</revision>
25+
<revision>5.0.2</revision>
2626
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
27+
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
28+
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>
29+
<maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
30+
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
31+
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
32+
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
2733
</properties>
2834

2935
<developers>
@@ -88,6 +94,122 @@
8894
</execution>
8995
</executions>
9096
</plugin>
97+
<!-- 发布到中央仓库插件 -->
98+
<plugin>
99+
<groupId>org.sonatype.plugins</groupId>
100+
<artifactId>nexus-staging-maven-plugin</artifactId>
101+
<version>${nexus-staging-maven-plugin.version}</version>
102+
<extensions>true</extensions>
103+
<configuration>
104+
<serverId>ossrh</serverId>
105+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
106+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
107+
</configuration>
108+
</plugin>
109+
<!-- 支持单元测试 -->
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-surefire-plugin</artifactId>
113+
<version>${maven-surefire-plugin.version}</version>
114+
</plugin>
91115
</plugins>
92116
</build>
117+
<profiles>
118+
<profile>
119+
<!--注意,此id必须与setting.xml中指定的一致,不要自作聪明改它名字-->
120+
<id>source</id>
121+
<activation>
122+
<activeByDefault>true</activeByDefault>
123+
</activation>
124+
<build>
125+
<plugins>
126+
<!-- 生成源码插件 -->
127+
<plugin>
128+
<groupId>org.apache.maven.plugins</groupId>
129+
<artifactId>maven-source-plugin</artifactId>
130+
<version>${maven-source-plugin.version}</version>
131+
<executions>
132+
<execution>
133+
<id>attach-sources</id>
134+
<goals>
135+
<goal>jar-no-fork</goal>
136+
</goals>
137+
</execution>
138+
</executions>
139+
<configuration>
140+
<!--构建过程中生成源码包,并将其附加到maven项目中-->
141+
<!-- <attach>true</attach>-->
142+
<!--<classifier>tests</classifier>-->
143+
</configuration>
144+
</plugin>
145+
<plugin>
146+
<groupId>org.apache.maven.plugins</groupId>
147+
<artifactId>maven-compiler-plugin</artifactId>
148+
<version>${maven-compiler-plugin.version}</version>
149+
<configuration>
150+
<!--Maven编译后保留方法名-->
151+
<parameters>true</parameters>
152+
</configuration>
153+
</plugin>
154+
</plugins>
155+
</build>
156+
</profile>
157+
<profile>
158+
<id>javadoc</id>
159+
<activation>
160+
<activeByDefault>true</activeByDefault>
161+
</activation>
162+
<build>
163+
<plugins>
164+
<!-- 生成API文档插件 -->
165+
<plugin>
166+
<groupId>org.apache.maven.plugins</groupId>
167+
<artifactId>maven-javadoc-plugin</artifactId>
168+
<version>${maven-javadoc-plugin.version}</version>
169+
<configuration>
170+
<!--控制构建过程中如果出现错误是否停止构建-->
171+
<failOnError>false</failOnError>
172+
<!--排除指定的包,可以使用: or , or ; 三种符号分割-->
173+
<excludePackageNames>com.emily.cloud.test.*,com.emily.infrastructure.test.*
174+
</excludePackageNames>
175+
</configuration>
176+
<executions>
177+
<execution>
178+
<id>attach-javadocs</id>
179+
<goals>
180+
<goal>jar</goal>
181+
</goals>
182+
</execution>
183+
</executions>
184+
</plugin>
185+
</plugins>
186+
</build>
187+
</profile>
188+
<profile>
189+
<id>gpg</id>
190+
<activation>
191+
<activeByDefault>true</activeByDefault>
192+
</activation>
193+
<build>
194+
<plugins>
195+
<!-- 使用GnuPG签署项目的所有附加工件 -->
196+
<plugin>
197+
<groupId>org.apache.maven.plugins</groupId>
198+
<artifactId>maven-gpg-plugin</artifactId>
199+
<version>${maven-gpg-plugin.version}</version>
200+
<executions>
201+
<execution>
202+
<id>sign-artifacts</id>
203+
<phase>verify</phase>
204+
<goals>
205+
<!--使用GunPG对项目工件、POM和附加工件进行签名以进行部署-->
206+
<goal>sign</goal>
207+
</goals>
208+
</execution>
209+
</executions>
210+
</plugin>
211+
</plugins>
212+
</build>
213+
</profile>
214+
</profiles>
93215
</project>

upgrade.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
###-----
2+
基础库发布5.0.2
3+
Bug Fixes
4+
5+
1.
6+
17
###-----
28
基础库发布5.0.1
39
Bug Fixes

0 commit comments

Comments
 (0)