<version>${karaf4.version}</version>
<scope>compile</scope>
</dependency>
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.spring</artifactId>
- <version>${karaf4.version}</version>
- <scope>compile</scope>
- </dependency>
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-wrap</artifactId>
import org.apache.karaf.deployer.blueprint.BlueprintURLHandler;
import org.apache.karaf.deployer.features.FeatureURLHandler;
-import org.apache.karaf.deployer.spring.SpringURLHandler;
public class CustomBundleUrlStreamHandlerFactory implements URLStreamHandlerFactory {
private static final String MVN_URI_PREFIX = "mvn";
private static final String WRAP_URI_PREFIX = "wrap";
private static final String FEATURE_URI_PREFIX = "feature";
- private static final String SPRING_URI_PREFIX = "spring";
private static final String BLUEPRINT_URI_PREFIX = "blueprint";
@Override
return new org.ops4j.pax.url.wrap.Handler();
case FEATURE_URI_PREFIX:
return new FeatureURLHandler();
- case SPRING_URI_PREFIX:
- return new SpringURLHandler();
case BLUEPRINT_URI_PREFIX:
return new BlueprintURLHandler();
default:
<classifier>features</classifier>
<type>xml</type>
</dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>spring</artifactId>
- <version>${karaf4.version}</version>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
</dependencies>
</dependencyManagement>
<type>xml</type>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>spring</artifactId>
- <classifier>features</classifier>
- <type>xml</type>
- <scope>runtime</scope>
- </dependency>
<!-- ODL Branding -->
<dependency>