Add Spotless step to check and block jUnit4 imports (#12398)
This commit is contained in:
parent
c02e08bb3d
commit
c7e6e827bd
5
pom.xml
5
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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue