[webconsole] remove optional dependencies resolution as it can take a fair amount of time

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@919322 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/obr/BundleRepositoryRender.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/obr/BundleRepositoryRender.java
index d697b66..954d7a9 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/obr/BundleRepositoryRender.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/obr/BundleRepositoryRender.java
@@ -398,7 +398,7 @@
             repos.addAll(Arrays.asList(admin.listRepositories()));
             Resolver resolver = admin.resolver((Repository[]) repos.toArray(new Repository[repos.size()]));
             resolver.add(resource);
-            resolver.resolve();
+            resolver.resolve(Resolver.NO_OPTIONAL_RESOURCES);
             Resource[] required = resolver.getRequiredResources();
             for (int i = 0; required != null && i < required.length; i++)
             {