Service Lint Version Up-to-date (SL001)
Checks if a newer version of service-lint is available and suggests updating.
Description
This rule inspects the current execution context (Maven plugin or CLI) to determine the installed service-lint version and reports when a newer version is available.
Findings
-
ERROR
-
Could not determine service-lint version (no version found in Maven plugin/CLI/package info)
-
-
WARNING
-
A newer version of service-lint is available (current < latest); pre-release updates are suggested only when current is also pre-release
-
Noncompliant
Outdated service-lint version in parent POM
<!-- Example of outdated service-lint parent version in a Maven POM -->
<project>
<parent>
<groupId>gov.va.mobile.tools</groupId>
<artifactId>service-lint-parent</artifactId>
<version>0.9.0</version> <!-- outdated -->
</parent>
</project>
Compliant
Up-to-date service-lint version in parent POM
<!-- Example of up-to-date service-lint parent version in a Maven POM -->
<project>
<parent>
<groupId>gov.va.mobile.tools</groupId>
<artifactId>service-lint-parent</artifactId>
<version>1.0.7</version> <!-- up-to-date (example) -->
</parent>
</project>