More updates to the poms and licenses.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1097847 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/compat/pom.xml b/dependencymanager/compat/pom.xml
index b00d739..549d81c 100644
--- a/dependencymanager/compat/pom.xml
+++ b/dependencymanager/compat/pom.xml
@@ -46,6 +46,17 @@
</dependency>
</dependencies>
<build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ <include>DEPENDENCIES*</include>
+ </includes>
+ </resource>
+ </resources>
<pluginManagement>
<plugins>
<plugin>
@@ -69,7 +80,6 @@
<Export-Package>org.apache.felix.dependencymanager"</Export-Package>
<Import-Package>!org.apache.felix.dependencymanager,org.apache.felix.dm;version="[3,4)",*</Import-Package>
<Private-Package>org.apache.felix.dependencymanager.impl</Private-Package>
- <Include-Resource>{maven-resources}, META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource>
</instructions>
</configuration>
</plugin>
diff --git a/dependencymanager/core/NOTICE b/dependencymanager/core/NOTICE
index 754b974..fd71564 100644
--- a/dependencymanager/core/NOTICE
+++ b/dependencymanager/core/NOTICE
@@ -5,3 +5,8 @@
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 developed at
+The OSGi Alliance (http://www.osgi.org/).
+Copyright (c) OSGi Alliance (2000, 2009).
+Licensed under the Apache License 2.0.
diff --git a/dependencymanager/core/pom.xml b/dependencymanager/core/pom.xml
index 4046155..70924fe 100644
--- a/dependencymanager/core/pom.xml
+++ b/dependencymanager/core/pom.xml
@@ -45,6 +45,17 @@
</dependency>
</dependencies>
<build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ <include>DEPENDENCIES*</include>
+ </includes>
+ </resource>
+ </resources>
<pluginManagement>
<plugins>
<plugin>
@@ -76,7 +87,6 @@
<Export-Package>org.apache.felix.dm;version="3.0.0";provide:=true,org.apache.felix.dm.tracker;version="3.0.0";provide:=true</Export-Package>
<Import-Package>*</Import-Package>
<Private-Package>org.apache.felix.dm.impl, org.apache.felix.dm.impl.*</Private-Package>
- <Include-Resource>{maven-resources}, META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource>
<!-- Uncomment this next line to include source code in the bundle.
<Include-Resource>src/main/java</Include-Resource>
-->
diff --git a/dependencymanager/runtime/LICENSE.json b/dependencymanager/runtime/LICENSE.json
new file mode 100644
index 0000000..68d19c8
--- /dev/null
+++ b/dependencymanager/runtime/LICENSE.json
@@ -0,0 +1,21 @@
+Copyright (c) 2002 JSON.org
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+The Software shall be used for Good, not Evil.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
\ No newline at end of file
diff --git a/dependencymanager/runtime/pom.xml b/dependencymanager/runtime/pom.xml
index b7213cf..15e6230 100644
--- a/dependencymanager/runtime/pom.xml
+++ b/dependencymanager/runtime/pom.xml
@@ -53,6 +53,17 @@
</dependency>
</dependencies>
<build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ <include>DEPENDENCIES*</include>
+ </includes>
+ </resource>
+ </resources>
<pluginManagement>
<plugins>
<plugin>
@@ -86,7 +97,6 @@
<Export-Package/>
<Embed-Dependency>json</Embed-Dependency>
<Bundle-Activator>org.apache.felix.dm.runtime.Activator</Bundle-Activator>
- <Include-Resource>{maven-resources}, META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource>
</instructions>
</configuration>
</plugin>
diff --git a/dependencymanager/shell/pom.xml b/dependencymanager/shell/pom.xml
index 099dbba..d182ad6 100644
--- a/dependencymanager/shell/pom.xml
+++ b/dependencymanager/shell/pom.xml
@@ -66,6 +66,17 @@
</dependency>
</dependencies>
<build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ <include>DEPENDENCIES*</include>
+ </includes>
+ </resource>
+ </resources>
<pluginManagement>
<plugins>
<plugin>
@@ -97,7 +108,6 @@
<Export-Package/>
<Private-Package>org.apache.felix.dm.shell</Private-Package>
<Import-Package>org.apache.felix.shell;resolution:=optional, org.eclipse.osgi.framework.console;resolution:=optional, org.apache.felix.service.command;resolution:=optional, *</Import-Package>
- <Include-Resource>{maven-resources}, META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource>
</instructions>
</configuration>
</plugin>