Browse Source

Add Spotless step to check and block jUnit4 imports (#12398)

3.2.0-release
Eric Gao 2 years ago committed by GitHub
parent
commit
c7e6e827bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pom.xml

5
pom.xml

@ -659,6 +659,11 @@
<searchRegex>import\s+org\.powermock\.[^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex> <searchRegex>import\s+org\.powermock\.[^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
<replacement>$1</replacement> <replacement>$1</replacement>
</replaceRegex> </replaceRegex>
<replaceRegex>
<name>Block jUnit4 imports</name>
<searchRegex>import\s+org\.junit\.[^jupiter][^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
<replacement>$1</replacement>
</replaceRegex>
</java> </java>
<pom> <pom>
<sortPom> <sortPom>

Loading…
Cancel
Save