Client Version Matches Parent Version (SL017)
Checks that client modules have matching service versions with mobile-openapi-client-parent or mobile-protobuf-client-parent
Description
Parses pom.xml files and ensures version formatting is consistent with applicable parent versions (mobile-openapi-client-parent, mobile-protobuf-client-parent). If a module inherits from mobile-openapi-client-parent, the child module must have a 2-digit version. If a module inherits from mobile-protobuf-client-parent, the child module must have a 3-digit version.
Findings
-
ERROR
-
Child module of mobile-protobuf-client-parent does not match major/minor/patch pattern
-
Noncompliant
Module versioned incorrectly
<project>
<parent>
<groupId>gov.va.mobile.tools</groupId>
<artifactId>mobile-protobuf-client-parent</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>my-client</artifactId>
<version>1.0</version>
</project>