Shared naming conventions allow teams to collaborate effectively. This rule raises an issue when the a pom’s groupId
does not match
the provided regular expression.
Noncompliant code example
With the default regular expression: (com|org)(\.[a-z][a-z-0-9]*)+
<project ...>
<groupId>myCo</groupId> <!-- Noncompliant -->
<!-- ... -->
</project>
Compliant solution
<project ...>
<groupId>com.myco</groupId>
<!-- ... -->
</project>