This is an automated email from the ASF dual-hosted git repository. ctubbsii pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo.git
commit c355945f8a08004da63743a14bf91e3f0b73af36 Author: Christopher Tubbs <ctubb...@apache.org> AuthorDate: Thu Apr 28 20:56:24 2022 -0400 Check for misplaced ITs --- test/pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/pom.xml b/test/pom.xml index 673a3ae794..0cbcfb085f 100644 --- a/test/pom.xml +++ b/test/pom.xml @@ -280,6 +280,20 @@ </arguments> </configuration> </execution> + <execution> + <id>check-for-misplaced-UTs</id> + <goals> + <goal>exec</goal> + </goals> + <phase>validate</phase> + <configuration> + <executable>bash</executable> + <arguments> + <argument>-c</argument> + <argument>! find src/main/java -name '*Test.java' -exec echo '[ERROR] {} should be in src/test/java' \; | grep 'src/main/java'</argument> + </arguments> + </configuration> + </execution> </executions> </plugin> <plugin>