public File call() throws Exception { if (download(url, artifactPath)) { verify(url, artifactPath); } return artifactFile; }
/** * Verify that the repo has a checksum file for the given path and that this * checksum matchs. * * @param repo The repo * @param path The file id * @return true if there is a digest and it matches one of the algorithms * @throws Exception */ boolean verify(URI repo, String path) throws Exception { for (String algorithm : Maven.ALGORITHMS) { if (verify(repo, path, algorithm)) return true; } return false; }
/** * Verify that the repo has a checksum file for the given path and that this * checksum matchs. * * @param repo * The repo * @param path * The file id * @return true if there is a digest and it matches one of the algorithms * @throws Exception */ boolean verify(URI repo, String path) throws Exception { for (String algorithm : Maven.ALGORITHMS) { if (verify(repo, path, algorithm)) return true; } return false; }
/** * Verify that the repo has a checksum file for the given path and that this * checksum matchs. * * @param repo The repo * @param path The file id * @return true if there is a digest and it matches one of the algorithms * @throws Exception */ boolean verify(URI repo, String path) throws Exception { for (String algorithm : Maven.ALGORITHMS) { if (verify(repo, path, algorithm)) return true; } return false; }
/** * Verify that the repo has a checksum file for the given path and that this * checksum matchs. * * @param repo * The repo * @param path * The file id * @return true if there is a digest and it matches one of the algorithms * @throws Exception */ boolean verify(URI repo, String path) throws Exception { for (String algorithm : Maven.ALGORITHMS) { if (verify(repo, path, algorithm)) return true; } return false; }
/** * Verify that the repo has a checksum file for the given path and that this * checksum matchs. * * @param repo * The repo * @param path * The file id * @return true if there is a digest and it matches one of the algorithms * @throws Exception */ boolean verify(URI repo, String path) throws Exception { for (String algorithm : Maven.ALGORITHMS) { if (verify(repo, path, algorithm)) return true; } return false; }
/** * Verify that the repo has a checksum file for the given path and that this * checksum matchs. * * @param repo * The repo * @param path * The file id * @return true if there is a digest and it matches one of the algorithms * @throws Exception */ boolean verify(URI repo, String path) throws Exception { for (String algorithm : Maven.ALGORITHMS) { if (verify(repo, path, algorithm)) return true; } return false; }
@Override public File call() throws Exception { if (download(url, artifactPath)) { verify(url, artifactPath); } return artifactFile; }
public File call() throws Exception { if (download(url, artifactPath)) { verify(url, artifactPath); } return artifactFile; }
public File call() throws Exception { if (download(url, artifactPath)) { verify(url, artifactPath); } return artifactFile; }
@Override public File call() throws Exception { if (download(url, artifactPath)) { verify(url, artifactPath); } return artifactFile; }
public File call() throws Exception { if (download(url, artifactPath)) { verify(url, artifactPath); } return artifactFile; }