This is an automated email from the ASF dual-hosted git repository.
zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new e91ed4f4e40 Refactor : set skip javadoc and checkstyle as default
(#27277)
e91ed4f4e40 is described below
commit e91ed4f4e4078083b99219304bc77a1912069444
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Thu Jul 20 10:00:46 2023 +0800
Refactor : set skip javadoc and checkstyle as default (#27277)
---
distribution/agent/pom.xml | 4 ++++
distribution/jdbc/pom.xml | 4 ++++
distribution/proxy/pom.xml | 4 ++++
distribution/src/pom.xml | 4 ++++
pom.xml | 2 ++
5 files changed, 18 insertions(+)
diff --git a/distribution/agent/pom.xml b/distribution/agent/pom.xml
index 33b502050e6..75d8c519681 100644
--- a/distribution/agent/pom.xml
+++ b/distribution/agent/pom.xml
@@ -53,6 +53,10 @@
<profiles>
<profile>
<id>release</id>
+ <properties>
+ <maven.javadoc.skip>false</maven.javadoc.skip>
+ <checkstyle.skip>false</checkstyle.skip>
+ </properties>
<build>
<finalName>apache-shardingsphere-${project.version}</finalName>
<plugins>
diff --git a/distribution/jdbc/pom.xml b/distribution/jdbc/pom.xml
index ad1c461c361..889a13a2892 100644
--- a/distribution/jdbc/pom.xml
+++ b/distribution/jdbc/pom.xml
@@ -66,6 +66,10 @@
<profiles>
<profile>
<id>release</id>
+ <properties>
+ <maven.javadoc.skip>false</maven.javadoc.skip>
+ <checkstyle.skip>false</checkstyle.skip>
+ </properties>
<build>
<finalName>apache-shardingsphere-${project.version}</finalName>
<plugins>
diff --git a/distribution/proxy/pom.xml b/distribution/proxy/pom.xml
index 99ca2cc3669..fcc9ea96201 100644
--- a/distribution/proxy/pom.xml
+++ b/distribution/proxy/pom.xml
@@ -67,6 +67,10 @@
<profiles>
<profile>
<id>release</id>
+ <properties>
+ <maven.javadoc.skip>false</maven.javadoc.skip>
+ <checkstyle.skip>false</checkstyle.skip>
+ </properties>
<build>
<finalName>apache-shardingsphere-${project.version}</finalName>
<plugins>
diff --git a/distribution/src/pom.xml b/distribution/src/pom.xml
index eec2b359d27..3e09e916544 100644
--- a/distribution/src/pom.xml
+++ b/distribution/src/pom.xml
@@ -30,6 +30,10 @@
<profiles>
<profile>
<id>release</id>
+ <properties>
+ <maven.javadoc.skip>false</maven.javadoc.skip>
+ <checkstyle.skip>false</checkstyle.skip>
+ </properties>
<build>
<finalName>apache-shardingsphere-${project.version}</finalName>
<plugins>
diff --git a/pom.xml b/pom.xml
index c4dc3ba5af3..4d3ea9b7dfa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,6 +55,8 @@
<maven.version.range>[3.0.4,)</maven.version.range>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.deploy.skip>false</maven.deploy.skip>
+ <maven.javadoc.skip>true</maven.javadoc.skip>
+ <checkstyle.skip>true</checkstyle.skip>
<shade.package>org.apache.shardingsphere.shade</shade.package>
<antlr.output.directory>${basedir}/target/generated-sources/antlr4</antlr.output.directory>