POM Versions Consistent (SL003)
Checks whether module POM versions are consistent across the repo (client modules compare major.minor only).
Description
Scans all pom.xml files, groups versions and flags mismatches. For -client modules, only the major.minor is checked against the expected version.
Findings
-
ERROR
-
Regular modules have different versions than expected highest/common version
-
Client modules' major.minor does not match expected major.minor
-
Noncompliant
Mismatched module versions
<!-- Example with mismatched module versions (illustrative) -->
<project>
<modules>
<module>a</module>
<module>b</module>
</modules>
<!-- a/pom.xml: <version>1.2.0</version> -->
<!-- b/pom.xml: <version>1.3.0</version> -->
</project>