    @Test
    public void testAutomaticVersionDetectionRegulaToSnapshot() throws Exception
    {

        logger.info("*** testAutomaticVersionDetectionRegulaToSnapshot ***");

        String oldVersion = "1.0.1";
        String newVersion = "1.0.2-SNAPSHOT";

        List<File> poms = createTestPoms("basepom.xml", 1);
        File pom = poms.get(0);
        updatePom(pom, PomPaths.PROJECT_VERSION, oldVersion);

        new VersionUpdater("com.example.pomutil.test", "example", null, null, true, false, false).run(poms);
        PomWrapper check = new PomWrapper(pom);
        assertEquals(newVersion, check.getGAV().version);
    }