Skip to content

Commit 56a795e

Browse files
committed
[Fixes #458] Do not print warnings were checking for locations which _may_ be inaccessible
1 parent b993f16 commit 56a795e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pax-url-aether/src/main/java/org/ops4j/pax/url/mvn/internal/AetherBasedResolver.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,6 @@ List<LocalRepositoryWithConfig> selectDefaultRepositories() {
884884
*/
885885
private void selectDefaultRepositories(List<LocalRepositoryWithConfig> list, MavenRepositoryURL parentRepo, File parentDir) {
886886
if (!parentDir.isDirectory()) {
887-
LOG.warn("Repository marked with @multi does not resolve to a directory: {}", parentDir);
888887
return;
889888
}
890889

pax-url-aether/src/main/java/org/ops4j/pax/url/mvn/internal/config/MavenConfigurationImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ private File safeGetFile(String option, String path, boolean directory) {
269269
return file;
270270
}
271271
}
272-
LOGGER.warn("Location {} is not accessible (incorrect value for option \"{}\")", path, option);
273272
}
274273
return null;
275274
}

0 commit comments

Comments
 (0)