diff --git a/osgi-featuremodel/pom.xml b/osgi-featuremodel/pom.xml
index 9418ad8fc..72c530b9e 100644
--- a/osgi-featuremodel/pom.xml
+++ b/osgi-featuremodel/pom.xml
@@ -31,6 +31,18 @@
11
+
+
+ snapshots-repo
+ https://oss.sonatype.org/content/repositories/snapshots
+
+ false
+
+
+ true
+
+
+
@@ -42,11 +54,10 @@
-
+
org.apache.rat
apache-rat-plugin
@@ -83,8 +96,14 @@
org.osgi
- osgi.core
- 8.0.0
+ org.osgi.framework
+ 1.8.0
+ provided
+
+
+ org.osgi
+ org.osgi.service.feature
+ 1.0.0-SNAPSHOT
provided
diff --git a/osgi-featuremodel/src/main/java/org/apache/sling/feature/osgi/impl/Activator.java b/osgi-featuremodel/src/main/java/org/apache/sling/feature/osgi/impl/Activator.java
new file mode 100644
index 000000000..d633356f1
--- /dev/null
+++ b/osgi-featuremodel/src/main/java/org/apache/sling/feature/osgi/impl/Activator.java
@@ -0,0 +1,31 @@
+package org.apache.sling.feature.osgi.impl;
+
+import java.util.Dictionary;
+import java.util.Hashtable;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.Constants;
+import org.osgi.framework.ServiceRegistration;
+import org.osgi.service.feature.FeatureService;
+
+public class Activator implements BundleActivator {
+
+ private ServiceRegistration reg = null;
+
+ @Override
+ public void start(BundleContext context) throws Exception {
+
+ Dictionary dict = new Hashtable<>();
+ dict.put(Constants.SERVICE_VENDOR, "sling");
+
+ reg = context.registerService(FeatureService.class, new FeatureServiceImpl(), dict);
+ }
+
+ @Override
+ public void stop(BundleContext context) throws Exception {
+ reg.unregister();
+
+ }
+
+}
diff --git a/osgi-featuremodel/src/main/java/org/apache/sling/feature/osgi/impl/FeatureServiceImpl.java b/osgi-featuremodel/src/main/java/org/apache/sling/feature/osgi/impl/FeatureServiceImpl.java
index ed1fd5e3f..260fa33ff 100644
--- a/osgi-featuremodel/src/main/java/org/apache/sling/feature/osgi/impl/FeatureServiceImpl.java
+++ b/osgi-featuremodel/src/main/java/org/apache/sling/feature/osgi/impl/FeatureServiceImpl.java
@@ -39,9 +39,10 @@
import org.osgi.service.feature.FeatureConfigurationBuilder;
import org.osgi.service.feature.FeatureExtension;
import org.osgi.service.feature.FeatureExtensionBuilder;
+import org.osgi.service.feature.FeatureService;
import org.osgi.service.feature.ID;
-public class FeatureServiceImpl {
+public class FeatureServiceImpl implements FeatureService {
private final BuilderFactoryImpl builderFactory = new BuilderFactoryImpl();
public BuilderFactory getBuilderFactory() {