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