MavenHelper { private static boolean isMaven(String content) { content = content.toLowerCase(); return content.startsWith("<mavenmoduleset>"); } private  MavenHelper(); static boolean isMavenProject(String projectUrl); static boolean isNotMavenProject(String projectUrl);  }
@Test public void testIsMaven() { String projectUrl = ClasspathFiles.getAbsolutePathFile("hudson/fluxx.xml"); boolean isMavenProject = MavenHelper.isMavenProject(projectUrl); assertTrue(isMavenProject); }