Update to new parent pom
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1695912 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/http/cometd/pom.xml b/http/cometd/pom.xml
index c685cf6..dbf1e47 100644
--- a/http/cometd/pom.xml
+++ b/http/cometd/pom.xml
@@ -83,20 +83,15 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- <version>4.2.0</version>
- <scope>provided</scope>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
- <version>4.2.0</version>
- <scope>provided</scope>
+ <artifactId>osgi.cmpn</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
- <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
diff --git a/http/cometd/src/main/java/org/apache/felix/http/cometd/internal/CometdServiceImpl.java b/http/cometd/src/main/java/org/apache/felix/http/cometd/internal/CometdServiceImpl.java
index acdaa45..c163e69 100644
--- a/http/cometd/src/main/java/org/apache/felix/http/cometd/internal/CometdServiceImpl.java
+++ b/http/cometd/src/main/java/org/apache/felix/http/cometd/internal/CometdServiceImpl.java
@@ -18,7 +18,6 @@
import java.util.Dictionary;
import java.util.Hashtable;
-import java.util.Properties;
import javax.servlet.http.HttpServlet;
@@ -58,7 +57,7 @@
public void start()
throws Exception
{
- Properties props = new Properties();
+ Dictionary<String, Object> props = new Hashtable<String, Object>();
props.put(Constants.SERVICE_PID, PID);
this.configServiceReg = this.context.registerService(ManagedService.class.getName(), this, props);