This is an automated email from the ASF dual-hosted git repository.
duhengforever pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-schema-registry.git
The following commit(s) were added to refs/heads/main by this push:
new 993b5d1 [polish] polish pom skip javadoc. (#37)
993b5d1 is described below
commit 993b5d1a9196fcc8aeb0d9ec8f51be24b985b614
Author: gongzhongqiang <[email protected]>
AuthorDate: Tue Aug 23 09:53:00 2022 +0800
[polish] polish pom skip javadoc. (#37)
* [polish] polish pom skip javadoc.
* [polish] add sign profile.
---
pom.xml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 58 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 0c55248..50ae8a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,10 +41,12 @@
</modules>
<properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+ <maven.javadoc.skip>true</maven.javadoc.skip>
<java.version>1.8</java.version>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- internal package versions -->
<spring-boot.version>2.6.7</spring-boot.version>
<spring.version>3.2.8-RELEASE</spring.version>
@@ -241,6 +243,61 @@
<sonar.host.url>https://builds.apache.org/analysis</sonar.host.url>
</properties>
</profile>
+ <profile>
+ <id>jdk8</id>
+ <activation>
+ <jdk>[1.8,)</jdk>
+ </activation>
+ <!-- Disable doclint under JDK 8 -->
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.4</version>
+ <configuration>
+ <additionalparam>-Xdoclint:none</additionalparam>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.4</version>
+ <configuration>
+ <additionalparam>-Xdoclint:none</additionalparam>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>release-sign-artifacts</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<dependencies>