Repository: karaf Updated Branches: refs/heads/karaf-4.0.x bd2bd7773 -> c03fd3b62
[KARAF-4416] When reporting problems, the verify goal lists all bundles downloaded so far instead of just the ones from the failing feature Project: http://git-wip-us.apache.org/repos/asf/karaf/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/c03fd3b6 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/c03fd3b6 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/c03fd3b6 Branch: refs/heads/karaf-4.0.x Commit: c03fd3b62cb309fc17796f315ff3e62bf8718186 Parents: bd2bd77 Author: Guillaume Nodet <[email protected]> Authored: Tue Mar 15 10:36:49 2016 +0100 Committer: Guillaume Nodet <[email protected]> Committed: Tue Mar 15 10:37:25 2016 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/karaf/tooling/VerifyMojo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf/blob/c03fd3b6/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/VerifyMojo.java ---------------------------------------------------------------------- diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/VerifyMojo.java b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/VerifyMojo.java index 9e47449..24953c1 100644 --- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/VerifyMojo.java +++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/VerifyMojo.java @@ -288,7 +288,8 @@ public class VerifyMojo extends MojoSupport { for (Feature feature : featuresToTest) { try { String id = feature.getName() + "/" + feature.getVersion(); - verifyResolution(manager, repositories, Collections.singleton(id), properties); + verifyResolution(new CustomDownloadManager(resolver, executor), + repositories, Collections.singleton(id), properties); getLog().info("Verification of feature " + id + " succeeded"); } catch (Exception e) { if (e.getCause() instanceof ResolutionException) {
