Skip to content

Commit

Permalink
Add Spotless step to check and block jUnit4 imports
Browse files Browse the repository at this point in the history
  • Loading branch information
EricGao888 committed Oct 17, 2022
1 parent 1d0d26a commit 4ff8912
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 4ff8912

Please sign in to comment.