Due to changes to SCR from FELIX-140, the generic activator is no longer
needed, so I removed it and modified the pom file not to import it. This
has not been tested.


git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@449051 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/examples/spellcheckscr/pom.xml b/examples/spellcheckscr/pom.xml
index 940bfe2..d78784a 100644
--- a/examples/spellcheckscr/pom.xml
+++ b/examples/spellcheckscr/pom.xml
@@ -27,12 +27,6 @@
       <version>${pom.version}</version>
       <scope>provided</scope>
     </dependency>
-    <dependency>
-      <groupId>${pom.groupId}</groupId>
-      <artifactId>org.apache.felix.scr</artifactId>
-      <version>${pom.version}</version>
-      <scope>provided</scope>
-    </dependency>
   </dependencies>
   <build>
     <plugins>
@@ -58,7 +52,7 @@
               org.apache.felix.examples.spellcheckscr.Activator
             </bundleActivator>
             <importPackage>
-              org.osgi.framework, org.apache.felix.examples.dictionaryservice, org.apache.felix.scr, org.apache.felix.examples.spellcheckservice
+              org.osgi.framework, org.apache.felix.examples.dictionaryservice, org.apache.felix.examples.spellcheckservice
             </importPackage>
           </osgiManifest>
         </configuration>
diff --git a/examples/spellcheckscr/src/main/java/org/apache/felix/examples/spellcheckscr/Activator.java b/examples/spellcheckscr/src/main/java/org/apache/felix/examples/spellcheckscr/Activator.java
deleted file mode 100644
index 58596bb..0000000
--- a/examples/spellcheckscr/src/main/java/org/apache/felix/examples/spellcheckscr/Activator.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *   Copyright 2006 The Apache Software Foundation
- *
- *   Licensed 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.examples.spellcheckscr;
-
-
-import org.apache.felix.scr.GenericActivator;
-
-
-/**
- * This example re-implements the spell check service of Example 5 using the
- * Apache Felix Service Component Runtime.
- * The Service Component Runtime greatly simplifies creating OSGi applications
- * by essentially eliminating the need to write OSGi-related code;
- * instead of writing OSGi code for your bundle, you create a simple XML file to
- * describe your bundle's service dependencies. This class extends the generic
- * bundle activator; it does not provide any additional functionality. All
- * functionality for service-related tasks, such as look-up and binding, is
- * handled by the generic activator base class using data from the metadata.xml
- * file. All application functionality is defined in the
- * SpellCheckServiceImpl.java file.
- * 
- * @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project Team</a>
- */
-public class Activator extends GenericActivator
-{
-}