felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1563841 [2/2] - in /felix/trunk/bundlerepository: ./ src/main/java/org/apache/felix/bundlerepository/ src/main/java/org/apache/felix/bundlerepository/impl/ src/test/java/org/apache/felix/bundlerepository/impl/ src/test/resources/ src/test/...
Date Mon, 03 Feb 2014 11:30:50 GMT
Added: felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/OSGiRepositoryImplTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/OSGiRepositoryImplTest.java?rev=1563841&view=auto
==============================================================================
--- felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/OSGiRepositoryImplTest.java (added)
+++ felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/OSGiRepositoryImplTest.java Mon Feb  3 11:30:49 2014
@@ -0,0 +1,163 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.felix.bundlerepository.impl;
+
+import java.net.URL;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.Hashtable;
+import java.util.Map;
+import java.util.Set;
+
+import junit.framework.TestCase;
+
+import org.apache.felix.utils.log.Logger;
+import org.mockito.Mockito;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.Version;
+import org.osgi.framework.namespace.IdentityNamespace;
+import org.osgi.resource.Capability;
+import org.osgi.resource.Requirement;
+import org.osgi.resource.Resource;
+import org.osgi.service.repository.ContentNamespace;
+import org.osgi.service.repository.Repository;
+
+public class OSGiRepositoryImplTest extends TestCase
+{
+    public void testIdentityAndContentCapabilities() throws Exception
+    {
+        RepositoryAdminImpl repoAdmin = createRepositoryAdmin();
+        URL url = getClass().getResource("/another_repository.xml");
+        repoAdmin.addRepository(url);
+
+        Repository repo = new OSGiRepositoryImpl(repoAdmin);
+        Requirement req = new OSGiRequirementImpl("osgi.identity", null);
+
+        Map<Requirement, Collection<Capability>> result = repo.findProviders(Collections.singleton(req));
+        assertEquals(1, result.size());
+        Collection<Capability> caps = result.values().iterator().next();
+        assertEquals(2, caps.size());
+
+        Capability tf1Cap = null;
+        for (Capability cap : caps)
+        {
+            if ("test_file_1".equals(cap.getAttributes().get(IdentityNamespace.IDENTITY_NAMESPACE))) {
+                tf1Cap = cap;
+                break;
+            }
+        }
+
+        assertEquals(Version.parseVersion("1.0.0.SNAPSHOT"), tf1Cap.getAttributes().get(IdentityNamespace.CAPABILITY_VERSION_ATTRIBUTE));
+        assertEquals(IdentityNamespace.TYPE_BUNDLE, tf1Cap.getAttributes().get(IdentityNamespace.CAPABILITY_TYPE_ATTRIBUTE));
+
+        Resource res = tf1Cap.getResource();
+        assertEquals(0, res.getRequirements(null).size());
+        assertEquals(1, res.getCapabilities(IdentityNamespace.IDENTITY_NAMESPACE).size());
+        assertEquals(1, res.getCapabilities(ContentNamespace.CONTENT_NAMESPACE).size());
+        assertEquals(2, res.getCapabilities(null).size());
+
+        Capability contentCap = res.getCapabilities(ContentNamespace.CONTENT_NAMESPACE).iterator().next();
+        assertEquals("4b68ab3847feda7d6c62c1fbcbeebfa35eab7351ed5e78f4ddadea5df64b8015",
+                contentCap.getAttributes().get(ContentNamespace.CONTENT_NAMESPACE));
+        assertEquals(getClass().getResource("/repo_files/test_file_1.jar").toExternalForm(),
+                contentCap.getAttributes().get(ContentNamespace.CAPABILITY_URL_ATTRIBUTE));
+        assertEquals(1L, contentCap.getAttributes().get(ContentNamespace.CAPABILITY_SIZE_ATTRIBUTE));
+        assertEquals("application/vnd.osgi.bundle", contentCap.getAttributes().get(ContentNamespace.CAPABILITY_MIME_ATTRIBUTE));
+    }
+
+    public void testIdentityCapabilityFilter() throws Exception
+    {
+        RepositoryAdminImpl repoAdmin = createRepositoryAdmin();
+        URL url = getClass().getResource("/another_repository.xml");
+        repoAdmin.addRepository(url);
+
+        Repository repo = new OSGiRepositoryImpl(repoAdmin);
+        Requirement req = new OSGiRequirementImpl("osgi.identity", "(osgi.identity=test_file_2)");
+
+        Map<Requirement, Collection<Capability>> result = repo.findProviders(Collections.singleton(req));
+        assertEquals(1, result.size());
+        Collection<Capability> caps = result.values().iterator().next();
+        assertEquals(1, caps.size());
+        Capability cap = caps.iterator().next();
+
+        assertEquals("test_file_2", cap.getAttributes().get(IdentityNamespace.IDENTITY_NAMESPACE));
+        assertEquals(Version.parseVersion("1.0.0"), cap.getAttributes().get(IdentityNamespace.CAPABILITY_VERSION_ATTRIBUTE));
+        assertEquals(IdentityNamespace.TYPE_BUNDLE, cap.getAttributes().get(IdentityNamespace.CAPABILITY_TYPE_ATTRIBUTE));
+    }
+
+    public void testFilterOnCapability() throws Exception
+    {
+        RepositoryAdminImpl repoAdmin = createRepositoryAdmin();
+        URL url = getClass().getResource("/another_repository.xml");
+        repoAdmin.addRepository(url);
+
+        Repository repo = new OSGiRepositoryImpl(repoAdmin);
+        Requirement req = new OSGiRequirementImpl("foo", "(someKey=someOtherVal)");
+
+        Map<Requirement, Collection<Capability>> result = repo.findProviders(Collections.singleton(req));
+        assertEquals(1, result.size());
+        Collection<Capability> caps = result.values().iterator().next();
+        assertEquals(1, caps.size());
+
+        Resource res = caps.iterator().next().getResource();
+        assertEquals("test_file_2",
+            res.getCapabilities(IdentityNamespace.IDENTITY_NAMESPACE).iterator().next().
+            getAttributes().get(IdentityNamespace.IDENTITY_NAMESPACE));
+    }
+
+    public void testFilterOnCapabilityExistence() throws Exception
+    {
+        RepositoryAdminImpl repoAdmin = createRepositoryAdmin();
+        URL url = getClass().getResource("/another_repository.xml");
+        repoAdmin.addRepository(url);
+
+        Repository repo = new OSGiRepositoryImpl(repoAdmin);
+        Requirement req = new OSGiRequirementImpl("foo", "(someKey=*)");
+
+        Map<Requirement, Collection<Capability>> result = repo.findProviders(Collections.singleton(req));
+        assertEquals(1, result.size());
+        Collection<Capability> caps = result.values().iterator().next();
+        assertEquals(2, caps.size());
+
+        Set<Object> identities = new HashSet<Object>();
+        for (Capability cap : caps)
+        {
+            identities.add(cap.getResource().getCapabilities(IdentityNamespace.IDENTITY_NAMESPACE).
+                iterator().next().getAttributes().get(IdentityNamespace.IDENTITY_NAMESPACE));
+        }
+
+        Set<String> expected = new HashSet<String>(Arrays.asList("test_file_1", "test_file_2"));
+        assertEquals(expected, identities);
+    }
+
+    private RepositoryAdminImpl createRepositoryAdmin() throws Exception
+    {
+        Bundle sysBundle = Mockito.mock(Bundle.class);
+        Mockito.when(sysBundle.getHeaders()).thenReturn(new Hashtable<String, String>());
+
+        BundleContext bc = Mockito.mock(BundleContext.class);
+        Mockito.when(bc.getBundle(0)).thenReturn(sysBundle);
+        Mockito.when(sysBundle.getBundleContext()).thenReturn(bc);
+
+        return new RepositoryAdminImpl(bc, new Logger(bc));
+    }
+}

Added: felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/OSGiRepositoryXMLTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/OSGiRepositoryXMLTest.java?rev=1563841&view=auto
==============================================================================
--- felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/OSGiRepositoryXMLTest.java (added)
+++ felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/OSGiRepositoryXMLTest.java Mon Feb  3 11:30:49 2014
@@ -0,0 +1,72 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.felix.bundlerepository.impl;
+
+import java.net.URL;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Hashtable;
+import java.util.Map;
+
+import junit.framework.TestCase;
+
+import org.apache.felix.utils.log.Logger;
+import org.mockito.Mockito;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.Version;
+import org.osgi.framework.namespace.IdentityNamespace;
+import org.osgi.resource.Capability;
+import org.osgi.resource.Requirement;
+import org.osgi.service.repository.Repository;
+
+public class OSGiRepositoryXMLTest extends TestCase
+{
+    public void testParseStandardRepositoryXML() throws Exception
+    {
+        RepositoryAdminImpl repoAdmin = createRepositoryAdmin();
+        URL url = getClass().getResource("/spec_repository.xml");
+        repoAdmin.addRepository(url);
+
+        Repository repo = new OSGiRepositoryImpl(repoAdmin);
+        Requirement req = new OSGiRequirementImpl("osgi.identity", "(osgi.identity=cdi-subsystem)");
+
+        Map<Requirement, Collection<Capability>> result = repo.findProviders(Collections.singleton(req));
+        assertEquals(1, result.size());
+        Collection<Capability> caps = result.values().iterator().next();
+        assertEquals(1, caps.size());
+        Capability cap = caps.iterator().next();
+
+        assertEquals("cdi-subsystem", cap.getAttributes().get(IdentityNamespace.IDENTITY_NAMESPACE));
+        assertEquals(Version.parseVersion("0.5.0"), cap.getAttributes().get(IdentityNamespace.CAPABILITY_VERSION_ATTRIBUTE));
+        assertEquals("osgi.subsystem.feature", cap.getAttributes().get(IdentityNamespace.CAPABILITY_TYPE_ATTRIBUTE));
+    }
+
+    private RepositoryAdminImpl createRepositoryAdmin() throws Exception
+    {
+        Bundle sysBundle = Mockito.mock(Bundle.class);
+        Mockito.when(sysBundle.getHeaders()).thenReturn(new Hashtable<String, String>());
+
+        BundleContext bc = Mockito.mock(BundleContext.class);
+        Mockito.when(bc.getBundle(0)).thenReturn(sysBundle);
+        Mockito.when(sysBundle.getBundleContext()).thenReturn(bc);
+
+        return new RepositoryAdminImpl(bc, new Logger(bc));
+    }
+}

Modified: felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/RepositoryImplTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/RepositoryImplTest.java?rev=1563841&r1=1563840&r2=1563841&view=diff
==============================================================================
--- felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/RepositoryImplTest.java (original)
+++ felix/trunk/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/RepositoryImplTest.java Mon Feb  3 11:30:49 2014
@@ -21,8 +21,10 @@ package org.apache.felix.bundlerepositor
 import java.net.URL;
 import java.util.Dictionary;
 import java.util.Hashtable;
+import java.util.Map;
 
 import junit.framework.TestCase;
+
 import org.apache.felix.bundlerepository.Repository;
 import org.apache.felix.bundlerepository.Resource;
 import org.apache.felix.utils.log.Logger;
@@ -70,7 +72,7 @@ public class RepositoryImplTest extends 
         URL url = getClass().getResource("/referral1_repository.xml");
 
         RepositoryAdminImpl repoAdmin = createRepositoryAdmin();
-        RepositoryImpl repo = (RepositoryImpl) repoAdmin.addRepository(url, 1);
+        RepositoryImpl repo = repoAdmin.addRepository(url, 1);
         Referral[] refs = repo.getReferrals();
 
         assertNotNull("Expect referrals", refs);
@@ -92,8 +94,8 @@ public class RepositoryImplTest extends 
 
     private RepositoryAdminImpl createRepositoryAdmin() throws Exception
     {
-        BundleContext bundleContext = (BundleContext) EasyMock.createMock(BundleContext.class);
-        Bundle systemBundle = (Bundle) EasyMock.createMock(Bundle.class);
+        BundleContext bundleContext = EasyMock.createMock(BundleContext.class);
+        Bundle systemBundle = EasyMock.createMock(Bundle.class);
 
         Activator.setContext(bundleContext);
         EasyMock.expect(bundleContext.getProperty((String) EasyMock.anyObject())).andReturn(null).anyTimes();
@@ -115,6 +117,9 @@ public class RepositoryImplTest extends 
             public boolean matchCase(Dictionary dictionary) {
                 return true;
             }
+            public boolean matches(Map<String, ?> map) {
+                return true;
+            }
         }).anyTimes();
         EasyMock.replay(new Object[] { bundleContext, systemBundle });
 

Added: felix/trunk/bundlerepository/src/test/resources/another_repository.xml
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/test/resources/another_repository.xml?rev=1563841&view=auto
==============================================================================
--- felix/trunk/bundlerepository/src/test/resources/another_repository.xml (added)
+++ felix/trunk/bundlerepository/src/test/resources/another_repository.xml Mon Feb  3 11:30:49 2014
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<repository lastmodified="20140130073223" name="AnotherRepository">
+
+    <resource id="test_file_1/1.0.0.SNAPSHOT"
+        symbolicname="test_file_1"
+        uri="repo_files/test_file_1.jar"
+        version="1.0.0.SNAPSHOT">
+        <size>1</size>
+        <capability name="bundle">
+            <p n="manifestversion" v="2" />
+            <p n="presentationname"
+                v="Unnamed - dummy" />
+            <p n="symbolicname" v="dummy" />
+            <p n="version" t="version" v="1.0.0.SNAPSHOT" />
+        </capability>
+        <capability name="package">
+            <p n="package" v="javax.naming" />
+            <p n="version" t="version" v="0.0.0" />
+        </capability>
+        <capability name="package">
+            <p n="package" v="javax.naming.event" />
+            <p n="version" t="version" v="0.0.0" />
+        </capability>
+        <capability name="package">
+            <p n="package" v="javax.naming.spi" />
+            <p n="version" t="version" v="0.0.0" />
+        </capability>
+        <capability name="package">
+            <p n="package" v="javax.sql" />
+            <p n="version" t="version" v="0.0.0" />
+        </capability>
+        <capability name="package">
+            <p n="package" v="org.xml.sax" />
+            <p n="version" t="version" v="0.0.0" />
+        </capability>
+        <capability name="package">
+            <p n="package" v="org.xml.sax.ext" />
+            <p n="version" t="version" v="0.0.0" />
+        </capability>
+        <capability name="package">
+            <p n="package" v="org.xml.sax.helpers" />
+            <p n="version" t="version" v="0.0.0" />
+        </capability>
+        <capability name="package">
+            <p n="package" v="org.apache.commons.logging" />
+            <p n="version" t="version" v="1.0.4" />
+        </capability>        
+        <capability name="foo">
+            <p n="someKey" v="someVal"/>
+        </capability>
+    </resource>
+
+    <resource id="test_file_2/1.0.0"
+        symbolicname="test_file_2"
+        uri="repo_files/test_file_2.jar"
+        version="1.0.0">
+        <size>2</size>
+
+        <capability name="foo">
+            <p n="someKey" v="someOtherVal"/>
+        </capability>
+    </resource>
+</repository>

Added: felix/trunk/bundlerepository/src/test/resources/repo_files/test_file_1.jar
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/test/resources/repo_files/test_file_1.jar?rev=1563841&view=auto
==============================================================================
--- felix/trunk/bundlerepository/src/test/resources/repo_files/test_file_1.jar (added)
+++ felix/trunk/bundlerepository/src/test/resources/repo_files/test_file_1.jar Mon Feb  3 11:30:49 2014
@@ -0,0 +1 @@
+X
\ No newline at end of file

Added: felix/trunk/bundlerepository/src/test/resources/repo_files/test_file_2.jar
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/test/resources/repo_files/test_file_2.jar?rev=1563841&view=auto
==============================================================================
--- felix/trunk/bundlerepository/src/test/resources/repo_files/test_file_2.jar (added)
+++ felix/trunk/bundlerepository/src/test/resources/repo_files/test_file_2.jar Mon Feb  3 11:30:49 2014
@@ -0,0 +1 @@
+AB
\ No newline at end of file

Added: felix/trunk/bundlerepository/src/test/resources/spec_repository.xml
URL: http://svn.apache.org/viewvc/felix/trunk/bundlerepository/src/test/resources/spec_repository.xml?rev=1563841&view=auto
==============================================================================
--- felix/trunk/bundlerepository/src/test/resources/spec_repository.xml (added)
+++ felix/trunk/bundlerepository/src/test/resources/spec_repository.xml Mon Feb  3 11:30:49 2014
@@ -0,0 +1,899 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<repository increment='1389802088217' name='Untitled' xmlns='http://www.osgi.org/xmlns/repository/v1.0.0'>
+  <resource>
+    <capability namespace='osgi.identity'>
+      <attribute name='osgi.identity' value='org.apache.sshd.core'/>
+      <attribute name='type' value='osgi.bundle'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+    </capability>
+    <capability namespace='osgi.content'>
+      <attribute name='osgi.content' value='a1c64578808c38a63cd6563e9936f025638aeaf9de70f36765367db81c0afc38'/>
+      <attribute name='url' value='local-repo/sshd-core-0.9.0.jar'/>
+      <attribute name='size' type='Long' value='464733'/>
+      <attribute name='mime' value='application/vnd.osgi.bundle'/>
+    </capability>
+    <capability namespace='osgi.wiring.bundle'>
+      <attribute name='osgi.wiring.bundle' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+    </capability>
+    <capability namespace='osgi.wiring.host'>
+      <attribute name='osgi.wiring.host' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.io.nio2'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.slf4j,org.apache.sshd.common,org.apache.sshd.common.future,org.apache.sshd.common.util'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.agent,org.apache.sshd.common.file,org.slf4j,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.common.session,org.apache.sshd.client.future,org.apache.sshd.common.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.kex'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='javax.crypto.interfaces,org.apache.sshd.common.util,javax.crypto.spec,javax.crypto'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.keyprovider'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common,org.slf4j,org.apache.sshd.common.util,org.bouncycastle.openssl'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.session'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.common.io,org.slf4j,org.apache.sshd.common,org.apache.sshd.common.util,org.apache.sshd.client.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.future'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd,org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.future'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.keyverifier'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.client,org.apache.sshd,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.channel'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.client.future,org.slf4j,org.apache.sshd.common.channel,org.apache.sshd.common.future,org.apache.sshd.server,org.apache.sshd.common.file,org.apache.sshd.agent,org.apache.sshd.server.session'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.shell'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.server,org.apache.sshd.server.session,org.apache.sshd.common.util,org.slf4j,org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.agent'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.scp'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.common.scp,org.apache.sshd.common,org.apache.sshd.client,org.apache.sshd.client.future,org.apache.sshd,org.apache.sshd.common.file,org.apache.sshd.client.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.kex'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.common.kex,org.apache.sshd.common.session,org.apache.sshd.server.session,org.apache.sshd.common.digest,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.session'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.server.channel,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.common.channel,org.apache.sshd.client,org.apache.sshd.common.session,org.apache.sshd.client.channel,org.slf4j,org.apache.sshd.client.sftp,org.apache.sshd.agent,org.apache.sshd.client.scp,org.apache.sshd,org.apache.sshd.client.auth'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.command'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.scp,org.apache.sshd.server,org.apache.sshd.common.file,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.auth'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.client,org.apache.sshd.client.session,org.slf4j,org.apache.sshd.common,org.apache.sshd.common.io,org.apache.sshd.common.util,org.apache.sshd.agent'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.random'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common,org.bouncycastle.crypto.prng'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.scp'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.file,org.apache.sshd.common.util,org.apache.sshd.common,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.agent.local'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.agent,org.apache.sshd.agent.common,org.apache.sshd.common,org.apache.sshd.client.future,org.slf4j,org.apache.sshd.client.channel,org.apache.sshd.common.channel,org.apache.sshd.common.signature,org.apache.sshd.server.session,org.apache.sshd.server.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.forward'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.future,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.common.util,org.slf4j,org.apache.sshd.common.channel,org.apache.sshd.client.channel,org.apache.sshd.server.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.agent.unix'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.agent.common,org.apache.tomcat.jni,org.apache.sshd.common.future,org.apache.sshd.client.future,org.slf4j,org.apache.sshd.common.channel,org.apache.sshd.client.channel,org.apache.sshd.agent,org.apache.sshd.agent.local,org.apache.sshd.server.session,org.apache.sshd.server.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.auth.gss'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='javax.security.auth.login,org.ietf.jgss,javax.security.auth.callback,javax.security.auth,org.apache.sshd.server.session,org.apache.sshd.common,org.apache.sshd.server,org.apache.sshd.common.io,org.apache.sshd.common.util,org.apache.sshd.server.auth,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.agent.common'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.agent,org.apache.sshd.common,org.apache.sshd.server.session,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.compression'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common,org.apache.sshd.common.util,com.jcraft.jzlib'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.cipher'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common,javax.crypto,org.apache.sshd.common.util,javax.crypto.spec'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.signature'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.file.nativefs'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common,org.slf4j,org.apache.sshd.common.file'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.file'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.channel'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.client.future,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd,org.slf4j,org.apache.sshd.common.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.auth'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.server,org.apache.sshd.server.session,org.slf4j,org.apache.sshd.common,org.apache.sshd.common.io'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.io'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common,org.slf4j,org.apache.sshd.common.future,org.apache.sshd.common.util'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.util'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common,org.slf4j,org.bouncycastle.jce.provider,javax.crypto'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.keyprovider'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common.keyprovider,org.slf4j,org.bouncycastle.openssl'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.mac'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.util,javax.crypto.spec,org.apache.sshd.common,javax.crypto'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.x11'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.client.channel,org.slf4j,org.apache.sshd.common.channel,org.apache.sshd.server.session'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.jaas'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='javax.security.auth.callback,javax.security.auth.login,org.apache.sshd.server,org.apache.sshd.server.session,javax.security.auth,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.kex'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.common.kex,org.apache.sshd.common.session,org.apache.sshd.client.session,org.apache.sshd.common.digest,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.sftp'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd,org.apache.sshd.client,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.client.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common,org.apache.sshd,org.apache.sshd.common.io,org.apache.sshd.common.session,org.apache.sshd.client.session,org.apache.sshd.common.util'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.server.channel,org.apache.sshd.server.session,org.apache.sshd.common,org.apache.sshd.server.auth.gss,org.apache.sshd.common.util'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.io.mina'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.mina.core.session,org.apache.sshd.common,org.apache.mina.core.service,org.apache.mina.transport.socket.nio,org.apache.mina.transport.socket,org.slf4j,org.apache.mina.core.future,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.mina.core.buffer'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.sftp'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.file,org.apache.sshd.common,org.apache.sshd.server,org.apache.sshd.common.util,org.apache.sshd.server.session,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.session'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.server.channel,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.common.channel,org.apache.sshd.common.session,org.apache.sshd.agent.common,org.slf4j,org.apache.sshd.server.x11,org.apache.sshd.server'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.digest'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.client.future,org.apache.sshd.common,org.apache.sshd.client,org.apache.sshd.client.channel,org.apache.sshd.common.io,org.apache.sshd.common.session,org.apache.sshd.client.session,org.apache.sshd.client.keyverifier,org.apache.sshd.agent,org.apache.sshd.common.random,org.apache.sshd.common.forward,org.apache.sshd.common.compression,org.apache.sshd.common.cipher,org.apache.sshd.common.signature,org.apache.sshd.common.file.nativefs,org.apache.sshd.common.file,org.apache.sshd.common.util,org.apache.sshd.common.mac,org.apache.sshd.client.kex,org.apache.sshd.server,org.apache.sshd.server.session,org.apache.sshd.common.io.nio2,org.apache.sshd.server.channel,org.apache.sshd.server.shell,org.apache.sshd.server.kex,org.apache.sshd.server.command,org.apache.sshd.server.auth.gss,org.slf4j,org.apache.sshd.server.auth,org.apache.sshd.server.keyprovider,org.apache.sshd.common.io.mina,org.apache.sshd.server.sftp'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.channel'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.0'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.common,org.apache.sshd.common.io,org.slf4j,org.apache.sshd.common.util'/>
+    </capability>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=com.jcraft.jzlib)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.crypto)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.crypto.interfaces)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.crypto.spec)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.security.auth)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.security.auth.callback)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.security.auth.login)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.core.buffer)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.core.future)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.core.service)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.core.session)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.transport.socket)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.transport.socket.nio)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.apache.tomcat.jni)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.bouncycastle.crypto.prng)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.bouncycastle.jce.provider)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.bouncycastle.openssl)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.ietf.jgss)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.slf4j)(version&gt;=1.6.0)(!(version&gt;=2.0.0)))'/>
+    </requirement>
+  </resource>
+  <resource>
+    <capability namespace='osgi.identity'>
+      <attribute name='osgi.identity' value='org.apache.sshd.core'/>
+      <attribute name='type' value='osgi.bundle'/>
+      <attribute name='version' type='Version' value='0.9.1'/>
+    </capability>
+    <capability namespace='osgi.content'>
+      <attribute name='osgi.content' value='6e60da106b050e88c06a476c1f3462637e864826be4b31ee77502b62d0bc59a0'/>
+      <attribute name='url' value='local-repo/sshd-core-0.9.1.jar'/>
+      <attribute name='size' type='Long' value='470632'/>
+      <attribute name='mime' value='application/vnd.osgi.bundle'/>
+    </capability>
+    <capability namespace='osgi.wiring.bundle'>
+      <attribute name='osgi.wiring.bundle' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+    </capability>
+    <capability namespace='osgi.wiring.host'>
+      <attribute name='osgi.wiring.host' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.io.nio2'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.slf4j,org.apache.sshd.common,org.apache.sshd.common.future,org.apache.sshd.common.util'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.agent,org.apache.sshd.common.file,org.slf4j,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.common.session,org.apache.sshd.client.future,org.apache.sshd.common.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.kex'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='javax.crypto.interfaces,org.apache.sshd.common.util,javax.crypto.spec,javax.crypto'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.keyprovider'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common,org.slf4j,org.apache.sshd.common.util,org.bouncycastle.openssl'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.session'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.common.io,org.slf4j,org.apache.sshd.common,org.apache.sshd.common.util,org.apache.sshd.client.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.future'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd,org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.future'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.keyverifier'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.client,org.apache.sshd,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.channel'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.client.future,org.slf4j,org.apache.sshd.common.channel,org.apache.sshd.common.future,org.apache.sshd.server,org.apache.sshd.common.file,org.apache.sshd.agent,org.apache.sshd.server.session'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.shell'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.server,org.apache.sshd.server.session,org.apache.sshd.common.util,org.slf4j,org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.agent'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.scp'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.common.scp,org.apache.sshd.common,org.apache.sshd.client,org.apache.sshd.client.future,org.apache.sshd,org.apache.sshd.common.file,org.apache.sshd.client.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.kex'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.common.kex,org.apache.sshd.common.session,org.apache.sshd.server.session,org.apache.sshd.common.digest,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.session'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.server.channel,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.common.channel,org.apache.sshd.client,org.apache.sshd.common.session,org.apache.sshd.client.channel,org.slf4j,org.apache.sshd.client.sftp,org.apache.sshd.agent,org.apache.sshd.client.scp,org.apache.sshd,org.apache.sshd.client.auth'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.command'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.scp,org.apache.sshd.server,org.apache.sshd.common.file,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.auth'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.client,org.apache.sshd.client.session,org.slf4j,org.apache.sshd.common,org.apache.sshd.common.io,org.apache.sshd.common.util,org.apache.sshd.agent'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.random'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common,org.bouncycastle.crypto.prng'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.scp'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.file,org.apache.sshd.common.util,org.apache.sshd.common,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.agent.local'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.agent,org.apache.sshd.agent.common,org.apache.sshd.common,org.apache.sshd.client.future,org.slf4j,org.apache.sshd.client.channel,org.apache.sshd.common.channel,org.apache.sshd.common.signature,org.apache.sshd.server.session,org.apache.sshd.server.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.forward'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.future,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.common.util,org.slf4j,org.apache.sshd.common.channel,org.apache.sshd.client.channel,org.apache.sshd.server.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.agent.unix'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.agent.common,org.apache.tomcat.jni,org.apache.sshd.common.future,org.apache.sshd.client.future,org.slf4j,org.apache.sshd.common.channel,org.apache.sshd.client.channel,org.apache.sshd.agent,org.apache.sshd.agent.local,org.apache.sshd.server.session,org.apache.sshd.server.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.auth.gss'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='javax.security.auth.login,org.ietf.jgss,javax.security.auth.callback,javax.security.auth,org.apache.sshd.server.session,org.apache.sshd.common,org.apache.sshd.server,org.apache.sshd.common.io,org.apache.sshd.common.util,org.apache.sshd.server.auth,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.agent.common'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.agent,org.apache.sshd.common,org.apache.sshd.server.session,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.compression'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common,org.apache.sshd.common.util,com.jcraft.jzlib'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.cipher'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common,javax.crypto,org.apache.sshd.common.util,javax.crypto.spec'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.signature'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.file.nativefs'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common,org.slf4j,org.apache.sshd.common.file'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.file'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.channel'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.client.future,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd,org.slf4j,org.apache.sshd.common.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.auth'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.server,org.apache.sshd.server.session,org.slf4j,org.apache.sshd.common,org.apache.sshd.common.io'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.io'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common,org.slf4j,org.apache.sshd.common.future,org.apache.sshd.common.util'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.util'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common,org.slf4j,org.bouncycastle.jce.provider,javax.crypto'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.keyprovider'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common.keyprovider,org.slf4j,org.bouncycastle.openssl'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.mac'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.util,javax.crypto.spec,org.apache.sshd.common,javax.crypto'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.x11'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.client.channel,org.slf4j,org.apache.sshd.common.channel,org.apache.sshd.server.session'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.jaas'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='javax.security.auth.callback,javax.security.auth.login,org.apache.sshd.server,org.apache.sshd.server.session,javax.security.auth,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.kex'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.common.kex,org.apache.sshd.common.session,org.apache.sshd.client.session,org.apache.sshd.common.digest,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client.sftp'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd,org.apache.sshd.client,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.client.channel'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.client'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common,org.apache.sshd,org.apache.sshd.common.io,org.apache.sshd.common.session,org.apache.sshd.client.session,org.apache.sshd.common.util'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.server.channel,org.apache.sshd.server.session,org.apache.sshd.common,org.apache.sshd.server.auth.gss,org.apache.sshd.common.util'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.io.mina'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.mina.core.session,org.apache.sshd.common,org.apache.mina.core.service,org.apache.mina.transport.socket.nio,org.apache.mina.transport.socket,org.slf4j,org.apache.mina.core.future,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.mina.core.buffer'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.sftp'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.file,org.apache.sshd.common,org.apache.sshd.server,org.apache.sshd.common.util,org.apache.sshd.server.session,org.slf4j'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.server.session'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.io,org.apache.sshd.common.future,org.apache.sshd.common.util,org.apache.sshd.server.channel,org.apache.sshd.common,org.apache.sshd.client.future,org.apache.sshd.common.channel,org.apache.sshd.common.session,org.apache.sshd.agent.common,org.slf4j,org.apache.sshd.server.x11,org.apache.sshd.server'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.digest'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.util,org.apache.sshd.common'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.client.future,org.apache.sshd.common,org.apache.sshd.client,org.apache.sshd.client.channel,org.apache.sshd.common.io,org.apache.sshd.common.session,org.apache.sshd.client.session,org.apache.sshd.client.keyverifier,org.apache.sshd.agent,org.apache.sshd.common.random,org.apache.sshd.common.forward,org.apache.sshd.common.compression,org.apache.sshd.common.cipher,org.apache.sshd.common.signature,org.apache.sshd.common.file.nativefs,org.apache.sshd.common.file,org.apache.sshd.common.util,org.apache.sshd.common.mac,org.apache.sshd.client.kex,org.apache.sshd.server,org.apache.sshd.server.session,org.apache.sshd.common.io.nio2,org.apache.sshd.server.channel,org.apache.sshd.server.shell,org.apache.sshd.server.kex,org.apache.sshd.server.command,org.apache.sshd.server.auth.gss,org.slf4j,org.apache.sshd.server.auth,org.apache.sshd.server.keyprovider,org.apache.sshd.common.io.mina,org.apache.sshd.server.sftp'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.apache.sshd.common.channel'/>
+      <attribute name='version' type='Version' value='0.9.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.sshd.core'/>
+      <attribute name='bundle-version' type='Version' value='0.9.1'/>
+      <directive name='uses' value='org.apache.sshd.common.future,org.apache.sshd.common,org.apache.sshd.common.io,org.slf4j,org.apache.sshd.common.util'/>
+    </capability>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=com.jcraft.jzlib)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.crypto)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.crypto.interfaces)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.crypto.spec)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.security.auth)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.security.auth.callback)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=javax.security.auth.login)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.core.buffer)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.core.future)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.core.service)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.core.session)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.transport.socket)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.apache.mina.transport.socket.nio)(version&gt;=2.0.0)(!(version&gt;=3.0.0)))'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.apache.tomcat.jni)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.bouncycastle.crypto.prng)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.bouncycastle.jce.provider)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.bouncycastle.openssl)'/>
+      <directive name='resolution' value='optional'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(osgi.wiring.package=org.ietf.jgss)'/>
+    </requirement>
+    <requirement namespace='osgi.wiring.package'>
+      <directive name='filter' value='(&amp;(osgi.wiring.package=org.slf4j)(version&gt;=1.6.0)(!(version&gt;=2.0.0)))'/>
+    </requirement>
+  </resource>
+  <resource>
+    <capability namespace='osgi.identity'>
+      <attribute name='osgi.identity' value='cdi-subsystem'/>
+      <attribute name='type' value='osgi.subsystem.feature'/>
+      <attribute name='version' type='Version' value='0.5.0'/>
+    </capability>
+    <capability namespace='osgi.content'>
+      <attribute name='osgi.content' value='cf437416541f1c04a503b4c4db9127c805a0d1989db6e71c3245e09d3b572d41'/>
+      <attribute name='url' value='local-repo/cdi.esa'/>
+      <attribute name='size' type='Long' value='5060942'/>
+      <attribute name='mime' value='application/vnd.osgi.subsystem'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.osgi.service.cdi'/>
+      <attribute name='version' type='Version' value='1.0.0'/>
+      <attribute name='bundle-symbolic-name' value='org.ops4j.pax.cdi.api'/>
+      <attribute name='bundle-version' type='Version' value='0.5.0.ri-SNAPSHOT'/>
+      <directive name='uses' value='org.osgi.framework,javax.enterprise.util,javax.inject'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='org.osgi.service.http'/>
+      <attribute name='version' type='Version' value='1.2.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.felix.http.jetty'/>
+      <attribute name='bundle-version' type='Version' value='2.2.2'/>
+      <directive name='uses' value='javax.servlet.http,javax.servlet'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='javax.servlet'/>
+      <attribute name='version' type='Version' value='2.5.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.felix.http.jetty'/>
+      <attribute name='bundle-version' type='Version' value='2.2.2'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='javax.servlet.http'/>
+      <attribute name='version' type='Version' value='2.5.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.felix.http.jetty'/>
+      <attribute name='bundle-version' type='Version' value='2.2.2'/>
+      <directive name='uses' value='javax.servlet'/>
+    </capability>
+    <capability namespace='osgi.wiring.package'>
+      <attribute name='osgi.wiring.package' value='javax.inject'/>
+      <attribute name='version' type='Version' value='1.0.0'/>
+      <attribute name='bundle-symbolic-name' value='org.apache.geronimo.specs.geronimo-atinject_1.0_spec'/>
+      <attribute name='bundle-version' type='Version' value='1.0.0'/>
+    </capability>
+    <capability namespace='osgi.extender'>
+      <attribute name='osgi.extender' value='osgi.cdi'/>
+      <attribute name='version' type='Version' value='1.0.0'/>
+      <directive name='uses' value='org.osgi.service.cdi,javax.enterprise.inject.spi'/>
+    </capability>
+    <capability namespace='osgi.whiteboard'>
+      <attribute name='osgi.whiteboard' value='osgi.http'/>
+      <attribute name='version' type='Version' value='1.2.0'/>
+      <directive name='uses' value='javax.servlet,javax.servlet.http'/>
+    </capability>
+  </resource>
+</repository>



Mime
View raw message