Skip to content

Commit 34bd3ca

Browse files
authored
Merge pull request #6 from liubao68/work
fix release problem
2 parents 86b51e7 + a3fba4d commit 34bd3ca

File tree

3 files changed

+21
-11
lines changed

3 files changed

+21
-11
lines changed

ci/build-and-deploy-to-maven-central.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [[ $VERSION =~ .*-SNAPSHOT$ ]] ; then
1010
exit 1
1111
fi
1212

13-
if [[ $VERSION =~ [^(\d+\.)+(RC(\d+)|M(\d+)|RELEASE)$] ]] ; then
13+
if [[ $VERSION =~ ^(\d+\.)+(RC(\d+)|M(\d+)|RELEASE)$ ]] ; then
1414

1515
#
1616
# Prepare GPG Key is expected to be in base64

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,26 @@
176176
<artifactId>nexus-staging-maven-plugin</artifactId>
177177
</plugin>
178178

179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-javadoc-plugin</artifactId>
182+
<version>3.6.3</version>
183+
<configuration>
184+
<failOnError>false</failOnError>
185+
<sourceFileIncludes>
186+
<fileInclude>**/*GaussDB*</fileInclude>
187+
</sourceFileIncludes>
188+
<overview>${basedir}/nonexistent-overview.html</overview>
189+
</configuration>
190+
<executions>
191+
<execution>
192+
<id>attach-javadocs</id>
193+
<goals>
194+
<goal>jar</goal>
195+
</goals>
196+
</execution>
197+
</executions>
198+
</plugin>
179199
</plugins>
180200

181201
</build>

spring-data-r2dbc/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -244,16 +244,6 @@
244244
</executions>
245245
</plugin>
246246

247-
<plugin>
248-
<groupId>org.apache.maven.plugins</groupId>
249-
<artifactId>maven-javadoc-plugin</artifactId>
250-
<configuration>
251-
<links combine.children="append">
252-
<link>https://r2dbc.io/spec/1.0.0.RELEASE/api/</link>
253-
</links>
254-
</configuration>
255-
</plugin>
256-
257247
<plugin>
258248
<groupId>org.apache.maven.plugins</groupId>
259249
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)