@Override
    public int compareVersions(String v1, String v2) {
        return Version.parse(v1).compareTo(Version.parse(v2));
    }
@Test
    void compareSnapshotVersion() {
        assertTrue(versionManager.compareVersions("1.1.0", "1.0.0-SNAPSHOT") > 0);
        assertTrue(versionManager.compareVersions("1.1.0", "1.2.0-SNAPSHOT") < 0);
        assertTrue(versionManager.compareVersions("1.0.0-SNAPSHOT", "1.1.0-SNAPSHOT") < 0);
        assertEquals(0, versionManager.compareVersions("1.0.0-SNAPSHOT", "1.0.0-SNAPSHOT"));
    }