NGSS Maven Tiles Up-to-date (SL010)

Checks if a newer version of ngss-maven-tiles is available.

Description

Reads the ngss-maven-tiles.version property from the project or its modules and uses the Maven Versions Plugin to detect a newer version. Reports INFO violation when newer ngss-maven-tiles version available

Rationale

Staying current with tiles provides build improvements and fixes.

Findings

  • INFO

    • Newer ngss-maven-tiles version is available

    • Major version update detected (consult PO or consider latest minor)

Noncompliant

Outdated ngss-maven-tiles version
<!-- Assume the most current version of ngss-maven-tiles is 3.0.0 -->
<properties>
    <!-- Outdated Tile Version -->
    <ngss-maven-tiles.version>2.9.1</ngss-maven-tiles.version>
</properties>

Compliant

Up-to-date ngss-maven-tiles
<!-- Assume the most current version of ngss-maven-tiles is 3.0.0 -->
<properties>
    <!-- Correct Tile Version -->
    <ngss-maven-tiles.version>3.0.0</ngss-maven-tiles.version>
</properties>

Configuration

This rule has no configuration.