[karaf] fix NOTICE files (first pass)

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@816773 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/webconsole/admin/NOTICE b/karaf/webconsole/admin/NOTICE
new file mode 100644
index 0000000..2f69501
--- /dev/null
+++ b/karaf/webconsole/admin/NOTICE
@@ -0,0 +1,21 @@
+Apache Felix Karaf

+Copyright 2009 The Apache Software Foundation

+

+

+I. Included Software

+

+This product includes software developed at

+The Apache Software Foundation (http://www.apache.org/).

+Licensed under the Apache License 2.0.

+

+

+II. Used Software

+

+This product uses software developed at

+The OSGi Alliance (http://www.osgi.org/).

+Copyright (c) OSGi Alliance (2000, 2009).

+Licensed under the Apache License 2.0.

+

+

+III. License Summary

+- Apache License 2.0

diff --git a/karaf/webconsole/admin/pom.xml b/karaf/webconsole/admin/pom.xml
index 2633291..2eeced8 100644
--- a/karaf/webconsole/admin/pom.xml
+++ b/karaf/webconsole/admin/pom.xml
@@ -33,6 +33,10 @@
     <version>0.9.0-SNAPSHOT</version>
     <name>Apache Felix Karaf :: Web Console :: Admin Plugin</name>
   
+    <properties>
+        <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
+    </properties>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.felix</groupId>
@@ -82,7 +86,8 @@
         <configuration>
           <instructions>
             <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-            <Export-Package>org.apache.felix.karaf.webconsole.admin;version=${pom.version}</Export-Package>
+            <Import-Package>!${pom.artifactId}*,*</Import-Package>
+            <Export-Package>${pom.artifactId}*;version=${pom.version}</Export-Package>
             <Embed-Dependency>
                <!-- Required for JSON data transfer -->
                <!-- TODO: this needs to be put in a common place for reuse. -->
diff --git a/karaf/webconsole/branding/NOTICE b/karaf/webconsole/branding/NOTICE
new file mode 100644
index 0000000..2f69501
--- /dev/null
+++ b/karaf/webconsole/branding/NOTICE
@@ -0,0 +1,21 @@
+Apache Felix Karaf

+Copyright 2009 The Apache Software Foundation

+

+

+I. Included Software

+

+This product includes software developed at

+The Apache Software Foundation (http://www.apache.org/).

+Licensed under the Apache License 2.0.

+

+

+II. Used Software

+

+This product uses software developed at

+The OSGi Alliance (http://www.osgi.org/).

+Copyright (c) OSGi Alliance (2000, 2009).

+Licensed under the Apache License 2.0.

+

+

+III. License Summary

+- Apache License 2.0

diff --git a/karaf/webconsole/branding/pom.xml b/karaf/webconsole/branding/pom.xml
index 3c1348b..7cac768 100644
--- a/karaf/webconsole/branding/pom.xml
+++ b/karaf/webconsole/branding/pom.xml
@@ -38,6 +38,9 @@
         through the /META-INF/webconsole.properties.

     </description>

 

+    <properties>

+        <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>

+    </properties>

 

     <build>

         <plugins>

diff --git a/karaf/webconsole/features/NOTICE b/karaf/webconsole/features/NOTICE
new file mode 100644
index 0000000..2f69501
--- /dev/null
+++ b/karaf/webconsole/features/NOTICE
@@ -0,0 +1,21 @@
+Apache Felix Karaf

+Copyright 2009 The Apache Software Foundation

+

+

+I. Included Software

+

+This product includes software developed at

+The Apache Software Foundation (http://www.apache.org/).

+Licensed under the Apache License 2.0.

+

+

+II. Used Software

+

+This product uses software developed at

+The OSGi Alliance (http://www.osgi.org/).

+Copyright (c) OSGi Alliance (2000, 2009).

+Licensed under the Apache License 2.0.

+

+

+III. License Summary

+- Apache License 2.0

diff --git a/karaf/webconsole/features/pom.xml b/karaf/webconsole/features/pom.xml
index a38aae4..c0cfc78 100644
--- a/karaf/webconsole/features/pom.xml
+++ b/karaf/webconsole/features/pom.xml
@@ -34,6 +34,10 @@
   <version>0.9.0-SNAPSHOT</version>
   <name>Apache Felix Karaf :: Web Console :: Features Plugin</name>
   
+  <properties>
+      <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.felix</groupId>
@@ -86,7 +90,8 @@
         <configuration>
           <instructions>
             <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-            <Export-Package>org.apache.felix.karaf.webconsole.features;version=${pom.version}</Export-Package>
+            <Import-Package>!${pom.artifactId}*,*</Import-Package>
+            <Export-Package>${pom.artifactId}*;version=${pom.version}</Export-Package>
             <Embed-Dependency>
                <!-- Required for JSON data transfer -->
                <!-- TODO: this needs to be put in a common place for reuse. -->
diff --git a/karaf/webconsole/gogo/NOTICE b/karaf/webconsole/gogo/NOTICE
new file mode 100644
index 0000000..547bae5
--- /dev/null
+++ b/karaf/webconsole/gogo/NOTICE
@@ -0,0 +1,25 @@
+Apache Felix Karaf

+Copyright 2009 The Apache Software Foundation

+

+

+I. Included Software

+

+This product includes software developed at

+The Apache Software Foundation (http://www.apache.org/).

+Licensed under the Apache License 2.0.

+

+This product includes software written by

+Antony Lesuisse.

+Licensed under Public Domain.

+

+

+II. Used Software

+

+This product uses software developed at

+The OSGi Alliance (http://www.osgi.org/).

+Copyright (c) OSGi Alliance (2000, 2009).

+Licensed under the Apache License 2.0.

+

+

+III. License Summary

+- Apache License 2.0

diff --git a/karaf/webconsole/gogo/pom.xml b/karaf/webconsole/gogo/pom.xml
index 35c8059..b201151 100644
--- a/karaf/webconsole/gogo/pom.xml
+++ b/karaf/webconsole/gogo/pom.xml
@@ -34,6 +34,10 @@
   <version>0.9.0-SNAPSHOT</version>
   <name>Apache Felix Karaf :: Web Console :: Gogo Plugin</name>
   
+  <properties>
+      <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.felix</groupId>
@@ -86,7 +90,8 @@
         <configuration>
           <instructions>
             <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-            <Export-Package>org.apache.felix.karaf.webconsole.gogo;version=${pom.version}</Export-Package>
+            <Import-Package>!${pom.artifactId}*,*</Import-Package>
+            <Export-Package>${pom.artifactId}*;version=${pom.version}</Export-Package>
             <Embed-Dependency>
                <!-- Required for JSON data transfer -->
                <!-- TODO: this needs to be put in a common place for reuse. -->