ThinArchiveUtils { public static String convertIvyCoordinateToPath(final Dependency dep) { String[] coordinateParts = dep.getIvyCoordinates().split(":"); return coordinateParts[0].replace(".", "/") + "/" + coordinateParts[1] + "/" + coordinateParts[2] + "/" + dep.getFileName(); }  static File getStartupDependenciesFile(final File projectFolder); static DependencyFile getDependencyFile(final File projectFolder, final Dependency d); static Set<Dependency> parseStartupDependencies(final String rawJson); static Set<Dependency> parseStartupDependencies(final File f); static void writeStartupDependencies(final File f,
      final Set<Dependency> dependencies); static String convertIvyCoordinateToPath(final Dependency dep); static String replaceLocalPathsWithStoragePaths(final File projectFolder,
      String localJarSpec, final Props jobProps, final Logger log); static void validateDependencyHash(final DependencyFile f); static void validateDependencyHash(final File f, final Dependency d); static Set<Dependency> filterNullFromDeps(Set<Dependency> dependencies); static final String DEPENDENCY_STORAGE_ROOT_PATH_PROP; }
@Test public void testConvertIvyCoordinateToPath() throws Exception { assertEquals(ThinArchiveTestUtils.getDepAPath(), ThinArchiveUtils.convertIvyCoordinateToPath(ThinArchiveTestUtils.getDepA())); }