Skip to content

Commit f16a1e6

Browse files
Add : add check profile to validate the code (apache#28572)
* Add : add check profile to validate the code * Add : add check profile to validate the code * Refactor : refactor the document for corresponding change * Refactor : update the file by spotless apply
1 parent 718207b commit f16a1e6

File tree

316 files changed

+174
-495
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+174
-495
lines changed

.github/workflows/required-check.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v3
4242
- name: Run CheckStyle
43-
run: ./mvnw checkstyle:check -Dcheckstyle.skip=false -T1C
43+
run: ./mvnw checkstyle:check -Pcheck -T1C
4444

4545
check-spotless:
4646
if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
@@ -51,7 +51,7 @@ jobs:
5151
steps:
5252
- uses: actions/checkout@v3
5353
- name: Run Spotless
54-
run: ./mvnw spotless:check -T1C
54+
run: ./mvnw spotless:check -Pcheck -T1C
5555

5656
check-license:
5757
if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
@@ -62,4 +62,4 @@ jobs:
6262
steps:
6363
- uses: actions/checkout@v3
6464
- name: Run Apache Rat
65-
run: ./mvnw apache-rat:check -Drat.skip=false -T1C
65+
run: ./mvnw apache-rat:check -Pcheck -T1C

.mvn/extensions.xml

-24
This file was deleted.

agent/api/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/core/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/core/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/logging/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/logging/type/file/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/logging/type/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/metrics/core/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/metrics/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/metrics/type/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/metrics/type/prometheus/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/tracing/core/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/tracing/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/tracing/type/opentelemetry/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/plugins/tracing/type/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

agent/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

db-protocol/core/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

db-protocol/mysql/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

db-protocol/opengauss/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

db-protocol/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

db-protocol/postgresql/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

distribution/agent/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

distribution/jdbc/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

distribution/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

distribution/proxy-native/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

distribution/proxy/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

distribution/src/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

docs/community/content/involved/conduct/code.cn.md

+2-2

docs/community/content/involved/conduct/code.en.md

+2-2

docs/community/content/involved/contribute/contributor.cn.md

+1-1

docs/community/content/involved/contribute/contributor.en.md

+1-1

docs/document/content/faq/_index.cn.md

+1-1

docs/document/content/faq/_index.en.md

+1-1

docs/document/content/user-manual/shardingsphere-jdbc/observability/_index.cn.md

+1-1

docs/document/content/user-manual/shardingsphere-jdbc/observability/_index.en.md

+1-1

docs/document/content/user-manual/shardingsphere-proxy/observability/_index.cn.md

+1-1

docs/document/content/user-manual/shardingsphere-proxy/observability/_index.en.md

+1-1

features/broadcast/api/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

features/broadcast/core/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

features/broadcast/distsql/handler/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
~ See the License for the specific language governing permissions and
1616
~ limitations under the License.
1717
-->
18-
1918
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019
<modelVersion>4.0.0</modelVersion>
2120
<parent>

0 commit comments

Comments
 (0)