Repository: karaf-decanter
Updated Branches:
  refs/heads/master 258b970b6 -> dabeeecd4


[KARAF-4300] Centralize maven bundle plugin config


Project: http://git-wip-us.apache.org/repos/asf/karaf-decanter/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf-decanter/commit/dabeeecd
Tree: http://git-wip-us.apache.org/repos/asf/karaf-decanter/tree/dabeeecd
Diff: http://git-wip-us.apache.org/repos/asf/karaf-decanter/diff/dabeeecd

Branch: refs/heads/master
Commit: dabeeecd41f46a0c5344580f65c2ea6877fd6d35
Parents: 258b970
Author: Christian Schneider <[email protected]>
Authored: Fri Jan 29 16:19:31 2016 +0100
Committer: Christian Schneider <[email protected]>
Committed: Fri Jan 29 16:19:31 2016 +0100

----------------------------------------------------------------------
 .gitignore                     |   3 +-
 api/bnd.bnd                    |   1 +
 api/pom.xml                    |  20 ------
 appender/camel/bnd.bnd         |   1 +
 appender/camel/pom.xml         |  36 -----------
 appender/elasticsearch/bnd.bnd |   1 +
 appender/elasticsearch/pom.xml | 126 ++++++++++++------------------------
 appender/jdbc/bnd.bnd          |   1 +
 appender/jdbc/pom.xml          |  43 ------------
 appender/jms/bnd.bnd           |   1 +
 appender/jms/pom.xml           |  36 -----------
 appender/log/bnd.bnd           |   1 +
 appender/log/pom.xml           |  43 ------------
 collector/camel-tracer/bnd.bnd |   1 +
 collector/camel-tracer/pom.xml |  33 ----------
 collector/file/bnd.bnd         |   1 +
 collector/file/pom.xml         |  41 ------------
 collector/jmx/bnd.bnd          |   1 +
 collector/jmx/pom.xml          |  49 --------------
 collector/log/bnd.bnd          |   1 +
 collector/log/pom.xml          |  42 ------------
 collector/system/bnd.bnd       |   3 +
 collector/system/pom.xml       |  39 -----------
 elasticsearch-head/bnd.bnd     |   1 +
 elasticsearch-head/pom.xml     |  21 ------
 elasticsearch/bnd.bnd          |   1 +
 elasticsearch/pom.xml          |  49 --------------
 kibana/bnd.bnd                 |   1 +
 kibana/pom.xml                 |  21 ------
 pom.xml                        |  42 ++++++++++++
 scheduler/simple/bnd.bnd       |   1 +
 scheduler/simple/pom.xml       |  45 -------------
 sla/camel/bnd.bnd              |   1 +
 sla/camel/pom.xml              |  36 -----------
 sla/checker/bnd.bnd            |   1 +
 sla/checker/pom.xml            |  37 -----------
 sla/email/bnd.bnd              |   1 +
 sla/email/pom.xml              |  36 -----------
 sla/log/bnd.bnd                |   1 +
 sla/log/pom.xml                |  42 ------------
 40 files changed, 108 insertions(+), 753 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index a930e5d..58f75d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,5 @@ target
 .classpath
 .settings
 .idea
-*.i??
\ No newline at end of file
+*.i??
+elasticsearch/data

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/api/bnd.bnd
----------------------------------------------------------------------
diff --git a/api/bnd.bnd b/api/bnd.bnd
new file mode 100644
index 0000000..76eaade
--- /dev/null
+++ b/api/bnd.bnd
@@ -0,0 +1 @@
+Export-Package: org.apache.karaf.decanter.api

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/api/pom.xml
----------------------------------------------------------------------
diff --git a/api/pom.xml b/api/pom.xml
index ab3aa8e..8fcb8b6 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -33,24 +33,4 @@
     <packaging>bundle</packaging>
     <name>Apache Karaf :: Decanter :: API</name>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <inherited>true</inherited>
-                <configuration>
-                    <instructions>
-                        <Bundle-Name>${project.name}</Bundle-Name>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Export-Package>
-                            
org.apache.karaf.decanter.api;version=${project.version}
-                        </Export-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/camel/bnd.bnd
----------------------------------------------------------------------
diff --git a/appender/camel/bnd.bnd b/appender/camel/bnd.bnd
new file mode 100644
index 0000000..346d770
--- /dev/null
+++ b/appender/camel/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.appender.camel.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/camel/pom.xml
----------------------------------------------------------------------
diff --git a/appender/camel/pom.xml b/appender/camel/pom.xml
index 8a812a7..10b59e6 100644
--- a/appender/camel/pom.xml
+++ b/appender/camel/pom.xml
@@ -34,52 +34,16 @@
     <name>Apache Karaf :: Decanter :: Appender :: Camel</name>
 
     <dependencies>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- Camel -->
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-core</artifactId>
             <version>${camel.version}</version>
         </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
     </dependencies>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.version}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.appender.camel.Activator</Bundle-Activator>
-                        <Import-Package>
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/elasticsearch/bnd.bnd
----------------------------------------------------------------------
diff --git a/appender/elasticsearch/bnd.bnd b/appender/elasticsearch/bnd.bnd
new file mode 100644
index 0000000..2473f16
--- /dev/null
+++ b/appender/elasticsearch/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.appender.elasticsearch.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/elasticsearch/pom.xml
----------------------------------------------------------------------
diff --git a/appender/elasticsearch/pom.xml b/appender/elasticsearch/pom.xml
index cf333e8..a38aa62 100644
--- a/appender/elasticsearch/pom.xml
+++ b/appender/elasticsearch/pom.xml
@@ -1,104 +1,64 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
 
-       <!-- 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. -->
+    <!--
 
-       <modelVersion>4.0.0</modelVersion>
+        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
 
-       <parent>
-               <groupId>org.apache.karaf.decanter</groupId>
-               <artifactId>appender</artifactId>
-               <version>1.0.2-SNAPSHOT</version>
-               <relativePath>../pom.xml</relativePath>
-       </parent>
+           http://www.apache.org/licenses/LICENSE-2.0
 
-       <groupId>org.apache.karaf.decanter.appender</groupId>
-       
<artifactId>org.apache.karaf.decanter.appender.elasticsearch</artifactId>
-       <packaging>bundle</packaging>
-       <name>Apache Karaf :: Decanter :: Appender :: Elasticsearch</name>
+        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.
+    -->
 
-       <dependencies>
+    <modelVersion>4.0.0</modelVersion>
 
-               <!-- Elasticsearch -->
-               <dependency>
-                       <groupId>org.elasticsearch</groupId>
-                       <artifactId>elasticsearch</artifactId>
-                       <version>${elasticsearch.version}</version>
-               </dependency>
+    <parent>
+        <groupId>org.apache.karaf.decanter</groupId>
+        <artifactId>appender</artifactId>
+        <version>1.0.2-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
 
-               <!-- OSGi -->
-               <dependency>
-                       <groupId>org.osgi</groupId>
-                       <artifactId>org.osgi.core</artifactId>
-               </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
+    <groupId>org.apache.karaf.decanter.appender</groupId>
+    <artifactId>org.apache.karaf.decanter.appender.elasticsearch</artifactId>
+    <packaging>bundle</packaging>
+    <name>Apache Karaf :: Decanter :: Appender :: Elasticsearch</name>
 
-               <!-- JSON builder -->
-               <dependency>
-                       <groupId>javax.json</groupId>
-                       <artifactId>javax.json-api</artifactId>
-               </dependency>
-
-               <!-- SLF4J -->
-               <dependency>
-                       <groupId>org.slf4j</groupId>
-                       <artifactId>slf4j-api</artifactId>
-               </dependency>
-        
+    <dependencies>
+        <!-- Elasticsearch -->
         <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-simple</artifactId>
-            <version>1.7.7</version>
-            <scope>test</scope>
+            <groupId>org.elasticsearch</groupId>
+            <artifactId>elasticsearch</artifactId>
+            <version>${elasticsearch.version}</version>
         </dependency>
-        
+
+        <!-- JSON builder -->
         <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
+            <groupId>javax.json</groupId>
+            <artifactId>javax.json-api</artifactId>
         </dependency>
 
-         <dependency>
+
+        <dependency>
             <groupId>org.apache.johnzon</groupId>
             <artifactId>johnzon-mapper</artifactId>
             <version>0.8-incubating</version>
             <scope>test</scope>
         </dependency>
-       </dependencies>
+    </dependencies>
 
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <inherited>true</inherited>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <instructions>
-                                               
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                                               
<Bundle-Version>${project.version}</Bundle-Version>
-                                               
<Bundle-Activator>org.apache.karaf.decanter.appender.elasticsearch.Activator</Bundle-Activator>
-                                               <Import-Package>
-                                                       
org.apache.karaf.decanter.api;version=${project.version},
-                                                       
org.slf4j;version="[1.7,2)";resolution:=optional,
-                                                       
org.elasticsearch*;version="[1,2)",
-                                                       *
-                                               </Import-Package>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
+    <build>
+        <plugins>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
@@ -119,7 +79,7 @@
                     </execution>
                 </executions>
             </plugin>
-               </plugins>
-       </build>
+        </plugins>
+    </build>
 
 </project>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/jdbc/bnd.bnd
----------------------------------------------------------------------
diff --git a/appender/jdbc/bnd.bnd b/appender/jdbc/bnd.bnd
new file mode 100644
index 0000000..b0c060b
--- /dev/null
+++ b/appender/jdbc/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.appender.jdbc.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/jdbc/pom.xml
----------------------------------------------------------------------
diff --git a/appender/jdbc/pom.xml b/appender/jdbc/pom.xml
index 8dc1c6b..029d547 100644
--- a/appender/jdbc/pom.xml
+++ b/appender/jdbc/pom.xml
@@ -34,58 +34,15 @@
     <name>Apache Karaf :: Decanter :: Appender :: JDBC</name>
 
     <dependencies>
-
-        <!-- Decanter API -->
-        <dependency>
-            <groupId>org.apache.karaf.decanter</groupId>
-            <artifactId>org.apache.karaf.decanter.api</artifactId>
-        </dependency>
-
-        <!-- JSON builder -->
         <dependency>
             <groupId>javax.json</groupId>
             <artifactId>javax.json-api</artifactId>
         </dependency>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
     </dependencies>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.appender.jdbc.Activator</Bundle-Activator>
-                        <Import-Package>
-                            
org.apache.karaf.decanter.api;version=${project.version},
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/jms/bnd.bnd
----------------------------------------------------------------------
diff --git a/appender/jms/bnd.bnd b/appender/jms/bnd.bnd
new file mode 100644
index 0000000..900897a
--- /dev/null
+++ b/appender/jms/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.appender.jms.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/jms/pom.xml
----------------------------------------------------------------------
diff --git a/appender/jms/pom.xml b/appender/jms/pom.xml
index 09dc897..a32b0bc 100644
--- a/appender/jms/pom.xml
+++ b/appender/jms/pom.xml
@@ -34,52 +34,16 @@
     <name>Apache Karaf :: Decanter :: Appender :: JMS</name>
 
     <dependencies>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-        <!-- JMS -->
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-jms_1.1_spec</artifactId>
             <version>1.1.1</version>
         </dependency>
-
     </dependencies>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.appender.jms.Activator</Bundle-Activator>
-                        <Import-Package>
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/log/bnd.bnd
----------------------------------------------------------------------
diff --git a/appender/log/bnd.bnd b/appender/log/bnd.bnd
new file mode 100644
index 0000000..ffb9f48
--- /dev/null
+++ b/appender/log/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.appender.log.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/appender/log/pom.xml
----------------------------------------------------------------------
diff --git a/appender/log/pom.xml b/appender/log/pom.xml
index 8dafb16..b6bd3a1 100644
--- a/appender/log/pom.xml
+++ b/appender/log/pom.xml
@@ -33,47 +33,4 @@
     <packaging>bundle</packaging>
     <name>Apache Karaf :: Decanter :: Appender :: Log</name>
 
-    <dependencies>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.appender.log.Activator</Bundle-Activator>
-                        <Import-Package>
-                            
org.apache.karaf.decanter.api;version=${project.version},
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/camel-tracer/bnd.bnd
----------------------------------------------------------------------
diff --git a/collector/camel-tracer/bnd.bnd b/collector/camel-tracer/bnd.bnd
new file mode 100644
index 0000000..414c306
--- /dev/null
+++ b/collector/camel-tracer/bnd.bnd
@@ -0,0 +1 @@
+Export-Package: org.apache.karaf.decanter.collector.camel

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/camel-tracer/pom.xml
----------------------------------------------------------------------
diff --git a/collector/camel-tracer/pom.xml b/collector/camel-tracer/pom.xml
index c2d128f..82ce43b 100644
--- a/collector/camel-tracer/pom.xml
+++ b/collector/camel-tracer/pom.xml
@@ -34,44 +34,11 @@
     <name>Apache Karaf :: Decanter :: Collector :: Camel Tracer</name>
 
     <dependencies>
-
-        <!-- Camel -->
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-core</artifactId>
             <version>${camel.version}</version>
         </dependency>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        <Export-Package>
-                            
org.apache.karaf.decanter.collector.camel;version="${project.version}"
-                        </Export-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/file/bnd.bnd
----------------------------------------------------------------------
diff --git a/collector/file/bnd.bnd b/collector/file/bnd.bnd
new file mode 100644
index 0000000..a5be6f1
--- /dev/null
+++ b/collector/file/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.collector.file.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/file/pom.xml
----------------------------------------------------------------------
diff --git a/collector/file/pom.xml b/collector/file/pom.xml
index df730f4..8dd2c35 100644
--- a/collector/file/pom.xml
+++ b/collector/file/pom.xml
@@ -34,52 +34,11 @@
     <name>Apache Karaf :: Decanter :: Collector :: File</name>
 
     <dependencies>
-        <!-- commons-io -->
         <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
             <version>2.4</version>
         </dependency>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- slf4j -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.collector.file.Activator</Bundle-Activator>
-                        <Import-Package>
-                            org.apache.commons.io;version="[2,3)",
-                            org.apache.commons.io.input;version="[2,3)",
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/jmx/bnd.bnd
----------------------------------------------------------------------
diff --git a/collector/jmx/bnd.bnd b/collector/jmx/bnd.bnd
new file mode 100644
index 0000000..a676f20
--- /dev/null
+++ b/collector/jmx/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.collector.jmx.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/jmx/pom.xml
----------------------------------------------------------------------
diff --git a/collector/jmx/pom.xml b/collector/jmx/pom.xml
index 1dc5c9c..50c4ba1 100644
--- a/collector/jmx/pom.xml
+++ b/collector/jmx/pom.xml
@@ -33,58 +33,9 @@
     <packaging>bundle</packaging>
     <name>Apache Karaf :: Decanter :: Collector :: JMX</name>
 
-    <dependencies>
-
-        <!-- Decanter API -->
-        <dependency>
-            <groupId>org.apache.karaf.decanter</groupId>
-            <artifactId>org.apache.karaf.decanter.api</artifactId>
-        </dependency>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.collector.jmx.Activator</Bundle-Activator>
-                        <Import-Package>
-                            
org.apache.karaf.decanter.api;version=${project.version},
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/log/bnd.bnd
----------------------------------------------------------------------
diff --git a/collector/log/bnd.bnd b/collector/log/bnd.bnd
new file mode 100644
index 0000000..2ed9848
--- /dev/null
+++ b/collector/log/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.collector.log.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/log/pom.xml
----------------------------------------------------------------------
diff --git a/collector/log/pom.xml b/collector/log/pom.xml
index 93e6638..0dc65b8 100644
--- a/collector/log/pom.xml
+++ b/collector/log/pom.xml
@@ -34,53 +34,11 @@
     <name>Apache Karaf :: Decanter :: Collector :: Log</name>
 
     <dependencies>
-
-        <!-- Pax Logging -->
         <dependency>
             <groupId>org.ops4j.pax.logging</groupId>
             <artifactId>pax-logging-service</artifactId>
             <version>1.7.3</version>
         </dependency>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.collector.log.Activator</Bundle-Activator>
-                        <Import-Package>
-                            
org.apache.karaf.decanter.api;version=${project.version},
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/system/bnd.bnd
----------------------------------------------------------------------
diff --git a/collector/system/bnd.bnd b/collector/system/bnd.bnd
new file mode 100644
index 0000000..d92f7ae
--- /dev/null
+++ b/collector/system/bnd.bnd
@@ -0,0 +1,3 @@
+Bundle-Activator: org.apache.karaf.decanter.collector.system.Activator
+Private-Package: org.apache.commons.exec*
+

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/collector/system/pom.xml
----------------------------------------------------------------------
diff --git a/collector/system/pom.xml b/collector/system/pom.xml
index a6e16f8..159a2d9 100644
--- a/collector/system/pom.xml
+++ b/collector/system/pom.xml
@@ -34,55 +34,16 @@
     <name>Apache Karaf :: Decanter :: Collector :: System</name>
 
     <dependencies>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-        <!-- commons-exec -->
         <dependency>
             <groupId>org.apache.commons</groupId>
             <artifactId>commons-exec</artifactId>
             <version>1.3</version>
         </dependency>
-
     </dependencies>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.collector.system.Activator</Bundle-Activator>
-                        <Import-Package>
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                        <Private-Package>
-                            org.apache.commons.exec*
-                        </Private-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/elasticsearch-head/bnd.bnd
----------------------------------------------------------------------
diff --git a/elasticsearch-head/bnd.bnd b/elasticsearch-head/bnd.bnd
new file mode 100644
index 0000000..44a7e3e
--- /dev/null
+++ b/elasticsearch-head/bnd.bnd
@@ -0,0 +1 @@
+Web-ContextPath:/elasticsearch-head

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/elasticsearch-head/pom.xml
----------------------------------------------------------------------
diff --git a/elasticsearch-head/pom.xml b/elasticsearch-head/pom.xml
index 9f6084c..c5c4ee5 100644
--- a/elasticsearch-head/pom.xml
+++ b/elasticsearch-head/pom.xml
@@ -33,25 +33,4 @@
     <packaging>bundle</packaging>
     <name>Apache Karaf :: Decanter :: ElasticSearch Head</name>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        <Web-ContextPath>/elasticsearch-head</Web-ContextPath>
-                        <Import-Package>
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/elasticsearch/bnd.bnd
----------------------------------------------------------------------
diff --git a/elasticsearch/bnd.bnd b/elasticsearch/bnd.bnd
new file mode 100644
index 0000000..b70c93e
--- /dev/null
+++ b/elasticsearch/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.elasticsearch.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/elasticsearch/pom.xml
----------------------------------------------------------------------
diff --git a/elasticsearch/pom.xml b/elasticsearch/pom.xml
index 396f281..87fe6f4 100644
--- a/elasticsearch/pom.xml
+++ b/elasticsearch/pom.xml
@@ -34,65 +34,16 @@
     <name>Apache Karaf :: Decanter :: Elasticsearch</name>
 
     <dependencies>
-
-        <!-- Elasticsearch -->
         <dependency>
             <groupId>org.elasticsearch</groupId>
             <artifactId>elasticsearch</artifactId>
             <version>${elasticsearch.version}</version>
         </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-simple</artifactId>
-            <version>1.7.7</version>
-            <scope>test</scope>
-        </dependency>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.elasticsearch.Activator</Bundle-Activator>
-                        <Import-Package>
-                            org.elasticsearch*;version="[1,2)",
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/kibana/bnd.bnd
----------------------------------------------------------------------
diff --git a/kibana/bnd.bnd b/kibana/bnd.bnd
new file mode 100644
index 0000000..8176765
--- /dev/null
+++ b/kibana/bnd.bnd
@@ -0,0 +1 @@
+Web-ContextPath:/kibana

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/kibana/pom.xml
----------------------------------------------------------------------
diff --git a/kibana/pom.xml b/kibana/pom.xml
index 69e3e74..033ee89 100644
--- a/kibana/pom.xml
+++ b/kibana/pom.xml
@@ -33,25 +33,4 @@
     <packaging>bundle</packaging>
     <name>Apache Karaf :: Decanter :: Kibana</name>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        <Web-ContextPath>/kibana</Web-ContextPath>
-                        <Import-Package>
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index fc2d24b..a5cbea5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -194,6 +194,18 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <inherited>true</inherited>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <_include>bnd.bnd</_include>
+                    </instructions>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 
@@ -224,6 +236,7 @@
                 <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-api</artifactId>
                 <version>${slf4j.version}</version>
+                <scope>compile</scope>
             </dependency>
             <dependency>
                 <groupId>org.slf4j</groupId>
@@ -245,6 +258,35 @@
             </dependency>
         </dependencies>
     </dependencyManagement>
+    
+    <dependencies>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.compendium</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+        </dependency>
+        
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-simple</artifactId>
+            <version>1.7.7</version>
+            <scope>test</scope>
+        </dependency>
+        
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
 
     <profiles>
         <profile>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/scheduler/simple/bnd.bnd
----------------------------------------------------------------------
diff --git a/scheduler/simple/bnd.bnd b/scheduler/simple/bnd.bnd
new file mode 100644
index 0000000..bb852db
--- /dev/null
+++ b/scheduler/simple/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.scheduler.simple.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/scheduler/simple/pom.xml
----------------------------------------------------------------------
diff --git a/scheduler/simple/pom.xml b/scheduler/simple/pom.xml
index cd9301b..92f95b0 100644
--- a/scheduler/simple/pom.xml
+++ b/scheduler/simple/pom.xml
@@ -38,56 +38,11 @@
             <groupId>org.apache.karaf.decanter</groupId>
             <artifactId>org.apache.karaf.decanter.api</artifactId>
         </dependency>
-
-        <!-- slf4j -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-        <!-- osgi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- test -->
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-simple</artifactId>
-        </dependency>
     </dependencies>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <inherited>true</inherited>
-                <configuration>
-                    <instructions>
-                        <Bundle-Name>${project.name}</Bundle-Name>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        
<Bundle-Activator>org.apache.karaf.decanter.scheduler.simple.Activator</Bundle-Activator>
-                        <Import-Package>
-                            
org.apache.karaf.decanter.api;version=${project.version},
-                            org.slf4j*;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/sla/camel/bnd.bnd
----------------------------------------------------------------------
diff --git a/sla/camel/bnd.bnd b/sla/camel/bnd.bnd
new file mode 100644
index 0000000..2bbef6c
--- /dev/null
+++ b/sla/camel/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.sla.camel.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/sla/camel/pom.xml
----------------------------------------------------------------------
diff --git a/sla/camel/pom.xml b/sla/camel/pom.xml
index c1903fd..07da495 100644
--- a/sla/camel/pom.xml
+++ b/sla/camel/pom.xml
@@ -34,52 +34,16 @@
     <name>Apache Karaf :: Decanter :: SLA :: Camel</name>
 
     <dependencies>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- Camel -->
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-core</artifactId>
             <version>${camel.version}</version>
         </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
     </dependencies>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.sla.camel.Activator</Bundle-Activator>
-                        <Import-Package>
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/sla/checker/bnd.bnd
----------------------------------------------------------------------
diff --git a/sla/checker/bnd.bnd b/sla/checker/bnd.bnd
new file mode 100644
index 0000000..cb22d87
--- /dev/null
+++ b/sla/checker/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.sla.checker.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/sla/checker/pom.xml
----------------------------------------------------------------------
diff --git a/sla/checker/pom.xml b/sla/checker/pom.xml
index 54edb50..73cd6ba 100644
--- a/sla/checker/pom.xml
+++ b/sla/checker/pom.xml
@@ -33,46 +33,9 @@
     <packaging>bundle</packaging>
     <name>Apache Karaf :: Decanter :: SLA :: Checker</name>
 
-    <dependencies>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-    </dependencies>
-
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.sla.checker.Activator</Bundle-Activator>
-                        <Import-Package>
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/sla/email/bnd.bnd
----------------------------------------------------------------------
diff --git a/sla/email/bnd.bnd b/sla/email/bnd.bnd
new file mode 100644
index 0000000..e59ec52
--- /dev/null
+++ b/sla/email/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.sla.email.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/sla/email/pom.xml
----------------------------------------------------------------------
diff --git a/sla/email/pom.xml b/sla/email/pom.xml
index c801c8e..c7d6da0 100644
--- a/sla/email/pom.xml
+++ b/sla/email/pom.xml
@@ -34,52 +34,16 @@
     <name>Apache Karaf :: Decanter :: SLA :: e-mail</name>
 
     <dependencies>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-        <!-- JavaMail -->
         <dependency>
             <groupId>javax.mail</groupId>
             <artifactId>mail</artifactId>
             <version>1.4.7</version>
         </dependency>
-
     </dependencies>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.sla.email.Activator</Bundle-Activator>
-                        <Import-Package>
-                            org.slf4j;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
                 <executions>

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/sla/log/bnd.bnd
----------------------------------------------------------------------
diff --git a/sla/log/bnd.bnd b/sla/log/bnd.bnd
new file mode 100644
index 0000000..ebfc29e
--- /dev/null
+++ b/sla/log/bnd.bnd
@@ -0,0 +1 @@
+Bundle-Activator: org.apache.karaf.decanter.sla.log.Activator

http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/dabeeecd/sla/log/pom.xml
----------------------------------------------------------------------
diff --git a/sla/log/pom.xml b/sla/log/pom.xml
index 6d9aa2e..44e69ec 100644
--- a/sla/log/pom.xml
+++ b/sla/log/pom.xml
@@ -33,46 +33,4 @@
     <packaging>bundle</packaging>
     <name>Apache Karaf :: Decanter :: SLA :: Log</name>
 
-    <dependencies>
-
-        <!-- OSGi -->
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-        </dependency>
-
-        <!-- SLF4J -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <inherited>true</inherited>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Version>${project.version}</Bundle-Version>
-                        
<Bundle-Activator>org.apache.karaf.decanter.sla.log.Activator</Bundle-Activator>
-                        <Import-Package>
-                            org.slf4j*;version="[1.7,2)";resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
\ No newline at end of file

Reply via email to