This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new c7e6e827bd Add Spotless step to check and block jUnit4 imports (#12398)
c7e6e827bd is described below
commit c7e6e827bd2c53f67c7c86053e7fb46f161f0f26
Author: Eric Gao <[email protected]>
AuthorDate: Mon Oct 17 22:02:01 2022 +0800
Add Spotless step to check and block jUnit4 imports (#12398)
---
pom.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pom.xml b/pom.xml
index f56ef035c2..e368b4f5a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -659,6 +659,11 @@
<searchRegex>import\s+org\.powermock\.[^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
<replacement>$1</replacement>
</replaceRegex>
+ <replaceRegex>
+ <name>Block jUnit4 imports</name>
+
<searchRegex>import\s+org\.junit\.[^jupiter][^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
+ <replacement>$1</replacement>
+ </replaceRegex>
</java>
<pom>
<sortPom>