Repository: karaf Updated Branches: refs/heads/master 8a1e7574d -> 056e31682
[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/056e3168 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/056e3168 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/056e3168 Branch: refs/heads/master Commit: 056e316820a2e4fc5a55e1fa7124d26710b94bba Parents: 8a1e757 Author: Guillaume Nodet <[email protected]> Authored: Tue Mar 15 10:36:49 2016 +0100 Committer: Guillaume Nodet <[email protected]> Committed: Tue Mar 15 10:43:54 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/056e3168/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) {
